/**
 * Studio Hub — settings (split from studio-hub.css).
 * @package YOOAdmin_Studio_Hub
 */

/* --------------------------------------------------------------------------
 * YOOAdmin Settings — effective dark (Studio Hub color mode, not OS query).
 * Zebra rows, native + custom selects, tooltips, login layout cards, PRO CTA.
 * -------------------------------------------------------------------------- */
html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap {
  --yp-text: var(--ysh-text, #cfd6e0);
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-notifications-col .form-table tbody tr:nth-child(even),
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  .yp-notifications-col
  .form-table
  tbody
  tr:nth-child(even),
html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-settings-card .form-table tbody tr:nth-child(even),
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  .yp-settings-card
  .form-table
  tbody
  tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.04) !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-notifications-col .form-table tbody tr:hover,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  .yp-notifications-col
  .form-table
  tbody
  tr:hover,
html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-settings-card .form-table tbody tr:hover,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  .yp-settings-card
  .form-table
  tbody
  tr:hover {
  background: rgba(255, 255, 255, 0.08) !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .form-table th .yp-help-icon,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  .form-table
  th
  .yp-help-icon,
html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-help-icon,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  .yp-help-icon {
  background: rgba(255, 255, 255, 0.1) !important;
  color: var(--ysh-muted, #9aa5b1) !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .form-table th .yp-help-icon:hover,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  .form-table
  th
  .yp-help-icon:hover,
html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-help-icon:hover,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  .yp-help-icon:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  color: var(--yooadmin-primary, var(--ysh-brand, #eda934)) !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .form-table th .yp-tooltip,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  .form-table
  th
  .yp-tooltip,
html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-tooltip,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  .yp-tooltip {
  background: var(--ysh-card, #1a1d23) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: var(--ysh-text, #cfd6e0) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55) !important;
  font-size: 10.5px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  padding: 8px 11px !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .form-table th .yp-tooltip::after,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  .form-table
  th
  .yp-tooltip::after,
html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-tooltip::after,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  .yp-tooltip::after {
  border-top-color: var(--ysh-card, #1a1d23) !important;
  filter: none !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-tab-intro__beta,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  .yp-tab-intro__beta {
  color: var(--ysh-brand-soft-text, #edd2a0) !important;
  background: var(--ysh-brand-soft-bg, rgba(233, 168, 57, 0.12)) !important;
  border-color: var(--ysh-brand-soft-border, rgba(233, 168, 57, 0.32)) !important;
}

/* Muted body copy on settings (match dashboard hierarchy; beats third-party admin theme !important on p / .description). */
html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-tab-intro__text,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  .yp-tab-intro__text,
html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-tab-intro-icon,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  .yp-tab-intro-icon,
html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-help,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  .yp-help,
html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap p.description,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  p.description,
html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap span.description,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  span.description {
  color: var(--yp-set-text-muted, var(--ysh-muted, #9aa5b1)) !important;
}

/* Unlock with PRO — dark: yooadmin-yoo-buttons */

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .form-table select:not([multiple]):not(.yp-custom-select__native),
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  .form-table
  select:not([multiple]):not(.yp-custom-select__native),
html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-tab-panel select:not([multiple]):not(.yp-custom-select__native),
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  .yp-tab-panel
  select:not([multiple]):not(.yp-custom-select__native),
html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .form-table select:not([multiple]):not(.yp-custom-select__native):focus,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  .form-table
  select:not([multiple]):not(.yp-custom-select__native):focus,
html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-tab-panel select:not([multiple]):not(.yp-custom-select__native):focus,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  .yp-tab-panel
  select:not([multiple]):not(.yp-custom-select__native):focus {
  color-scheme: dark !important;
  background-color: #22262e !important;
  color: var(--ysh-text, #cfd6e0) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239aa5b1' d='M1.41 0 6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 12px 8px !important;
}

/* Settings dark: labels, cells, native <option> — dashboard body tone (not #fff from admin themes). */
html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .form-table td,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .form-table td,
html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-tab-panel .form-table td,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-tab-panel .form-table td,
html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-settings-card .form-table td,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-settings-card .form-table td {
  color: var(--ysh-text, #cfd6e0) !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .form-table th,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .form-table th,
html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-tab-panel .form-table th,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-tab-panel .form-table th,
html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-settings-card .form-table th,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-settings-card .form-table th {
  color: var(--ysh-heading, #d8d3ce) !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .form-table select option,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .form-table select option,
html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-tab-panel select option,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-tab-panel select option {
  color: var(--ysh-text, #cfd6e0) !important;
  background-color: #22262e !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .form-table td fieldset label,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .form-table td fieldset label {
  color: var(--ysh-text, #cfd6e0) !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap #tab-login .yp-select-wrap--login-side select.yp-select,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  #tab-login
  .yp-select-wrap--login-side
  select.yp-select,
html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap #tab-login .yp-select-wrap--login-side select.yp-select:focus,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  #tab-login
  .yp-select-wrap--login-side
  select.yp-select:focus {
  color-scheme: dark !important;
  background: #22262e !important;
  background-color: #22262e !important;
  color: var(--ysh-text, #cfd6e0) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  box-shadow: none !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap #tab-login .yooadmin-login-fs-pos__field label,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  #tab-login
  .yooadmin-login-fs-pos__field
  label {
  color: var(--ysh-muted, #9aa5b1) !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-ui-select,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  .yp-ui-select {
  --yp-ads-border: rgba(255, 255, 255, 0.14);
  --yp-ads-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-ui-select .yp-custom-select__trigger,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  .yp-ui-select
  .yp-custom-select__trigger {
  color: var(--ysh-text, #cfd6e0) !important;
  background: #22262e !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  box-shadow: none !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-ui-select .yp-custom-select__chevron,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  .yp-ui-select
  .yp-custom-select__chevron {
  color: var(--ysh-muted, #9aa5b1) !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-ui-select .yp-custom-select__drop,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  .yp-ui-select
  .yp-custom-select__drop {
  background: var(--ysh-card, #1a1d23) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-ui-select .yp-custom-select__option-main,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  .yp-ui-select
  .yp-custom-select__option-main {
  color: var(--ysh-text, #cfd6e0) !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-ui-select .yp-custom-select__option:hover .yp-custom-select__option-row,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  .yp-ui-select
  .yp-custom-select__option:hover
  .yp-custom-select__option-row,
html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-ui-select .yp-custom-select__option:focus .yp-custom-select__option-row,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  .yp-ui-select
  .yp-custom-select__option:focus
  .yp-custom-select__option-row {
  background: rgba(255, 255, 255, 0.08) !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-ui-select .yp-custom-select__option.is-selected .yp-custom-select__option-row,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  .yp-ui-select
  .yp-custom-select__option.is-selected
  .yp-custom-select__option-row {
  background: color-mix(in srgb, var(--yooadmin-primary, var(--ysh-brand, #eda934)) 18%, rgba(255, 255, 255, 0.06)) !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-ui-select .yp-custom-select__drop:has(.yp-custom-select__option:hover) .yp-custom-select__option.is-selected:not(:hover) .yp-custom-select__option-row,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  .yp-ui-select
  .yp-custom-select__drop:has(.yp-custom-select__option:hover)
  .yp-custom-select__option.is-selected:not(:hover)
  .yp-custom-select__option-row,
html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-ui-select .yp-custom-select__drop:has(.yp-custom-select__option:focus) .yp-custom-select__option.is-selected:not(:focus) .yp-custom-select__option-row,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  .yp-ui-select
  .yp-custom-select__drop:has(.yp-custom-select__option:focus)
  .yp-custom-select__option.is-selected:not(:focus)
  .yp-custom-select__option-row {
  background: transparent !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-ui-select .yp-custom-select__option-badge,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  .yp-ui-select
  .yp-custom-select__option-badge {
  color: var(--ysh-brand-soft-text, #edd2a0) !important;
  background: var(--ysh-brand-soft-bg-strong, rgba(233, 168, 57, 0.15)) !important;
  border-color: var(--ysh-brand-soft-border, rgba(233, 168, 57, 0.32)) !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap #tab-login .yooadmin-login-layout-choice__card,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  #tab-login
  .yooadmin-login-layout-choice__card {
  background: #22262e !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap #tab-login .yooadmin-login-layout-choice__thumb,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  #tab-login
  .yooadmin-login-layout-choice__thumb {
  background: rgba(255, 255, 255, 0.06) !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap #tab-login .yooadmin-login-layout-choice__label,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  #tab-login
  .yooadmin-login-layout-choice__label {
  color: var(--ysh-text, #cfd6e0) !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap fieldset label input[type="radio"],
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  fieldset
  label
  input[type="radio"] {
  background: #2a2f38 !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-stat-value,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  .yp-stat-value {
  background: rgba(255, 255, 255, 0.06) !important;
  color: var(--ysh-text, #cfd6e0) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-stat-total,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  .yp-stat-total,
html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-stat-memory,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  .yp-stat-memory {
  background: rgba(255, 255, 255, 0.06) !important;
  color: var(--ysh-muted, #9aa5b1) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-stat-unread-zero,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  .yp-stat-unread-zero,
html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-stat-cache-good,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  .yp-stat-cache-good,
html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-stat-memory-low,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  .yp-stat-memory-low {
  background: rgba(34, 197, 94, 0.12) !important;
  color: #86efac !important;
  border-color: rgba(34, 197, 94, 0.35) !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-stat-cache-medium,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  .yp-stat-cache-medium,
html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-stat-memory-medium,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  .yp-stat-memory-medium {
  background: rgba(234, 179, 8, 0.12) !important;
  color: #fcd34d !important;
  border-color: rgba(234, 179, 8, 0.35) !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-stat-unread-active,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  .yp-stat-unread-active,
html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-stat-cache-low,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  .yp-stat-cache-low,
html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-stat-memory-high,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  .yp-stat-memory-high {
  background: rgba(248, 113, 113, 0.12) !important;
  color: #fca5a5 !important;
  border-color: rgba(248, 113, 113, 0.4) !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap input[type="text"]:not(.ylp-input),
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  input[type="text"]:not(.ylp-input),
html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap input[type="search"]:not(.ylp-input),
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  input[type="search"]:not(.ylp-input),
html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap input[type="url"]:not(.ylp-input),
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  input[type="url"]:not(.ylp-input),
html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap input[type="email"]:not(.ylp-input),
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  input[type="email"]:not(.ylp-input),
html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap input[type="number"]:not(.ylp-input),
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  input[type="number"]:not(.ylp-input),
html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap input[type="password"]:not(.ylp-input),
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  input[type="password"]:not(.ylp-input),
html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap textarea,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  textarea {
  color-scheme: dark !important;
  background: #22262e !important;
  color: var(--ysh-text, #cfd6e0) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
}

/* Login tab preview: light inputs only when login appearance is light (do not override login dark preview). */
html[data-yooadmin-studio-color-mode-effective="dark"]:not([data-yoo-login-color-mode-effective="dark"])
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  #tab-login
  .yooadmin-login-preview--core
  .ylp-input,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]:not([data-yoo-login-color-mode-effective="dark"])
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  #tab-login
  .yooadmin-login-preview--core
  .ylp-input {
  color-scheme: light !important;
  background: #f8fafc !important;
  color: #0f172a !important;
  border-color: #e2e8f0 !important;
  box-shadow: none !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"]:not([data-yoo-login-color-mode-effective="dark"])
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  #tab-login
  .yooadmin-login-preview--core
  .ylp-check,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]:not([data-yoo-login-color-mode-effective="dark"])
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  #tab-login
  .yooadmin-login-preview--core
  .ylp-check {
  color: #475569 !important;
}

/* Login tab: glass modal when custom login is off — dark card + readable text (panel was hardcoded #fff). */
html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap #tab-login .yooadmin-login-glass-overlay,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap #tab-login .yooadmin-login-glass-overlay {
  background: rgba(0, 0, 0, 0.5) !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap #tab-login .yooadmin-login-glass-overlay__panel,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap #tab-login .yooadmin-login-glass-overlay__panel {
  background: var(--ysh-card, #1a1d23) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45) !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap #tab-login .yooadmin-login-glass-overlay__title,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap #tab-login .yooadmin-login-glass-overlay__title {
  color: var(--ysh-heading, #d8d3ce) !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap #tab-login .yooadmin-login-glass-overlay__hint,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap #tab-login .yooadmin-login-glass-overlay__hint {
  color: var(--ysh-muted, #9aa5b1) !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap #tab-login .yooadmin-login-glass-overlay__switch-text,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap #tab-login .yooadmin-login-glass-overlay__switch-text {
  color: var(--ysh-text, #cfd6e0) !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap #tab-login .yooadmin-login-glass-overlay__row,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap #tab-login .yooadmin-login-glass-overlay__row {
  border-top-color: rgba(255, 255, 255, 0.1) !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap #tab-login .yooadmin-login-glass-overlay__icon,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap #tab-login .yooadmin-login-glass-overlay__icon {
  background: color-mix(in srgb, var(--ysh-brand, #eda934) 24%, rgba(255, 255, 255, 0.08) 76%) !important;
  color: var(--ysh-brand, #eda934) !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap #tab-login .yooadmin-login-glass-overlay__panel .yp-toggle-slider,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap #tab-login .yooadmin-login-glass-overlay__panel .yp-toggle-slider {
  background: rgba(255, 255, 255, 0.18) !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap #tab-login .yooadmin-login-glass-overlay__panel .yp-toggle-slider:before,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap #tab-login .yooadmin-login-glass-overlay__panel .yp-toggle-slider:before {
  background: #f1f5f9 !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap #tab-login .yooadmin-login-glass-overlay__panel .yp-toggle-switch input:checked + .yp-toggle-slider,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap #tab-login .yooadmin-login-glass-overlay__panel .yp-toggle-switch input:checked + .yp-toggle-slider {
  background: var(--ysh-brand, #eda934) !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap #tab-login .yooadmin-login-lite-on-card__text,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap #tab-login .yooadmin-login-lite-on-card__text {
  color: var(--ysh-muted, #9aa5b1) !important;
}

/* Settings secondary buttons — dark: yooadmin-yoo-buttons (yp-yoo-btn--soft) */
html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-yoo-btn--soft,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-yoo-btn--soft {
  color: var(--yp-yoo-btn-primary, var(--ysh-brand, #eda934)) !important;
  background: var(--yp-yoo-btn-soft-bg, rgba(255, 255, 255, 0.06)) !important;
  border: 0 !important;
  box-shadow:
    var(--yp-yoo-btn-depth, 0 1px 3px rgba(0, 0, 0, 0.28)),
    inset 0 0 0 1px var(--yp-yoo-btn-soft-ring, color-mix(in srgb, var(--ysh-brand, #eda934) 35%, rgba(255, 255, 255, 0.12))) !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-yoo-btn--soft:hover,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-yoo-btn--soft:hover {
  color: var(--yp-yoo-btn-primary, var(--ysh-brand, #eda934)) !important;
  background: var(--yp-yoo-btn-soft-bg-hover, rgba(255, 255, 255, 0.1)) !important;
  box-shadow:
    var(--yp-yoo-btn-depth-hover, 0 2px 8px rgba(0, 0, 0, 0.34)),
    inset 0 0 0 1px color-mix(in srgb, var(--ysh-brand, #eda934) 32%, transparent) !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-range > span,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  .yp-range
  > span,
html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap .yp-range--modern .yp-range__value,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  .yp-range--modern
  .yp-range__value {
  color: var(--ysh-text, #cfd6e0) !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yooadmin-settings-wrap #tab-brand .yp-range--modern .yp-range__track-wrap,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yooadmin-settings-wrap
  #tab-brand
  .yp-range--modern
  .yp-range__track-wrap {
  --yp-range-track-bg: #3a424d;
  background: transparent !important;
  box-shadow:
    inset 0 2px 6px rgba(0, 0, 0, 0.55),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05) !important;
}

html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-breadcrumbs-bar .yp-breadcrumbs,
html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-breadcrumbs-bar .yp-breadcrumbs a,
html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-breadcrumbs-bar .yp-bc-current,
html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-breadcrumbs-bar .yp-bc-link {
  color: var(
    --ysh-breadcrumb-fg,
    var(--yooadmin-breadcrumbs-fg, var(--yooadmin-text-600, #5d5d5d))
  ) !important;
}

html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-breadcrumbs-bar .yp-toolbar-item .yp-toolbar-trigger,
html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-breadcrumbs-bar .yp-toolbar-icon,
html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-breadcrumbs-bar .yp-toolbar-icon .dashicons,
html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-breadcrumbs-bar .yp-toolbar-icon .ab-icon,
html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-breadcrumbs-bar .yp-command-palette-trigger,
html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-breadcrumbs-bar .yp-command-palette-trigger .yp-command-palette-trigger__icon,
html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-breadcrumbs-bar .yp-command-palette-trigger .yp-command-palette-trigger__kbd,
html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-breadcrumbs-bar .yp-command-palette-trigger .dashicons {
  color: var(--yooadmin-primary, var(--ysh-brand, #eda934)) !important;
  -webkit-text-fill-color: var(--yooadmin-primary, var(--ysh-brand, #eda934)) !important;
}

html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-breadcrumbs-bar .yooadmin-maintenance-pill.is-off,
html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-breadcrumbs-bar .yooadmin-maintenance-pill.is-off :is(
  .yooadmin-maintenance-pill__settings-link,
  .yooadmin-maintenance-pill__icon,
  .yooadmin-maintenance-pill__label,
  .yooadmin-maintenance-pill__toggle-btn
) {
  color: var(--yooadmin-primary, var(--ysh-brand, #eda934)) !important;
  -webkit-text-fill-color: var(--yooadmin-primary, var(--ysh-brand, #eda934)) !important;
}

html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-breadcrumbs-bar .yp-toolbar-badge,
html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-breadcrumbs-bar .yp-toolbar-item .yp-toolbar-trigger .yp-toolbar-badge,
html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-breadcrumbs-bar .yp-toolbar-item[data-toolbar-id="wpseo-menu"] .yp-toolbar-badge {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: var(--yooadmin-primary, var(--ysh-brand, #eda934)) !important;
  background-color: var(--yooadmin-primary, var(--ysh-brand, #eda934)) !important;
}

html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-breadcrumbs-bar .yp-toolbar-item .yp-toolbar-trigger:hover,
html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-breadcrumbs-bar .yp-toolbar-item .yp-toolbar-trigger:focus,
html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-breadcrumbs-bar .yp-command-palette-trigger:hover,
html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-breadcrumbs-bar .yp-command-palette-trigger:focus {
  color: var(--yooadmin-primary, var(--ysh-brand, #eda934)) !important;
  -webkit-text-fill-color: var(--yooadmin-primary, var(--ysh-brand, #eda934)) !important;
  background: color-mix(in srgb, var(--yooadmin-primary, var(--ysh-brand, #eda934)) 14%, transparent) !important;
}

html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-breadcrumbs-bar .yp-toolbar-menu-link,
html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-breadcrumbs-bar .yp-toolbar-menu-text {
  color: var(--ysh-menu-popover-fg, var(--yooadmin-text-600, #5d5d5d)) !important;
}

html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-breadcrumbs-bar .yp-toolbar-menu-link .dashicons,
html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-breadcrumbs-bar .yp-toolbar-menu-icon {
  color: var(--yooadmin-primary, var(--ysh-brand, #eda934)) !important;
}

html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-breadcrumbs-bar .yp-toolbar-menu {
  background: #fafbfc !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1) !important;
}

/* Studio Hub: footer row aligns with header / breadcrumbs column (not full-bleed 45px core padding). */
body.yooadmin-theme-yooadmin-studio-hub .yp-dashboard-footer .yp-footer {
  max-width: var(--ysh-layout-max, 1400px);
  margin-inline: auto;
  width: 100%;
  box-sizing: border-box;
  padding-block: 12px;
  padding-inline: 16px;
}

@media (max-width: 782px) {
  body.yooadmin-theme-yooadmin-studio-hub .yp-dashboard-footer .yp-footer {
    padding-inline: 12px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  body.yooadmin-theme-yooadmin-studio-hub .yp-dashboard-footer .yp-footer-right {
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
  }
}

/* Light: admin footer — match core yp-admin-core (.yp-dashboard-footer uses #fff), not header strip */
html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub #wpfooter,
html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub #footer-thankyou,
html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub #footer-upgrade {
  background: #fff !important;
  color: var(--ysh-muted, #555555) !important;
  border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
}

html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub #wpfooter a {
  color: var(--ysh-heading, #50575e) !important;
}

html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub #wpfooter a:hover,
html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub #wpfooter a:focus {
  color: var(--yooadmin-primary, var(--ysh-brand, #eda934)) !important;
}

/* Light: YOO fixed shell footer (Focus hides #wpfooter; bar is .yp-dashboard-footer). */
html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-dashboard-footer {
  background: #fff !important;
  border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
}

html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-footer {
  color: var(--ysh-muted, #606060) !important;
}

html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-footer .yp-meta,
html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-footer .yp-bullet {
  color: var(--ysh-muted, #5f6368) !important;
}

/* Light: appearance popover on dark header — white surface + dashboard text tokens (not header contrast). */
html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .ysh-appearance__menu {
  background: #fff !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14) !important;
}

html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .ysh-appearance__option {
  color: var(--ysh-menu-popover-fg, var(--yooadmin-text-600, #5d5d5d)) !important;
}

html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .ysh-appearance__option:hover {
  background: rgba(0, 0, 0, 0.06) !important;
}

/* Light: active mode — no peachy fill from primary@18% transparent; border + brand color only. */
html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .ysh-appearance__option.is-active {
  background: transparent !important;
  border-color: var(--yooadmin-primary, var(--ysh-brand, #eda934)) !important;
  color: var(--yooadmin-primary, var(--ysh-brand, #eda934)) !important;
}

html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-breadcrumbs-lang__menu {
  background: #fff !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14) !important;
}

html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-breadcrumbs-lang__option {
  color: var(--ysh-menu-popover-fg, var(--yooadmin-text-600, #5d5d5d)) !important;
}

html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-breadcrumbs-lang__option:hover {
  background: rgba(0, 0, 0, 0.06) !important;
}

html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-breadcrumbs-lang__option.is-active {
  background: color-mix(in srgb, var(--yooadmin-primary, var(--ysh-brand, #eda934)) 14%, transparent) !important;
  border-color: transparent !important;
  color: var(--yooadmin-primary, var(--ysh-brand, #eda934)) !important;
}

html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .ysh-width__menu {
  background: #fff !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14) !important;
}

html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .ysh-width__option {
  color: var(--ysh-menu-popover-fg, var(--yooadmin-text-600, #5d5d5d)) !important;
}

html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .ysh-width__option:hover {
  background: rgba(0, 0, 0, 0.06) !important;
}

html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .ysh-width__option.is-active {
  background: transparent !important;
  border-color: var(--yooadmin-primary, var(--ysh-brand, #eda934)) !important;
  color: var(--yooadmin-primary, var(--ysh-brand, #eda934)) !important;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-header-left {
  padding-inline-start: 8px;
  gap: 10px;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-header-right {
  padding-inline-end: 16px;
}

@media (max-width: 782px) {
  body.yooadmin-theme-yooadmin-studio-hub .yp-header-left {
    padding-inline-start: 12px;
    gap: 10px;
  }

  body.yooadmin-theme-yooadmin-studio-hub .yp-header-right {
    padding-inline-end: 12px;
  }
}

@media (max-width: 480px) {
  body.yooadmin-theme-yooadmin-studio-hub .yp-header-left {
    padding-inline-start: 8px;
    gap: 6px;
  }

  body.yooadmin-theme-yooadmin-studio-hub .yp-header-right {
    padding-inline-end: 8px;
  }
}

.yp-studio-hub__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 14px;
  align-items: stretch;
  margin-top: 20px;
  margin-bottom: 40px;
}

/* Lock SSR grid until layout JS finishes (prevents wide→narrow flash on refresh) */
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--layout-booting.yp-studio-hub--dashboard .yp-studio-hub__layout.yp-studio-hub__layout--aside-empty {
  grid-template-columns: minmax(0, 1fr) !important;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--layout-booting.yp-studio-hub--dashboard .yp-studio-hub__layout.yp-studio-hub__layout--aside-empty > .yp-studio-hub__aside {
  display: none !important;
}

/* Aside empty (hidden or moved to main): primary column uses full dashboard width */
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-studio-hub__layout.yp-studio-hub__layout--aside-empty {
  grid-template-columns: minmax(0, 1fr);
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-studio-hub__layout.yp-studio-hub__layout--aside-empty > .yp-studio-hub__aside {
  display: none !important;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-studio-hub__layout--aside-empty .yp-studio-hub__primary {
  width: 100%;
  max-width: 100%;
}

@media (max-width: 1100px) {
  .yp-studio-hub__layout {
    grid-template-columns: 1fr;
  }
  body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub:not(.yp-studio-hub--dashboard) .yp-studio-hub__aside {
    order: -1;
  }

  /*
   * Dashboard mobile/tablet: Welcome + Quick Actions must stay first.
   * Global aside order:-1 lifts the whole sidebar above primary; flatten primary so
   * the top row wins, then main sections, then aside widgets.
   */
  body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-studio-hub__layout {
    display: flex;
    flex-direction: column;
  }

  body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-studio-hub__primary {
    display: contents;
  }

  body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-dashboard-grid[data-yooadmin-top-section="true"] {
    order: -1;
  }

  body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-studio-hub__aside {
    order: 0;
  }
}

/* Left column: Welcome + Quick Actions + workspace + extensions (Activity sits in __aside for full height) */
.yp-studio-hub__primary {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.yp-studio-hub__main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.yp-studio-hub__aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 100%;
  min-width: 0;
  max-width: 100%;
}

/* Aside column: always stack cards vertically (main or moved sections) */
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__aside .yp-cards-grid,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__aside .yp-icon-grid-boxes,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__aside .yp-studio-workspace-rows {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__aside .yp-studio-ws-row,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__aside .yp-icon-tile,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__aside [data-card-id] {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  grid-column: 1 / -1;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__aside .yp-layout-drop-gap {
  grid-column: 1 / -1;
  min-height: 48px;
}

/* Your plugins on the right: full-width tiles like custom aside sections (no extra body inset) */
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__aside .yp-studio-extensions-card .yp-studio-extensions-lead {
  display: none;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__aside .yp-studio-extensions-card .yp-studio-extensions-body,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__aside .yp-studio-extensions-card .yp-studio-section-body {
  padding: 0;
  margin: 0;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__aside .yp-studio-extensions-card .yp-studio-extensions-grid.yp-icon-grid-boxes {
  display: grid !important;
  width: 100%;
  box-sizing: border-box;
  padding: 10px 0 0;
  margin: 0;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__aside .yp-studio-extensions-card .yp-studio-ws-row__desc {
  display: block;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__aside .yp-studio-extensions-card .yp-studio-extensions-grid .yp-icon-tile.yp-studio-ws-row {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__aside .yp-studio-extensions-card.has-ws-pagination .yp-studio-ws-pager-footer {
  margin-top: 10px;
  padding-top: 0;
}

/* Extension placeholder slots removed from template — hide any legacy markup */
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-studio-extension-slots {
  display: none !important;
}

/* Top row: Welcome a bit narrower, Quick Actions wider (300px stays for __aside) */
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-dashboard-grid[data-yooadmin-top-section="true"] {
  grid-template-columns: minmax(0, 1.42fr) minmax(0, 0.96fr);
  gap: 14px;
  padding: 0 !important;
  align-items: stretch;
}

@media (max-width: 1100px) {
  body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-dashboard-grid[data-yooadmin-top-section="true"] {
    grid-template-columns: 1fr;
  }
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-dashboard-grid[data-yooadmin-top-section="true"] > .yp-card:not(.yp-studio-welcome-mock),
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-dashboard-grid[data-yooadmin-top-section="true"] > .yp-studio-welcome-mock {
  border-radius: var(--ysh-radius);
  border: 1px solid transparent;
  background: var(--ysh-card-raised, var(--ysh-card));
  box-shadow: var(--ysh-elev-inset-top), var(--ysh-elev-2);
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-dashboard-grid[data-yooadmin-top-section="true"] > .yp-studio-welcome-mock {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  height: 100%;
  box-sizing: border-box;
}

/* Slightly tighter Welcome in the top row only */
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-dashboard-grid[data-yooadmin-top-section="true"] .yp-studio-welcome-mock__inner {
  padding: 18px 20px 20px;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-dashboard-grid[data-yooadmin-top-section="true"] .yp-studio-welcome-mock__header {
  margin: 0 0 8px;
  padding-bottom: 0;
  border-bottom: none;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-dashboard-grid[data-yooadmin-top-section="true"] .yp-studio-welcome-mock .yp-card-welcome {
  font-size: 24px;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-dashboard-grid[data-yooadmin-top-section="true"] .yp-studio-welcome-mock .yp-card-text {
  margin: 0 0 8px;
  font-size: 13px;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-dashboard-grid[data-yooadmin-top-section="true"] .yp-studio-welcome-mock .yp-studio-welcome-mock__line1 {
  font-size: 16px;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-dashboard-grid[data-yooadmin-top-section="true"] .yp-studio-welcome-mock .yp-studio-welcome-mock__meta-row {
  margin-top: 2px;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-dashboard-grid[data-yooadmin-top-section="true"] .yp-studio-welcome-mock .yp-studio-welcome-mock__meta-row .yp-studio-welcome-mock__line2 {
  margin: 0;
}

/* Network admin viewing subsite — site context pill above welcome quick links */
.yp-welcome-site-context {
  margin-top: 14px;
}

.yp-welcome-site-context__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 6px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--yooadmin-primary, var(--ysh-brand, #eda934)) 8%, var(--ysh-card, #fff));
  border: 1px solid color-mix(in srgb, var(--yooadmin-primary, var(--ysh-brand, #eda934)) 18%, transparent);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  line-height: 1.35;
}

.yp-welcome-site-context__icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  font-size: 16px;
  color: var(--yooadmin-primary, var(--ysh-brand, #eda934));
}

.yp-welcome-site-context__name {
  font-size: 12px;
  font-weight: 600;
  color: var(--ysh-heading, var(--yooadmin-text-600, #2a3340));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

.yp-welcome-site-context__sep {
  flex-shrink: 0;
  color: color-mix(in srgb, var(--ysh-muted, #667085) 70%, transparent);
  font-size: 12px;
}

.yp-welcome-site-context__url {
  min-width: 0;
  font-size: 12px;
  font-weight: 500;
  color: color-mix(in srgb, var(--yooadmin-primary, var(--ysh-brand, #eda934)) 78%, var(--ysh-heading, #2a3340));
  text-decoration: none !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(100%, 240px);
}

.yp-welcome-site-context__url:hover,
.yp-welcome-site-context__url:focus-visible {
  color: var(--yooadmin-primary, var(--ysh-brand, #eda934));
  text-decoration: underline !important;
  outline: none;
}

html[data-yooadmin-studio-color-mode-effective='dark'] body.yooadmin-theme-yooadmin-studio-hub .yp-welcome-site-context__pill {
  background: color-mix(in srgb, var(--yooadmin-primary, var(--ysh-brand, #eda934)) 12%, var(--ysh-card, #1a2030));
  border-color: color-mix(in srgb, var(--yooadmin-primary, var(--ysh-brand, #eda934)) 24%, transparent);
}

html[data-yooadmin-studio-color-mode-effective='dark'] body.yooadmin-theme-yooadmin-studio-hub .yp-welcome-site-context__name {
  color: var(--ysh-heading, #e8edf3);
}

html[data-yooadmin-studio-color-mode-effective='dark'] body.yooadmin-theme-yooadmin-studio-hub .yp-welcome-site-context__url {
  color: color-mix(in srgb, var(--yooadmin-primary, var(--ysh-brand, #eda934)) 82%, #fff);
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-welcome-mock .yp-welcome-site-context + .yp-welcome-links.yp-studio-welcome-mock__links {
  margin-top: 12px;
}

/* Welcome footer links: pin to bottom of card + breathing room above (not stuck under body text) */
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-welcome-mock .yp-welcome-links.yp-studio-welcome-mock__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: auto;
  margin-bottom: 0;
  padding: 16px 0 4px;
  width: 100%;
  box-sizing: border-box;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-welcome-mock .yp-welcome-links.yp-studio-welcome-mock__links .yp-welcome-link {
  gap: 4px;
}

/* Studio Hub only: welcome quick links are never semi-bold (core dashboard uses 500). */
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-welcome-mock .yp-welcome-links.yp-studio-welcome-mock__links .yp-welcome-link,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-welcome-mock .yp-welcome-links.yp-studio-welcome-mock__links .yp-welcome-link .yp-welcome-link-label {
  font-weight: 400 !important;
}

/* Welcome quick links: normal weight; label = body text, icon only = brand orange (light + dark). */
html[data-yooadmin-studio-color-mode-effective='light'] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-welcome-mock .yp-welcome-link {
  color: var(--ysh-heading, var(--yooadmin-text-600, #5d5d5d)) !important;
}

html[data-yooadmin-studio-color-mode-effective='light'] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-welcome-mock .yp-welcome-link .dashicons {
  color: var(--yooadmin-primary, var(--ysh-brand, #eda934)) !important;
}

html[data-yooadmin-studio-color-mode-effective='light'] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-welcome-mock .yp-welcome-link:hover,
html[data-yooadmin-studio-color-mode-effective='light'] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-welcome-mock .yp-welcome-link:focus-visible {
  color: var(--ysh-heading, var(--yooadmin-text-600, #5d5d5d)) !important;
}

html[data-yooadmin-studio-color-mode-effective='light'] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-welcome-mock .yp-welcome-link:hover .dashicons,
html[data-yooadmin-studio-color-mode-effective='light'] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-welcome-mock .yp-welcome-link:focus-visible .dashicons {
  color: color-mix(in srgb, var(--yooadmin-primary, var(--ysh-brand, #eda934)) 88%, #000) !important;
}

html[data-yooadmin-studio-color-mode-effective='dark'] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-welcome-mock .yp-welcome-link {
  color: var(--ysh-muted, #9aa5b1) !important;
}

html[data-yooadmin-studio-color-mode-effective='dark'] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-welcome-mock .yp-welcome-link .dashicons {
  color: var(--yooadmin-primary, var(--ysh-brand, #eda934)) !important;
}

html[data-yooadmin-studio-color-mode-effective='dark'] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-welcome-mock .yp-welcome-link:hover,
html[data-yooadmin-studio-color-mode-effective='dark'] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-welcome-mock .yp-welcome-link:focus-visible {
  color: var(--ysh-text, #cfd6e0) !important;
}

html[data-yooadmin-studio-color-mode-effective='dark'] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-welcome-mock .yp-welcome-link:hover .dashicons,
html[data-yooadmin-studio-color-mode-effective='dark'] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-welcome-mock .yp-welcome-link:focus-visible .dashicons {
  color: color-mix(in srgb, var(--yooadmin-primary, var(--ysh-brand, #eda934)) 92%, #fff) !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-welcome-mock .yp-welcome-links.yp-studio-welcome-mock__links {
  border-top-color: rgba(255, 255, 255, 0.08);
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-dashboard-grid[data-yooadmin-top-section="true"] .yp-studio-welcome-mock .yp-welcome-links.yp-studio-welcome-mock__links {
  padding-top: 14px;
}

/* Studio Hub — loading overlay: no extra height (spinner does not expand the card) */
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-studio-section-body {
  position: relative;
  min-height: 0;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-studio-extensions-card .yp-studio-section-body:has(.yp-extensions-grid-loading:not(.is-hidden)) {
  min-height: 96px;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-studio-extensions-card .yp-studio-extensions-grid.yp-cards-grid:not(.is-hydrated) {
  min-height: 96px;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-studio-section-body .yp-studio-section-loading,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-studio-section-body .yp-quick-actions-loading,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-studio-section-body .yp-website-management-loading {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  min-height: 0;
  max-height: none;
  height: auto;
  transform: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-studio-section-loading.is-hidden,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-studio-section-body .yp-quick-actions-loading.is-hidden,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-studio-section-body .yp-website-management-loading.is-hidden,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-studio-section-grid-loading.is-hidden,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-studio-custom-section .yp-cards-grid.is-hydrated .yp-studio-section-grid-loading {
  display: none !important;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-studio-section-loading .yp-spinner-circle {
  width: 22px;
  height: 22px;
  border-width: 2px;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-studio-widget-section__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  margin: 0;
  box-sizing: border-box;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-studio-widget-section__loading .yp-loading-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-studio-widget-section__loading .yp-spinner-circle {
  width: 22px;
  height: 22px;
  margin: 0;
  border-width: 2px;
}

/* Custom sections: show card shell + spinner while layout restores (no hide-then-pop-in) */
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-studio-custom-section.yp-studio-layout-section--booting {
  visibility: visible !important;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-studio-custom-section.yp-studio-layout-section--booting.yp-layout-section--hidden,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-studio-custom-section.yp-studio-layout-section--booting[hidden] {
  display: none !important;
  visibility: hidden !important;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-studio-custom-section.yp-studio-layout-section--booting .yp-cards-grid {
  position: relative;
  min-height: 88px;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: none;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-studio-custom-section.yp-studio-layout-section--booting .yp-studio-section-grid-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
  grid-column: 1 / -1;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-studio-custom-section.yp-studio-layout-section--booting .yp-layout-empty-drop-hint {
  display: none !important;
}

body.yooadmin-theme-yooadmin-studio-hub:not(.yp-layout-edit-mode):not(.yp-icon-edit-mode)
  .yp-studio-hub--dashboard
  .yp-studio-custom-section
  .yp-layout-empty-drop-hint {
  display: none !important;
}

/* Dashboard card typography — workspace rows + quick-action tiles stay in sync */
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard {
  --yp-studio-card-title-size: 12px;
  --yp-studio-card-title-weight: 600;
  --yp-studio-card-title-lh: 1.25;
  --yp-studio-card-desc-size: 11px;
  --yp-studio-card-desc-weight: 400;
  --yp-studio-card-desc-lh: 1.35;
}

/* Tile titles: one size/weight for QA + workspace (layout unchanged) */
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-icon-tile.yp-studio-qa-tile .yp-icon-label,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-icon-tile.yp-studio-ws-row .yp-icon-label,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-studio-ws-row .yp-studio-ws-row__copy .yp-icon-label,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard [data-quick-actions-card] .yp-icon-tile.yp-studio-qa-tile .yp-icon-label,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard [data-quick-actions-card] .qa-add-tile.yp-studio-qa-tile .yp-icon-label,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-studio-workspace-rows .yp-icon-tile.yp-studio-ws-row .yp-icon-label,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-studio-workspace-shortcuts .yp-icon-tile.yp-studio-qa-tile .yp-icon-label {
  font-size: var(--yp-studio-card-title-size, 12px) !important;
  font-weight: var(--yp-studio-card-title-weight, 600) !important;
  line-height: var(--yp-studio-card-title-lh, 1.25) !important;
  color: var(--ysh-heading) !important;
  margin: 0 !important;
  max-width: 100%;
}

/* Grids stay in layout while loading; only hide visually until hydrated */
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-studio-quick-actions .yp-action-grid:not(.is-hydrated) {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-studio-workspace-rows.yp-cards-grid:not(.is-hydrated):not(.yp-studio-custom-grid),
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-studio-extensions-grid.yp-cards-grid:not(.is-hydrated) {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-action-grid.is-hydrated,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-studio-workspace-rows.yp-cards-grid.is-hydrated,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-studio-extensions-grid.yp-cards-grid.is-hydrated {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-studio-quick-actions .yp-action-grid:not(.is-hydrated) {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
  padding-top: 4px;
  min-height: calc(92px * 2 + 14px);
  box-sizing: border-box;
}

@media (max-width: 600px) {
  body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-studio-quick-actions .yp-action-grid:not(.is-hydrated) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}

/* Quick Actions — mockup: spaced bordered tiles, large outline-style icons (no circle fill) */
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-quick-actions.yp-card {
  padding: 12px 14px 14px !important;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-sizing: border-box;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-quick-actions .yp-studio-qa-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 2px;
  padding-bottom: 0;
  border-bottom: none;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-quick-actions .yp-studio-qa-header .yp-section-title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--ysh-heading);
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-quick-actions .yp-studio-qa-header .yp-section-title .dashicons {
  color: var(--ysh-brand);
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-quick-actions .yp-action-grid.is-hydrated {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
  column-gap: 14px !important;
  row-gap: 14px !important;
  padding-top: 4px;
  flex: 1;
  min-height: calc(92px * 2 + 14px);
  align-content: start;
  box-sizing: border-box;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-quick-actions .yp-action-grid > .qa-tile {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  margin: 0 !important;
  padding: 0 !important;
}

@media (max-width: 600px) {
  body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-quick-actions .yp-action-grid.is-hydrated {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}

@media (max-width: 600px) {
  body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__layout {
    gap: 10px;
    margin-top: 12px;
    margin-bottom: 28px;
  }

  body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__primary,
  body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__main,
  body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__aside {
    gap: 10px;
  }

  body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-card:not(.yp-studio-welcome-mock),
  body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-surface-card {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-quick-actions.yp-card {
    padding: 10px !important;
  }

  body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-workspace-rows.yp-cards-grid,
  body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-custom-section .yp-studio-custom-grid.yp-cards-grid,
  body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-extensions-card .yp-studio-extensions-grid.yp-cards-grid {
    gap: 8px !important;
  }
}

/* Beat legacy quick-action tile sizing from yp-dashboard */
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-quick-actions .yp-action-grid .yp-icon-tile.yp-studio-qa-tile:not(.qa-add-tile) {
  width: 90% !important;
  max-width: 176px !important;
  min-width: 0 !important;
  min-height: 92px !important;
  height: auto !important;
  padding: 10px 8px 12px !important;
  margin: 0 auto !important;
  border-radius: 12px !important;
  border: 1px solid transparent !important;
  border-top-color: transparent !important;
  border-bottom-color: transparent !important;
  box-shadow: var(--ysh-elev-hairline), var(--ysh-elev-1) !important;
  background: var(--ysh-tile-bg, var(--ysh-card)) !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 2px !important;
  text-align: center !important;
  box-sizing: border-box !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-quick-actions .yp-action-grid .yp-icon-tile.yp-studio-qa-tile:not(.qa-add-tile):hover,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-quick-actions .yp-action-grid .yp-icon-tile.yp-studio-qa-tile:not(.qa-add-tile):focus-visible {
  border-color: transparent !important;
  box-shadow: var(--ysh-elev-hairline), var(--ysh-elev-2) !important;
  transform: translateY(-1px);
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-qa-tile__icon-well {
  box-sizing: border-box;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  border-radius: 0 !important;
  aspect-ratio: auto;
  background: transparent !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: visible;
  line-height: 0;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-qa-tile__icon-well .dashicons {
  color: var(--yooadmin-primary, var(--ysh-brand, #eda934)) !important;
  font-size: 32px !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  line-height: 1 !important;
  font-weight: 400;
  opacity: 0.95;
}

/* Quick Actions tiles use currentColor in yp-dashboard — force brand on icon + inline SVG in light (and base). */
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-quick-actions .yp-action-grid .yp-icon-tile.yp-studio-qa-tile .yp-icon > .dashicons,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-quick-actions .yp-action-grid .yp-icon-tile.yp-studio-qa-tile .yp-icon > svg {
  color: var(--yooadmin-primary, var(--ysh-brand, #eda934)) !important;
  fill: currentColor !important;
}

/* QA tile title typography: see unified dashboard tile title rule above */

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-quick-actions .qa-tile--add-slot {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  margin: 0 !important;
  padding: 0 !important;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-quick-actions .qa-tile--add-slot.is-hidden {
  display: none !important;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-quick-actions .qa-add-tile {
  display: none !important;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-quick-actions .yp-action-grid .qa-add-tile.yp-studio-qa-tile {
  width: 90% !important;
  max-width: 176px !important;
  min-width: 0 !important;
  min-height: 92px !important;
  height: auto !important;
  margin: 0 auto !important;
  padding: 10px 8px 12px !important;
  border: 2px dashed rgba(var(--ysh-brand-rgb, 237, 169, 52), 0.4) !important;
  border-radius: 10px !important;
  background: transparent !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  color: var(--ysh-brand, #eda934) !important;
  transition: border-color 0.12s ease, background 0.12s ease;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-quick-actions .yp-action-grid .qa-add-tile.yp-studio-qa-tile:hover,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-quick-actions .yp-action-grid .qa-add-tile.yp-studio-qa-tile:focus-visible {
  border-color: rgba(var(--ysh-brand-rgb, 237, 169, 52), 0.85) !important;
  background: rgba(var(--ysh-brand-rgb, 237, 169, 52), 0.08) !important;
  outline: none !important;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-quick-actions .qa-tile-actions {
  display: none !important;
}

/* Quick Actions — edit mode (override rules above; match workspace card edit controls) */
body.yooadmin-theme-yooadmin-studio-hub [data-quick-actions-card].is-editing .qa-tile-actions.yp-studio-card-edit-actions {
  display: inline-flex !important;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  position: absolute;
  top: 6px;
  right: 8px;
  z-index: 12;
  margin: 0;
  pointer-events: auto;
}

body.yooadmin-theme-yooadmin-studio-hub [data-quick-actions-card].is-editing .qa-tile-actions .qa-tile-edit,
body.yooadmin-theme-yooadmin-studio-hub [data-quick-actions-card].is-editing .qa-tile-actions .qa-tile-delete {
  position: static !important;
  top: auto !important;
  right: auto !important;
  flex-shrink: 0;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid color-mix(in srgb, var(--ysh-border, rgba(0, 0, 0, 0.12)) 88%, transparent) !important;
  border-radius: 6px !important;
  background: color-mix(in srgb, var(--ysh-card, #fff) 90%, #fff) !important;
  box-shadow: none !important;
  opacity: 1 !important;
  transform: none !important;
  color: var(--ysh-muted, #888) !important;
  cursor: pointer;
}

body.yooadmin-theme-yooadmin-studio-hub [data-quick-actions-card].is-editing .qa-tile-actions .qa-tile-edit .dashicons,
body.yooadmin-theme-yooadmin-studio-hub [data-quick-actions-card].is-editing .qa-tile-actions .qa-tile-delete .dashicons {
  font-size: 16px !important;
  width: 16px !important;
  height: 16px !important;
  line-height: 1 !important;
  color: currentColor !important;
}

body.yooadmin-theme-yooadmin-studio-hub [data-quick-actions-card].is-editing .qa-tile-actions .qa-tile-edit:hover,
body.yooadmin-theme-yooadmin-studio-hub [data-quick-actions-card].is-editing .qa-tile-actions .qa-tile-delete:hover {
  color: var(--ysh-brand, #eda934) !important;
  border-color: color-mix(in srgb, var(--ysh-brand, #eda934) 45%, var(--ysh-border, #ddd)) !important;
  background: color-mix(in srgb, var(--ysh-brand, #eda934) 10%, var(--ysh-card, #fff)) !important;
  transform: none !important;
}

body.yooadmin-theme-yooadmin-studio-hub [data-quick-actions-card].is-editing .qa-tile-actions .yp-qa-tile-delete:hover {
  color: #b32d2e !important;
  border-color: color-mix(in srgb, #b32d2e 35%, var(--ysh-border, #ddd)) !important;
  background: rgba(179, 45, 46, 0.08) !important;
}

body.yooadmin-theme-yooadmin-studio-hub [data-quick-actions-card].is-editing .qa-tile-link {
  pointer-events: auto;
  cursor: grab;
  opacity: 0.88;
  touch-action: none;
}

body.yooadmin-theme-yooadmin-studio-hub [data-quick-actions-card].is-editing.is-qa-dragging .qa-tile-link {
  cursor: grabbing;
}

body.yooadmin-theme-yooadmin-studio-hub [data-quick-actions-card].is-editing .qa-tile-actions,
body.yooadmin-theme-yooadmin-studio-hub [data-quick-actions-card].is-editing .qa-tile-actions button {
  touch-action: auto;
  cursor: pointer !important;
  pointer-events: auto;
}

body.yooadmin-theme-yooadmin-studio-hub [data-quick-actions-card].is-editing .qa-tile:not(.qa-tile--add-slot) {
  touch-action: auto;
  cursor: default;
}

body.yooadmin-theme-yooadmin-studio-hub [data-quick-actions-card].is-qa-dragging .qa-tile:not(.qa-tile--add-slot) .qa-tile-link {
  cursor: grabbing;
}

body.yooadmin-theme-yooadmin-studio-hub [data-quick-actions-card].is-editing .qa-tile--add-slot:not(.is-hidden) {
  display: block !important;
}

body.yooadmin-theme-yooadmin-studio-hub [data-quick-actions-card].is-editing .qa-add-tile:not(.is-hidden) {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 1 !important;
  pointer-events: auto !important;
}

body.yooadmin-theme-yooadmin-studio-hub [data-quick-actions-card].is-editing .qa-add-tile.yp-studio-qa-tile .yp-studio-qa-tile__icon-well .dashicons {
  color: var(--ysh-brand, #eda934) !important;
  font-size: 32px !important;
  width: 32px !important;
  height: 32px !important;
}

body.yooadmin-theme-yooadmin-studio-hub [data-quick-actions-card]:not(.is-editing) .yp-studio-qa-nav {
  display: none !important;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-qa-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

body.yooadmin-theme-yooadmin-studio-hub [data-quick-actions-card].is-editing .yp-studio-qa-nav {
  display: flex;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-qa-nav__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--ysh-border);
  border-radius: 8px;
  background: var(--ysh-card);
  color: var(--ysh-muted);
  cursor: pointer;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-qa-nav__btn:hover:not(:disabled),
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-qa-nav__btn:focus-visible:not(:disabled) {
  color: var(--ysh-brand);
  border-color: color-mix(in srgb, var(--ysh-brand, #eda934) 45%, var(--ysh-border, #ddd));
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-qa-nav__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-qa-nav__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ysh-muted);
  min-width: 3.5em;
  text-align: center;
  direction: ltr;
  unicode-bidi: isolate;
}

[dir='rtl'] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-qa-nav__btn .dashicons {
  transform: scaleX(-1);
}

body.yooadmin-theme-yooadmin-studio-hub .ysh-layout-notice__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--yp-text-600, #50575e);
}

body.yooadmin-theme-yooadmin-studio-hub .ysh-layout-toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  z-index: 100060;
  max-width: min(360px, calc(100vw - 24px));
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
  color: #3c434a;
  background: #fff;
  border: 1px solid rgba(var(--ysh-brand-rgb, 237, 169, 52), 0.45);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  opacity: 0;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

body.yooadmin-theme-yooadmin-studio-hub .ysh-layout-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .ysh-layout-toast {
  color: #e8ecf1;
  background: #2a3038;
  border-color: rgba(var(--ysh-brand-rgb, 237, 169, 52), 0.5);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

body.yooadmin-theme-yooadmin-studio-hub [data-quick-actions-card] .qa-tile {
  position: relative;
}

body.yooadmin-theme-yooadmin-studio-hub [data-quick-actions-card] .qa-tile-drag-handle {
  display: none;
}

body.yooadmin-theme-yooadmin-studio-hub [data-quick-actions-card].is-editing .qa-tile-drag-handle {
  position: absolute;
  inset-inline-start: max(calc(5% + 8px), calc((100% - 176px) / 2 + 8px));
  top: 8px;
  z-index: 3;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ysh-muted, #8a94a6);
  background: color-mix(in srgb, var(--ysh-card-raised, var(--ysh-card, #fff)) 86%, transparent);
  border: 1px solid color-mix(in srgb, var(--ysh-border, rgba(255, 255, 255, 0.16)) 80%, transparent);
  box-shadow: var(--ysh-elev-hairline);
  opacity: 0.72;
  cursor: grab;
  touch-action: none;
}

body.yooadmin-theme-yooadmin-studio-hub [data-quick-actions-card].is-editing .qa-tile-drag-handle:hover,
body.yooadmin-theme-yooadmin-studio-hub [data-quick-actions-card].is-editing .qa-tile-drag-handle:focus-visible {
  color: var(--ysh-brand, #eda934);
  opacity: 1;
}

body.yooadmin-theme-yooadmin-studio-hub [data-quick-actions-card].is-editing .qa-tile-drag-handle .dashicons {
  font-size: 15px;
  width: 15px;
  height: 15px;
  line-height: 1;
}

body.yooadmin-theme-yooadmin-studio-hub [data-quick-actions-card].is-qa-dragging .qa-tile-drag-handle {
  cursor: grabbing;
}

body.yooadmin-theme-yooadmin-studio-hub [data-quick-actions-card].is-qa-dragging {
  user-select: none;
}

body.yooadmin-theme-yooadmin-studio-hub [data-quick-actions-card] .qa-drag-ghost {
  position: fixed;
  z-index: 100050;
  pointer-events: none;
  margin: 0;
  width: auto;
  max-width: 176px;
  opacity: 0.94;
  transform: scale(1.03);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.22);
  border-radius: 10px;
  background: var(--ysh-card, #fff);
}

body.yooadmin-theme-yooadmin-studio-hub [data-quick-actions-card] .qa-drag-ghost .qa-tile-actions {
  display: none !important;
}

body.yooadmin-theme-yooadmin-studio-hub [data-quick-actions-card] .qa-drop-hint {
  min-height: 92px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  border: 2px dashed rgba(var(--ysh-brand-rgb, 237, 169, 52), 0.55);
  border-radius: 10px;
  background: color-mix(in srgb, var(--ysh-brand, #eda934) 10%, transparent);
}

body.yooadmin-theme-yooadmin-studio-hub [data-quick-actions-card].is-qa-dragging .yp-studio-qa-nav__btn.is-page-flip-active {
  border-color: var(--ysh-brand, #eda934);
  color: var(--ysh-brand, #eda934);
  background: color-mix(in srgb, var(--ysh-brand, #eda934) 12%, var(--ysh-card, #fff));
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-qa-dots {
  display: flex;
  gap: 6px;
  margin-top: 12px;
  justify-content: center;
  align-items: center;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-qa-dots__dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ysh-border);
  cursor: pointer;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-qa-dots__dot.is-active {
  background: var(--ysh-brand);
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-qa-dots__dot:hover,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-qa-dots__dot:focus-visible {
  background: color-mix(in srgb, var(--ysh-brand, #eda934) 70%, var(--ysh-border));
  outline: none;
}

/* Workspace pagination — dots + layout-edit nav (mirrors Quick Actions) */
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-ws-pager-footer {
  margin-top: 12px;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-ws-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  align-items: center;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-ws-dots__dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ysh-border);
  cursor: pointer;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-ws-dots__dot.is-active {
  background: var(--ysh-brand);
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-ws-dots__dot:hover,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-ws-dots__dot:focus-visible {
  background: color-mix(in srgb, var(--ysh-brand, #eda934) 70%, var(--ysh-border));
  outline: none;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-ws-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-dashboard-section:not(.has-ws-pagination) .yp-studio-ws-pager-footer,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-ws-pager-footer[hidden] {
  display: none !important;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-dashboard-section.has-ws-pagination .yp-studio-ws-pager-footer {
  display: block;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-dashboard-section.has-ws-pagination:not(.yp-layout-section--editing) .yp-studio-ws-nav,
body.yooadmin-theme-yooadmin-studio-hub:not(.yp-layout-edit-mode) .yp-studio-ws-nav {
  display: none !important;
}

body.yooadmin-theme-yooadmin-studio-hub.yp-layout-edit-mode .yp-dashboard-section.has-ws-pagination .yp-studio-ws-nav:not([hidden]) {
  display: flex;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-ws-nav__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--ysh-border);
  border-radius: 8px;
  background: var(--ysh-card);
  color: var(--ysh-muted);
  cursor: pointer;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-ws-nav__btn:hover:not(:disabled),
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-ws-nav__btn:focus-visible:not(:disabled) {
  color: var(--ysh-brand);
  border-color: color-mix(in srgb, var(--ysh-brand, #eda934) 45%, var(--ysh-border, #ddd));
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-ws-nav__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-ws-nav__btn.is-page-flip-active {
  border-color: var(--ysh-brand, #eda934);
  color: var(--ysh-brand, #eda934);
  background: color-mix(in srgb, var(--ysh-brand, #eda934) 12%, var(--ysh-card, #fff));
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-ws-nav__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ysh-muted);
  min-width: 3.5em;
  text-align: center;
  direction: ltr;
  unicode-bidi: isolate;
}

[dir='rtl'] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-ws-nav__btn .dashicons {
  transform: scaleX(-1);
}

body.yooadmin-theme-yooadmin-studio-hub .yp-ws-page-hidden {
  display: none !important;
}

/* Workspace + extensions section cards — depth over border */
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-surface-card {
  border-radius: var(--ysh-radius);
  border: 1px solid transparent;
  background: var(--ysh-card-raised, var(--ysh-card));
  box-shadow: var(--ysh-elev-inset-top), var(--ysh-elev-2);
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-surface-card .yp-card-title,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-surface-card .yp-section-title {
  color: var(--ysh-heading);
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-surface-card .yp-section-title {
  font-size: 14px;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-surface-card .yp-section-title .dashicons {
  color: var(--ysh-brand);
}

/* Workspace: 4-up grid on desktop, compact type + icons (mockup) */
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-workspace-rows.yp-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

/* yp-card-icons forces display:flex on .yp-icon-grid-boxes after hydration — keep mockup grids */
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-workspace-rows.yp-icon-grid-boxes.is-hydrated,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-extensions-grid.yp-icon-grid-boxes.is-hydrated {
  display: grid !important;
}

@media (max-width: 1280px) {
  body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-workspace-rows.yp-cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-workspace-rows.yp-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-workspace-rows.yp-cards-grid {
    grid-template-columns: 1fr;
  }
}

/*
 * Page width wide/full: column count only (3 → 4 → 5). Tile size unchanged
 * (still 90% / max 176px / min-height 92px). Normal width untouched.
 */
@media (min-width: 601px) {
  html[data-ysh-layout-width='wide']
    body.yooadmin-theme-yooadmin-studio-hub
    .yp-studio-hub
    .yp-studio-quick-actions
    .yp-action-grid:not(.is-hydrated),
  html[data-ysh-layout-width='wide']
    body.yooadmin-theme-yooadmin-studio-hub
    .yp-studio-hub
    .yp-studio-quick-actions
    .yp-action-grid.is-hydrated {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  html[data-ysh-layout-width='full']
    body.yooadmin-theme-yooadmin-studio-hub
    .yp-studio-hub
    .yp-studio-quick-actions
    .yp-action-grid:not(.is-hydrated),
  html[data-ysh-layout-width='full']
    body.yooadmin-theme-yooadmin-studio-hub
    .yp-studio-hub
    .yp-studio-quick-actions
    .yp-action-grid.is-hydrated {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1360px) {
  html[data-ysh-layout-width='wide']
    body.yooadmin-theme-yooadmin-studio-hub
    .yp-studio-hub
    .yp-studio-hub__main
    .yp-studio-workspace-rows.yp-cards-grid,
  html[data-ysh-layout-width='wide']
    body.yooadmin-theme-yooadmin-studio-hub
    .yp-studio-hub
    .yp-studio-hub__main
    .yp-studio-workspace-rows.yp-icon-grid-boxes,
  html[data-ysh-layout-width='wide']
    body.yooadmin-theme-yooadmin-studio-hub
    .yp-studio-hub
    .yp-studio-hub__main
    .yp-studio-custom-section
    .yp-studio-custom-grid.yp-cards-grid,
  html[data-ysh-layout-width='wide']
    body.yooadmin-theme-yooadmin-studio-hub
    .yp-studio-hub
    .yp-studio-hub__main
    .yp-studio-custom-section
    .yp-studio-custom-grid.yp-icon-grid-boxes,
  html[data-ysh-layout-width='wide']
    body.yooadmin-theme-yooadmin-studio-hub
    .yp-studio-hub
    .yp-studio-hub__main
    .yp-studio-extensions-card
    .yp-studio-extensions-grid.yp-cards-grid,
  html[data-ysh-layout-width='wide']
    body.yooadmin-theme-yooadmin-studio-hub
    .yp-studio-hub
    .yp-studio-hub__main
    .yp-studio-extensions-card
    .yp-studio-extensions-grid.yp-icon-grid-boxes {
    grid-template-columns: repeat(auto-fill, minmax(250px, 250px)) !important;
    justify-content: start;
  }

  html[data-ysh-layout-width='full']
    body.yooadmin-theme-yooadmin-studio-hub
    .yp-studio-hub
    .yp-dashboard-grid[data-yooadmin-top-section='true'] {
    grid-template-columns: minmax(420px, 1fr) minmax(826px, 0.95fr);
    gap: 8px;
  }

  html[data-ysh-layout-width='full']
    body.yooadmin-theme-yooadmin-studio-hub
    .yp-studio-hub
    .yp-studio-surface-card:not(.yp-studio-widget-section) {
    padding: 16px !important;
  }

  html[data-ysh-layout-width='full']
    body.yooadmin-theme-yooadmin-studio-hub
    .yp-studio-hub
    .yp-studio-quick-actions.yp-card {
    padding: 8px !important;
  }

  html[data-ysh-layout-width='full']
    body.yooadmin-theme-yooadmin-studio-hub
    .yp-studio-hub
    .yp-studio-hub__main
    .yp-studio-workspace-rows.yp-cards-grid,
  html[data-ysh-layout-width='full']
    body.yooadmin-theme-yooadmin-studio-hub
    .yp-studio-hub
    .yp-studio-hub__main
    .yp-studio-workspace-rows.yp-icon-grid-boxes,
  html[data-ysh-layout-width='full']
    body.yooadmin-theme-yooadmin-studio-hub
    .yp-studio-hub
    .yp-studio-hub__main
    .yp-studio-custom-section
    .yp-studio-custom-grid.yp-cards-grid,
  html[data-ysh-layout-width='full']
    body.yooadmin-theme-yooadmin-studio-hub
    .yp-studio-hub
    .yp-studio-hub__main
    .yp-studio-custom-section
    .yp-studio-custom-grid.yp-icon-grid-boxes,
  html[data-ysh-layout-width='full']
    body.yooadmin-theme-yooadmin-studio-hub
    .yp-studio-hub
    .yp-studio-hub__main
    .yp-studio-extensions-card
    .yp-studio-extensions-grid.yp-cards-grid,
  html[data-ysh-layout-width='full']
    body.yooadmin-theme-yooadmin-studio-hub
    .yp-studio-hub
    .yp-studio-hub__main
    .yp-studio-extensions-card
    .yp-studio-extensions-grid.yp-icon-grid-boxes {
    grid-template-columns: repeat(auto-fill, minmax(238px, 238px)) !important;
    gap: 6px !important;
    justify-content: start;
  }
}

/*
 * Mobile workspace tiles: legacy yp-dashboard.css forces repeat(2) !important at 782px.
 * Studio Hub rows are horizontal list cards — single column reads better on phones.
 */
@media (max-width: 782px) {
  body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-workspace-rows.yp-cards-grid,
  body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-custom-section .yp-studio-custom-grid.yp-cards-grid,
  body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-extensions-card .yp-studio-extensions-grid.yp-cards-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-extensions-card .yp-studio-extensions-body {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-extensions-card .yp-studio-section-body,
  body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-extensions-card .yp-studio-extensions-grid.yp-cards-grid {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-workspace-rows .yp-icon-tile.yp-studio-ws-row,
  body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-custom-section .yp-icon-tile.yp-studio-ws-row,
  body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-extensions-card .yp-studio-extensions-grid .yp-icon-tile.yp-studio-ws-row {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 68px;
    padding: 10px 12px;
    gap: 10px;
    flex-direction: row !important;
    align-items: center;
    text-align: start;
  }

  body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-workspace-rows .yp-studio-ws-row.yp-icon-tile .yp-studio-ws-row__icon-well.yp-icon,
  body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-custom-section .yp-studio-ws-row.yp-icon-tile .yp-studio-ws-row__icon-well.yp-icon,
  body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-extensions-card .yp-studio-extensions-grid .yp-studio-ws-row.yp-icon-tile .yp-studio-ws-row__icon-well.yp-icon {
    --yp-card-icon-size: 20px;
    --yp-dash-tile-icon: 20px;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    flex: 0 0 44px !important;
    margin: 0 !important;
    margin-bottom: 0 !important;
  }

  body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-workspace-rows .yp-studio-ws-row.yp-icon-tile .yp-studio-ws-row__icon-well.yp-icon .dashicons,
  body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-custom-section .yp-studio-ws-row.yp-icon-tile .yp-studio-ws-row__icon-well.yp-icon .dashicons,
  body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-extensions-card .yp-studio-extensions-grid .yp-studio-ws-row.yp-icon-tile .yp-studio-ws-row__icon-well.yp-icon .dashicons,
  body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-workspace-rows .yp-studio-ws-row.yp-icon-tile .yp-studio-ws-row__icon-well.yp-icon img,
  body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-custom-section .yp-studio-ws-row.yp-icon-tile .yp-studio-ws-row__icon-well.yp-icon img,
  body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-extensions-card .yp-studio-extensions-grid .yp-studio-ws-row.yp-icon-tile .yp-studio-ws-row__icon-well.yp-icon img,
  body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-workspace-rows .yp-studio-ws-row.yp-icon-tile .yp-studio-ws-row__icon-well.yp-icon svg,
  body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-custom-section .yp-studio-ws-row.yp-icon-tile .yp-studio-ws-row__icon-well.yp-icon svg,
  body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-extensions-card .yp-studio-extensions-grid .yp-studio-ws-row.yp-icon-tile .yp-studio-ws-row__icon-well.yp-icon svg {
    font-size: 20px !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
  }

  body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard {
    --yp-studio-card-desc-size: 12px;
  }

  body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-icon-tile.yp-studio-qa-tile .yp-icon-label,
  body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-icon-tile.yp-studio-ws-row .yp-icon-label {
    overflow-wrap: anywhere;
  }

  body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-ws-row .yp-studio-ws-row__desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-workspace-rows .yp-icon-tile.yp-studio-ws-row,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-custom-section .yp-icon-tile.yp-studio-ws-row,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-extensions-card .yp-studio-extensions-grid .yp-icon-tile.yp-studio-ws-row {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border-radius: 12px;
  border: 1px solid transparent;
  border-top-color: transparent !important;
  border-bottom-color: transparent !important;
  background: var(--ysh-tile-bg, var(--ysh-card)) !important;
  box-shadow: var(--ysh-elev-hairline), var(--ysh-elev-1) !important;
  padding: 12px 12px 12px 12px;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  text-align: start;
  min-height: 76px;
  transition: box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-workspace-rows .yp-icon-tile.yp-studio-ws-row:hover,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-workspace-rows .yp-icon-tile.yp-studio-ws-row:focus-visible,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-custom-section .yp-icon-tile.yp-studio-ws-row:hover,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-custom-section .yp-icon-tile.yp-studio-ws-row:focus-visible,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-extensions-card .yp-studio-extensions-grid .yp-icon-tile.yp-studio-ws-row:hover,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-extensions-card .yp-studio-extensions-grid .yp-icon-tile.yp-studio-ws-row:focus-visible {
  box-shadow: var(--ysh-elev-hairline), var(--ysh-elev-2);
  transform: translateY(-1px);
}

/* Workspace + Your plugins rows (below Welcome) — icon well + hydrated plugin icons */
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-workspace-rows .yp-studio-ws-row.yp-icon-tile .yp-studio-ws-row__icon-well.yp-icon,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-extensions-card .yp-studio-extensions-grid .yp-studio-ws-row.yp-icon-tile .yp-studio-ws-row__icon-well.yp-icon {
  box-sizing: border-box;
  --yp-card-icon-size: 22px;
  --yp-dash-tile-icon: 22px;
  width: 54px !important;
  height: 54px !important;
  min-width: 54px !important;
  min-height: 54px !important;
  max-width: 54px !important;
  max-height: 54px !important;
  flex: 0 0 54px !important;
  margin: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  border-radius: 50% !important;
  aspect-ratio: 1 / 1;
  background: var(--ysh-icon-well);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-workspace-rows .yp-studio-ws-row.yp-icon-tile .yp-studio-ws-row__icon-well.yp-icon .dashicons,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-workspace-rows .yp-studio-ws-row.yp-icon-tile .yp-studio-ws-row__icon-well.yp-icon .ypi-wp-glyph,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-workspace-rows .yp-studio-ws-row.yp-icon-tile .yp-studio-ws-row__icon-well.yp-icon img,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-workspace-rows .yp-studio-ws-row.yp-icon-tile .yp-studio-ws-row__icon-well.yp-icon svg,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-workspace-rows .yp-studio-ws-row.yp-icon-tile .yp-studio-ws-row__icon-well.yp-icon .ypi-wp-img,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-workspace-rows .yp-studio-ws-row.yp-icon-tile .yp-studio-ws-row__icon-well.yp-icon .ypi-wp-bg,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-extensions-card .yp-studio-extensions-grid .yp-studio-ws-row.yp-icon-tile .yp-studio-ws-row__icon-well.yp-icon .dashicons,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-extensions-card .yp-studio-extensions-grid .yp-studio-ws-row.yp-icon-tile .yp-studio-ws-row__icon-well.yp-icon .ypi-wp-glyph,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-extensions-card .yp-studio-extensions-grid .yp-studio-ws-row.yp-icon-tile .yp-studio-ws-row__icon-well.yp-icon img,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-extensions-card .yp-studio-extensions-grid .yp-studio-ws-row.yp-icon-tile .yp-studio-ws-row__icon-well.yp-icon svg,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-extensions-card .yp-studio-extensions-grid .yp-studio-ws-row.yp-icon-tile .yp-studio-ws-row__icon-well.yp-icon .ypi-wp-img,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-extensions-card .yp-studio-extensions-grid .yp-studio-ws-row.yp-icon-tile .yp-studio-ws-row__icon-well.yp-icon .ypi-wp-bg {
  font-size: 22px !important;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  object-fit: contain !important;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-workspace-rows .yp-studio-ws-row.yp-icon-tile .yp-studio-ws-row__icon-well.yp-icon .dashicons,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-extensions-card .yp-studio-extensions-grid .yp-studio-ws-row.yp-icon-tile .yp-studio-ws-row__icon-well.yp-icon .dashicons {
  color: var(--ysh-brand);
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-workspace-rows .yp-studio-ws-row.yp-icon-tile .yp-studio-ws-row__icon-well.yp-icon .ypi-wp-bg,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-extensions-card .yp-studio-extensions-grid .yp-studio-ws-row.yp-icon-tile .yp-studio-ws-row__icon-well.yp-icon .ypi-wp-bg {
  background-color: var(--ysh-brand) !important;
  -webkit-mask-size: contain !important;
  mask-size: contain !important;
  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;
  -webkit-mask-position: center !important;
  mask-position: center !important;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-ws-row .yp-studio-ws-row__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

/* Workspace row title typography: see unified dashboard tile title rule above */

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-ws-row .yp-studio-ws-row__desc {
  color: var(--ysh-muted);
  font-size: var(--yp-studio-card-desc-size, 11px);
  font-weight: var(--yp-studio-card-desc-weight, 400);
  line-height: var(--yp-studio-card-desc-lh, 1.35);
  margin: 0;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-ws-row .yp-card-icon-edit {
  flex-shrink: 0;
  align-self: center;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-ws-row .yp-card-icon-edit .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
}

/* Extension slots — 3 columns like mockup, tighter */
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-extension-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 720px) {
  body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-extension-slots {
    grid-template-columns: 1fr;
  }
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-extension-slot {
  border: 2px dashed color-mix(in srgb, var(--ysh-brand, #eda934) 45%, transparent);
  border-radius: 10px;
  min-height: 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 10px;
  color: var(--ysh-muted);
  text-align: center;
  background: var(--ysh-card);
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-extension-slot__icon-well {
  box-sizing: border-box;
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  max-width: 48px !important;
  max-height: 48px !important;
  border-radius: 50% !important;
  aspect-ratio: 1 / 1;
  background: var(--ysh-icon-well);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-extension-slot__icon-well .dashicons {
  color: var(--ysh-brand);
  font-size: 16px !important;
  width: 16px !important;
  height: 16px !important;
  line-height: 1 !important;
  opacity: 0.95;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-extension-slot__title {
  font-weight: 600;
  font-size: 13px;
  color: var(--ysh-heading);
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-extension-slot__hint {
  font-size: 11px;
  line-height: 1.35;
}

/* Aside widgets */
.yp-studio-aside-card {
  border-radius: var(--ysh-radius);
  border: 1px solid transparent;
  background: var(--ysh-card-raised, var(--ysh-card));
  box-shadow: var(--ysh-elev-inset-top), var(--ysh-elev-2);
  padding: 16px 16px 14px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.yp-studio-aside-card h3 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ysh-heading);
  display: flex;
  align-items: center;
  gap: 8px;
}

.yp-studio-aside-card h3 .dashicons {
  color: var(--ysh-brand);
}

/* Activity / Tips — movable sections (single card frame, draggable header in edit mode) */
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__aside .yp-studio-aside-layout-section {
  position: relative;
}

.yp-studio-aside-layout-section .yp-card-header.yp-section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  min-height: 28px;
}

.yp-studio-aside-layout-section .yp-studio-aside-section__body {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--ysh-border, rgba(0, 0, 0, 0.08));
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.yp-studio-activity-card-body {
  min-width: 0;
  max-width: 100%;
}

.yp-studio-aside-layout-section .yp-studio-aside-section__title {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ysh-heading);
  display: flex;
  align-items: center;
  gap: 8px;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__aside .yp-section-title {
  font-size: 14px;
}

.yp-studio-aside-layout-section .yp-studio-aside-section__title .dashicons {
  color: var(--ysh-brand);
}

body.yp-icon-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-aside-layout-section .yp-card-header.yp-section-header,
body.yp-layout-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-aside-layout-section .yp-card-header.yp-section-header {
  position: relative;
  cursor: grab;
}

.yp-studio-activity-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.yp-studio-activity-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--ysh-border, #e5e5e5) 70%, transparent);
}

.yp-studio-activity-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.yp-studio-activity-item:first-child {
  padding-top: 0;
}

.yp-studio-activity-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--ysh-brand, #eda934) 10%, var(--ysh-card, #fff));
  flex-shrink: 0;
}

.yp-studio-activity-item__icon .dashicons {
  color: var(--ysh-brand, #eda934);
  font-size: 16px;
  width: 16px;
  height: 16px;
  margin: 0;
}

.yp-studio-activity-item__content {
  min-width: 0;
  flex: 1;
}

.yp-studio-activity-item__line {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ysh-text, #444);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.yp-studio-activity-item__action {
  color: var(--ysh-muted, #667085);
  font-weight: 500;
}

.yp-studio-activity-item__subject {
  color: var(--ysh-heading, #2a3340);
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: none !important;
  margin-left: 4px;
}

a.yp-studio-activity-item__subject:hover,
a.yp-studio-activity-item__subject:focus {
  color: var(--ysh-brand, #eda934);
  text-decoration: none !important;
}

.yp-studio-activity-item__meta {
  margin: 4px 0 0;
  font-size: 11px;
  color: var(--ysh-muted, #667085);
}

.yp-studio-activity-item--empty .yp-studio-activity-item__action {
  color: var(--ysh-heading, #2a3340);
  font-weight: 600;
}

.yp-studio-activity-footer {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--ysh-border, #e5e5e5);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.yp-studio-activity-view-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 9px 14px;
  border-radius: 8px;
  border: 1px solid var(--ysh-border, #dcdcde);
  background: color-mix(in srgb, var(--ysh-card, #fff) 92%, var(--ysh-brand, #eda934) 8%);
  color: var(--ysh-heading, #2a3340) !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.yp-studio-activity-view-all .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
  color: var(--ysh-muted, #667085);
  transition: color 0.15s ease, transform 0.15s ease;
}

.yp-studio-activity-view-all:hover,
.yp-studio-activity-view-all:focus {
  border-color: color-mix(in srgb, var(--ysh-brand, #eda934) 45%, var(--ysh-border, #dcdcde));
  background: color-mix(in srgb, var(--ysh-brand, #eda934) 12%, var(--ysh-card, #fff));
  color: var(--ysh-heading, #2a3340) !important;
  text-decoration: none !important;
}

.yp-studio-activity-view-all:hover .dashicons,
.yp-studio-activity-view-all:focus .dashicons {
  color: var(--ysh-brand, #eda934);
  transform: translateX(2px);
}

html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-activity-item__icon,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-activity-item__icon {
  background: color-mix(in srgb, var(--ysh-brand, #eda934) 14%, rgba(255, 255, 255, 0.04));
}

html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-activity-view-all,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-activity-view-all {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--ysh-border, rgba(255, 255, 255, 0.12));
  color: var(--ysh-heading, #d8d3ce) !important;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-aside-card--updates {
  padding: 0;
  overflow: hidden;
}

/* Dashboard widget sections — no outer card padding (content controls its own spacing). */
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-studio-widget-section.yp-studio-surface-card {
  padding: 0 !important;
  overflow: hidden;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-studio-widget-section > .yp-card-header.yp-section-header {
  margin: 0;
  padding: 14px 16px 10px;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-studio-widget-section > .yp-studio-widget-section__body,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-studio-widget-section .yp-studio-widget-section__inner {
  margin: 0;
  padding: 0 !important;
  min-width: 0;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-widget-section[data-widget-id="studio-updates"],
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-widget-section--studio-updates,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-widget-section[data-widget-id="studio-login-security"],
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-widget-section--studio-login-security {
  padding: 0 !important;
  overflow: hidden;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-widget-section[data-widget-id="studio-login-security"] > .yp-card-header.yp-section-header,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-widget-section--studio-login-security > .yp-card-header.yp-section-header {
  margin: 0;
  padding: 14px 16px 10px;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-aside-card--updates .yp-card-header.yp-section-header {
  padding: 14px 16px 10px;
}

.yp-studio-updates-update-all {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 24px;
  padding: 3px 7px;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--ysh-brand, #eda934) 38%, var(--ysh-border, #dcdcde));
  background: color-mix(in srgb, var(--ysh-brand, #eda934) 12%, var(--ysh-card, #fff));
  color: var(--ysh-heading, #2a3340) !important;
  cursor: pointer;
  font: inherit;
  font-size: 9.5px !important;
  font-weight: 500 !important;
  line-height: 1;
  letter-spacing: 0 !important;
  text-transform: none !important;
  white-space: nowrap;
  box-shadow: none !important;
  transition: border-color 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}

.yp-studio-updates-update-all[hidden] {
  display: none !important;
}

.yp-studio-updates-update-all:hover,
.yp-studio-updates-update-all:focus {
  border-color: color-mix(in srgb, var(--ysh-brand, #eda934) 62%, var(--ysh-border, #dcdcde));
  background: color-mix(in srgb, var(--ysh-brand, #eda934) 18%, var(--ysh-card, #fff));
  color: var(--ysh-heading, #2a3340) !important;
}

.yp-studio-updates-update-all:disabled,
.yp-studio-updates-update-all[aria-disabled="true"] {
  cursor: default;
  opacity: 0.76;
}

.yp-studio-updates-update-all__spinner,
.yp-studio-updates-view-all__spinner {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-direction: row !important;
}

.yp-studio-updates-update-all__spinner {
  flex-basis: 14px;
  width: 14px !important;
  height: 14px !important;
}

.yp-studio-updates-update-all__spinner[hidden] {
  display: none !important;
}

.yp-studio-updates-update-all__spinner .yp-spinner-circle,
.yp-studio-updates-view-all__spinner .yp-spinner-circle {
  flex: 0 0 auto;
  box-sizing: border-box;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  margin: 0 !important;
  border-width: 2px;
}

.yp-studio-updates-update-all__spinner .yp-spinner-circle {
  width: 14px !important;
  height: 14px !important;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-widget-section[data-widget-id="studio-updates"] > .yp-card-header.yp-section-header,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-widget-section--studio-updates > .yp-card-header.yp-section-header {
  margin: 0;
  padding: 14px 16px 10px;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-aside-card--updates .yp-studio-aside-section__body {
  margin-top: 0;
  padding: 0;
  border-top: 0;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-widget-section[data-widget-id="studio-updates"] > .yp-studio-widget-section__body,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-widget-section[data-widget-id="studio-updates"] .yp-studio-widget-section__inner,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-widget-section[data-widget-id="studio-updates"] .yp-studio-dashboard-card--studio-updates,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-widget-section--studio-updates > .yp-studio-widget-section__body,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-widget-section--studio-updates .yp-studio-widget-section__inner,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-widget-section--studio-updates .yp-studio-dashboard-card--studio-updates {
  margin: 0;
  padding: 0 !important;
  min-width: 0;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-widget-section[data-widget-id="studio-updates"] .yp-studio-widget-section__inner,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-widget-section--studio-updates .yp-studio-widget-section__inner {
  overflow: visible;
}

.yp-studio-updates-card-body {
  display: block;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.yp-studio-updates-summary {
  display: flex;
  align-items: flex-start;
  align-self: stretch;
  gap: 10px;
  margin: 0;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  padding: 10px 16px;
  border: 0;
  border-radius: 0;
  background: color-mix(in srgb, var(--ysh-card, #fff) 96%, var(--ysh-brand, #eda934) 4%);
}

.yp-studio-updates-summary.is-clear {
  background: color-mix(in srgb, var(--ysh-card, #fff) 92%, var(--ysh-brand, #eda934) 8%);
}

.yp-studio-updates-summary__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ysh-brand, #eda934);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.yp-studio-updates-summary.is-clear .yp-studio-updates-summary__icon {
  color: var(--ysh-brand, #eda934);
}

.yp-studio-updates-summary__icon .dashicons {
  width: 16px;
  height: 16px;
  font-size: 16px;
  line-height: 1;
}

.yp-studio-updates-summary__copy {
  min-width: 0;
  flex: 1 1 auto;
}

.yp-studio-updates-summary__title {
  margin: 0;
  color: var(--ysh-heading, #2a3340);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.yp-studio-updates-summary__text {
  margin: 2px 0 0;
  color: var(--ysh-muted, #667085);
  font-size: 12px;
  line-height: 1.4;
}

.yp-studio-updates-product-notice {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 8px 12px 0;
  padding: 0;
}

.yp-studio-updates-product-notice--after-list {
  margin: 10px 12px 4px;
}

.yp-studio-updates-product-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--ysh-border-subtle, #e4e7ec) 88%, transparent);
  background: color-mix(in srgb, var(--ysh-card, #fff) 94%, var(--ysh-brand, #eda934) 6%);
  box-sizing: border-box;
}

.yp-studio-updates-product-row--latest {
  border-color: color-mix(in srgb, var(--ysh-brand, #eda934) 22%, var(--ysh-border-subtle, #e4e7ec));
}

.yp-studio-updates-product-row--update {
  border-color: color-mix(in srgb, var(--ysh-brand, #eda934) 35%, var(--ysh-border-subtle, #e4e7ec));
  background: color-mix(in srgb, var(--ysh-card, #fff) 90%, var(--ysh-brand, #eda934) 10%);
}

.yp-studio-updates-product-row--missing,
.yp-studio-updates-product-row--inactive {
  border-style: dashed;
  border-color: color-mix(in srgb, var(--ysh-brand, #eda934) 40%, var(--ysh-border-subtle, #e4e7ec));
}

.yp-studio-updates-product-row__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.65);
  color: var(--ysh-brand, #eda934);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.yp-studio-updates-product-row__icon .dashicons {
  width: 14px;
  height: 14px;
  font-size: 14px;
  line-height: 1;
}

.yp-studio-updates-product-row__copy {
  min-width: 0;
  flex: 1 1 auto;
}

.yp-studio-updates-product-row__title {
  margin: 0;
  color: var(--ysh-heading, #2a3340);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.yp-studio-updates-product-row__detail {
  margin: 2px 0 0;
  color: var(--ysh-muted, #667085);
  font-size: 11px;
  line-height: 1.35;
}

.yp-studio-updates-product-row__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--ysh-brand, #eda934) 45%, transparent);
  background: color-mix(in srgb, var(--ysh-brand, #eda934) 12%, var(--ysh-card, #fff));
  color: var(--ysh-brand, #eda934);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

button.yp-studio-updates-product-row__cta {
  cursor: pointer;
  font: inherit;
}

button.yp-studio-updates-product-row__cta:disabled,
button.yp-studio-updates-product-row__cta[aria-disabled="true"] {
  opacity: 0.65;
  cursor: not-allowed;
}

.yp-studio-updates-product-row__cta.is-done {
  pointer-events: none;
  opacity: 0.85;
}

.yp-studio-updates-product-row__cta:hover,
.yp-studio-updates-product-row__cta:focus-visible {
  background: color-mix(in srgb, var(--ysh-brand, #eda934) 18%, var(--ysh-card, #fff));
  border-color: var(--ysh-brand, #eda934);
  color: var(--ysh-brand, #eda934);
  outline: none;
}

.yp-studio-updates-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 7px;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  margin: 10px 0 0;
  padding: 0 12px;
}

.yp-studio-updates-summary.is-clear + .yp-studio-updates-tabs {
  padding-bottom: 12px;
}

.yp-studio-updates-tab {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  min-width: 0;
  padding: 7px 8px;
  border-radius: 9px;
  border: 1px solid color-mix(in srgb, var(--ysh-border, #dcdcde) 76%, transparent);
  background: color-mix(in srgb, var(--ysh-card, #fff) 94%, var(--ysh-muted, #667085) 6%);
  color: var(--ysh-muted, #667085);
  font-size: 11px;
  font-weight: 650;
  line-height: 1;
}

.yp-studio-updates-tab.has-updates {
  border-color: color-mix(in srgb, var(--ysh-brand, #eda934) 34%, var(--ysh-border, #dcdcde));
  background: color-mix(in srgb, var(--ysh-brand, #eda934) 10%, var(--ysh-card, #fff));
  color: var(--ysh-heading, #2a3340);
}

.yp-studio-updates-tab .dashicons {
  width: 14px;
  height: 14px;
  font-size: 14px;
  line-height: 1;
  color: currentColor;
}

.yp-studio-updates-tab__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yp-studio-updates-tab__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--ysh-heading, #2a3340);
  font-size: 10.5px;
  font-weight: 750;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-aside-card--updates .yp-studio-updates-card-body,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-widget-section[data-widget-id="studio-updates"] .yp-studio-updates-card-body,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-widget-section--studio-updates .yp-studio-updates-card-body {
  padding-bottom: 14px;
  box-sizing: border-box;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__aside .yp-studio-updates-tabs,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-widget-section[data-custom-placement="aside"][data-widget-id="studio-updates"] .yp-studio-updates-tabs,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-widget-section--studio-updates[data-custom-placement="aside"] .yp-studio-updates-tabs {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 5px;
  margin: 10px 0 0;
  padding: 0 10px 14px;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__aside .yp-studio-updates-summary.is-clear + .yp-studio-updates-tabs,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-widget-section[data-custom-placement="aside"][data-widget-id="studio-updates"] .yp-studio-updates-summary.is-clear + .yp-studio-updates-tabs,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-widget-section--studio-updates[data-custom-placement="aside"] .yp-studio-updates-summary.is-clear + .yp-studio-updates-tabs {
  padding-bottom: 14px !important;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__aside .yp-studio-updates-tab,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-widget-section[data-custom-placement="aside"][data-widget-id="studio-updates"] .yp-studio-updates-tab,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-widget-section--studio-updates[data-custom-placement="aside"] .yp-studio-updates-tab {
  justify-content: center;
  padding: 6px 4px !important;
  gap: 3px;
  border-radius: 8px;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__aside .yp-studio-updates-tab .dashicons,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-widget-section[data-custom-placement="aside"][data-widget-id="studio-updates"] .yp-studio-updates-tab .dashicons,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-widget-section--studio-updates[data-custom-placement="aside"] .yp-studio-updates-tab .dashicons {
  width: 15px !important;
  height: 15px !important;
  font-size: 15px !important;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__aside .yp-studio-updates-tab__count,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-widget-section[data-custom-placement="aside"][data-widget-id="studio-updates"] .yp-studio-updates-tab__count,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-widget-section--studio-updates[data-custom-placement="aside"] .yp-studio-updates-tab__count {
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  font-size: 9.5px;
  font-weight: 700;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__aside .yp-studio-updates-tab__label,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-widget-section[data-custom-placement="aside"][data-widget-id="studio-updates"] .yp-studio-updates-tab__label,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-widget-section--studio-updates[data-custom-placement="aside"] .yp-studio-updates-tab__label {
  display: none;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__aside .yp-studio-updates-tab__count,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-widget-section[data-custom-placement="aside"][data-widget-id="studio-updates"] .yp-studio-updates-tab__count,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-widget-section--studio-updates[data-custom-placement="aside"] .yp-studio-updates-tab__count {
  margin-left: 0;
}

.yp-studio-updates-list {
  list-style: none;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  margin: 8px 0 0;
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.yp-studio-updates-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 7px 8px;
  border-radius: 9px;
  border: 1px solid color-mix(in srgb, var(--ysh-border, #dcdcde) 66%, transparent);
  background: color-mix(in srgb, var(--ysh-card, #fff) 96%, var(--ysh-muted, #667085) 4%);
}

.yp-studio-updates-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  flex: 0 0 auto;
  background: color-mix(in srgb, var(--ysh-brand, #eda934) 12%, var(--ysh-card, #fff));
  color: var(--ysh-brand, #eda934);
}

.yp-studio-updates-item__icon .dashicons {
  width: 14px;
  height: 14px;
  font-size: 14px;
  line-height: 1;
}

.yp-studio-updates-item__content {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.yp-studio-updates-item__title {
  max-width: 100%;
  overflow: hidden;
  color: var(--ysh-heading, #2a3340) !important;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none !important;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow: none !important;
}

.yp-studio-updates-item__title:hover,
.yp-studio-updates-item__title:focus {
  color: var(--ysh-brand, #eda934) !important;
}

.yp-studio-updates-item__meta {
  color: var(--ysh-muted, #667085);
  font-size: 11px;
  line-height: 1.35;
}

.yp-studio-updates-item__actions {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  margin-left: auto;
}

.yp-studio-updates-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 5px 8px;
  border: 1px solid color-mix(in srgb, var(--ysh-brand, #eda934) 42%, var(--ysh-border, #dcdcde));
  border-radius: 8px;
  background: color-mix(in srgb, var(--ysh-brand, #eda934) 14%, var(--ysh-card, #fff));
  color: var(--ysh-heading, #2a3340) !important;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: none !important;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.yp-studio-updates-action:hover,
.yp-studio-updates-action:focus {
  border-color: color-mix(in srgb, var(--ysh-brand, #eda934) 68%, var(--ysh-border, #dcdcde));
  background: color-mix(in srgb, var(--ysh-brand, #eda934) 22%, var(--ysh-card, #fff));
  color: var(--ysh-heading, #2a3340) !important;
}

.yp-studio-updates-action:disabled,
.yp-studio-updates-action[aria-disabled="true"] {
  cursor: default;
  opacity: 0.72;
}

.yp-studio-updates-is-empty {
  display: none !important;
}

.yp-studio-updates-item.is-updating .yp-studio-updates-action {
  border-color: color-mix(in srgb, var(--ysh-brand, #eda934) 58%, var(--ysh-border, #dcdcde));
}

.yp-studio-updates-item.is-updated {
  border-color: color-mix(in srgb, #22c55e 40%, var(--ysh-border, #dcdcde));
  background: color-mix(in srgb, #22c55e 8%, var(--ysh-card, #fff));
}

.yp-studio-updates-item.is-updated .yp-studio-updates-item__icon {
  background: color-mix(in srgb, #22c55e 14%, var(--ysh-card, #fff));
  color: #16a34a;
}

.yp-studio-updates-item.is-error {
  border-color: color-mix(in srgb, #dc2626 44%, var(--ysh-border, #dcdcde));
  background: color-mix(in srgb, #dc2626 7%, var(--ysh-card, #fff));
}

.yp-studio-updates-item__status {
  min-height: 0;
  color: var(--ysh-muted, #667085);
  font-size: 10.5px;
  line-height: 1.35;
}

.yp-studio-updates-item.is-updated .yp-studio-updates-item__status {
  color: #16a34a;
}

.yp-studio-updates-item.is-error .yp-studio-updates-item__status {
  color: #dc2626;
}

.yp-studio-updates-groups {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 10px 0 0;
  padding: 0 12px;
}

.yp-studio-updates-groups[hidden],
.yp-studio-updates-list[hidden] {
  display: none !important;
}

.yp-studio-updates-card-body.is-toggle-loading .yp-studio-updates-list,
.yp-studio-updates-card-body.is-toggle-loading .yp-studio-updates-groups {
  display: none !important;
}

.yp-studio-updates-group {
  min-width: 0;
}

.yp-studio-updates-group__title {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 6px;
  color: var(--ysh-heading, #2a3340);
  font-size: 11.5px;
  font-weight: 750;
  line-height: 1.2;
}

.yp-studio-updates-group__title .dashicons {
  width: 14px;
  height: 14px;
  color: var(--ysh-brand, #eda934);
  font-size: 14px;
  line-height: 1;
}

.yp-studio-updates-group__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  margin-left: auto;
  padding: 0 5px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ysh-card, #fff) 88%, var(--ysh-muted, #667085) 12%);
  color: var(--ysh-heading, #2a3340);
  font-size: 10px;
}

.yp-studio-updates-list--grouped {
  margin-top: 0;
  padding: 0;
}

.yp-studio-updates-footer {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  margin: 8px 0 12px;
  padding: 0 12px;
}

.yp-studio-updates-view-all {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 6px 9px;
  border-radius: 8px;
  border: 1px solid var(--ysh-border, #dcdcde);
  background: color-mix(in srgb, var(--ysh-card, #fff) 92%, var(--ysh-brand, #eda934) 8%);
  color: var(--ysh-heading, #2a3340) !important;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.yp-studio-updates-view-all .dashicons {
  width: 16px;
  height: 16px;
  color: var(--ysh-muted, #667085);
  font-size: 16px;
  transition: color 0.15s ease, transform 0.15s ease;
}

.yp-studio-updates-view-all__spinner {
  flex-basis: 22px;
  width: 22px !important;
  height: 22px !important;
}

.yp-studio-updates-view-all__spinner[hidden] {
  display: none !important;
}

.yp-studio-updates-view-all__spinner .yp-spinner-circle {
  width: 22px !important;
  height: 22px !important;
}

.yp-studio-updates-view-all.is-loading {
  justify-content: center;
  border-color: transparent;
  background: transparent;
  cursor: wait;
  opacity: 1;
  box-shadow: none !important;
}

.yp-studio-updates-view-all.is-loading:hover,
.yp-studio-updates-view-all.is-loading:focus {
  border-color: transparent;
  background: transparent;
  box-shadow: none !important;
}

.yp-studio-updates-view-all:hover,
.yp-studio-updates-view-all:focus {
  border-color: color-mix(in srgb, var(--ysh-brand, #eda934) 45%, var(--ysh-border, #dcdcde));
  background: color-mix(in srgb, var(--ysh-brand, #eda934) 12%, var(--ysh-card, #fff));
  color: var(--ysh-heading, #2a3340) !important;
  text-decoration: none !important;
}

.yp-studio-updates-fallback-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--ysh-brand, #eda934);
  font-size: 12px;
  font-weight: 650;
}

html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-aside-card--updates,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-aside-card--updates,
html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-widget-section[data-widget-id="studio-updates"],
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-widget-section[data-widget-id="studio-updates"],
html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-widget-section--studio-updates,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-widget-section--studio-updates {
  background: var(--ysh-card, #fff);
}

html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-updates-summary,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-updates-summary {
  background: color-mix(in srgb, var(--ysh-card, #fff) 98.5%, var(--ysh-brand, #eda934) 1.5%);
}

html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-updates-summary.is-clear,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-updates-summary.is-clear {
  background: color-mix(in srgb, var(--ysh-card, #fff) 98%, #22c55e 2%);
}

html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-updates-tab,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-updates-tab,
html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-updates-item,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-updates-item {
  background: color-mix(in srgb, var(--ysh-card, #fff) 98.5%, var(--ysh-muted, #667085) 1.5%);
  border-color: color-mix(in srgb, var(--ysh-border, #dcdcde) 62%, transparent);
}

html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-updates-tab.has-updates,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-updates-tab.has-updates,
html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-updates-update-all,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-updates-update-all,
html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-updates-action,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-updates-action,
html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-updates-view-all,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-updates-view-all {
  background: color-mix(in srgb, var(--ysh-card, #fff) 97.5%, var(--ysh-brand, #eda934) 2.5%);
}

html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-updates-view-all.is-loading,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-updates-view-all.is-loading,
html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-updates-view-all.is-loading,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-updates-view-all.is-loading {
  border-color: transparent;
  background: transparent;
  box-shadow: none !important;
}

html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-updates-tab__count,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-updates-tab__count,
html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-updates-group__count,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="light"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-updates-group__count {
  background: #fff;
}

html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-updates-summary,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-updates-summary {
  background: rgba(255, 255, 255, 0.025);
  border-color: transparent;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-aside-card--updates,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-aside-card--updates,
html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-widget-section[data-widget-id="studio-updates"],
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-widget-section[data-widget-id="studio-updates"] {
  border-color: rgba(255, 255, 255, 0.1);
}

html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-updates-summary.is-clear,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-updates-summary.is-clear {
  background: color-mix(in srgb, var(--ysh-brand, #eda934) 10%, transparent);
  border-color: color-mix(in srgb, var(--ysh-brand, #eda934) 18%, transparent);
}

html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-updates-product-row,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-updates-product-row {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
}

html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-updates-product-row__icon,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-updates-product-row__icon {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-updates-product-row__cta,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-updates-product-row__cta {
  background: color-mix(in srgb, var(--ysh-brand, #eda934) 14%, transparent);
  border-color: color-mix(in srgb, var(--ysh-brand, #eda934) 40%, transparent);
}

html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-updates-summary__icon,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-updates-summary__icon,
html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-updates-tab__count,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-updates-tab__count {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-updates-tab,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-updates-tab,
html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-updates-item,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-updates-item {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-updates-tab.has-updates,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-updates-tab.has-updates {
  background: rgba(var(--ysh-brand-rgb, 233, 168, 57), 0.08);
  border-color: rgba(var(--ysh-brand-rgb, 233, 168, 57), 0.2);
}

html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-updates-item__icon,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-updates-item__icon {
  background: var(--ysh-brand-soft-bg, rgba(233, 168, 57, 0.12));
}

html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-updates-action,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-updates-action,
html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-updates-update-all,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-updates-update-all {
  background: var(--ysh-brand-soft-bg, rgba(233, 168, 57, 0.12));
  border-color: rgba(var(--ysh-brand-rgb, 233, 168, 57), 0.25);
  color: var(--ysh-heading, #d8d3ce) !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-updates-action:hover,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-updates-action:hover,
html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-updates-action:focus,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-updates-action:focus,
html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-updates-update-all:hover,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-updates-update-all:hover,
html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-updates-update-all:focus,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-updates-update-all:focus {
  background: rgba(var(--ysh-brand-rgb, 233, 168, 57), 0.16);
  border-color: rgba(var(--ysh-brand-rgb, 233, 168, 57), 0.38);
}

html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-updates-item.is-updated,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-updates-item.is-updated {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.22);
}

html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-updates-item.is-updated .yp-studio-updates-item__icon,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-updates-item.is-updated .yp-studio-updates-item__icon {
  background: rgba(34, 197, 94, 0.14);
  color: #4ade80;
}

html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-updates-item.is-error,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-updates-item.is-error {
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.24);
}

html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-updates-group__count,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-updates-group__count {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ysh-heading, #d8d3ce);
}

html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-updates-view-all,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-updates-view-all {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--ysh-border, rgba(255, 255, 255, 0.12));
  color: var(--ysh-heading, #d8d3ce) !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-updates-view-all.is-loading,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] .yp-studio-updates-view-all.is-loading {
  border-color: transparent;
  background: transparent;
  box-shadow: none !important;
}

.yp-studio-aside-footer {
  margin-top: 12px;
}

.yp-studio-aside-footer .button {
  width: 100%;
  justify-content: center;
}

.yp-studio-tip {
  font-size: 13px;
  color: var(--ysh-muted);
  line-height: 1.45;
  margin: 0;
}

/* Workspace Notes — aside panel */
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__item-title,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__item-desc,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__item-meta,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__empty,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__input,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__textarea {
  font-family: var(--yooadmin-latin-font-family, 'Montserrat'), 'Tajawal', sans-serif;
}

:is([dir="rtl"], body.yooadmin-arabic-ui) body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes,
:is([dir="rtl"], body.yooadmin-arabic-ui) body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__item-title,
:is([dir="rtl"], body.yooadmin-arabic-ui) body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__item-desc,
:is([dir="rtl"], body.yooadmin-arabic-ui) body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__item-meta,
:is([dir="rtl"], body.yooadmin-arabic-ui) body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__empty,
:is([dir="rtl"], body.yooadmin-arabic-ui) body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__type-trigger,
:is([dir="rtl"], body.yooadmin-arabic-ui) body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__type-option,
:is([dir="rtl"], body.yooadmin-arabic-ui) body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__load-more,
:is([dir="rtl"], body.yooadmin-arabic-ui) body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__input,
:is([dir="rtl"], body.yooadmin-arabic-ui) body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__textarea {
  font-family: 'Tajawal', var(--yooadmin-latin-font-family, 'Montserrat'), sans-serif;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes-card {
  position: relative;
  z-index: 1;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes-card.is-type-menu-open {
  z-index: 50;
  overflow: visible;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes-card .yp-studio-aside-section__body {
  padding-top: 4px;
  overflow: visible;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__type-picker {
  position: relative;
  flex: 1;
  min-width: 0;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__type-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin: 0;
  padding: 7px 10px;
  border: 1px solid var(--ysh-border-subtle);
  border-radius: 8px;
  background: var(--ysh-tile-bg, var(--ysh-card));
  color: var(--ysh-heading);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  font-family: inherit;
  text-align: start;
  transition: border-color 0.15s ease, background 0.15s ease;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__type-trigger .dashicons:first-child {
  font-size: 16px;
  width: 16px;
  height: 16px;
  color: var(--ysh-brand);
  flex-shrink: 0;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__type-trigger-label {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__type-trigger .dashicons-arrow-down-alt2 {
  font-size: 14px;
  width: 14px;
  height: 14px;
  color: var(--ysh-muted);
  flex-shrink: 0;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__type-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 100;
  list-style: none;
  margin: 0;
  padding: 4px;
  border: 1px solid var(--ysh-border-subtle);
  border-radius: 8px;
  background: var(--ysh-card);
  box-shadow: var(--ysh-elev-1, 0 4px 12px rgba(0, 0, 0, 0.12));
  max-height: min(280px, 60vh);
  overflow-y: auto;
  overscroll-behavior: contain;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__type-menu--portaled {
  position: fixed;
  z-index: 100000;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__type-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 8px 10px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--ysh-text);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  text-align: start;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__type-option .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
  color: var(--ysh-brand);
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__type-option:hover,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__type-option.is-active {
  background: color-mix(in srgb, var(--ysh-brand) 10%, var(--ysh-card));
}

/* Add (+) — square; beats yp-yoo-btn global min-height: 34px */
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__add-btn.yp-yoo-btn {
  flex-shrink: 0;
  width: 26px !important;
  min-width: 26px !important;
  max-width: 26px !important;
  height: 26px !important;
  min-height: 26px !important;
  max-height: 26px !important;
  margin: 0;
  padding: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes.is-add-open .yp-studio-workspace-notes__add-btn.yp-yoo-btn--soft {
  background: var(--yp-yoo-btn-soft-bg-hover, #f5f5f7) !important;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__add-btn .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
  color: inherit;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__list {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: visible;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__list-wrap {
  margin-bottom: 12px;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__load-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: 8px 0 0;
  padding: 8px 12px;
  min-height: 0;
  border: 1px solid var(--ysh-border-subtle, #e4e7ec);
  border-radius: 8px;
  background: transparent;
  color: var(--yooadmin-primary, var(--ysh-brand, #eda934));
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__load-more:hover,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__load-more:focus-visible {
  background: color-mix(in srgb, var(--yooadmin-primary, var(--ysh-brand, #eda934)) 10%, transparent);
  outline: none;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__load-more[hidden] {
  display: none !important;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__load-more.is-loading {
  pointer-events: none;
  opacity: 0.85;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__load-more-label {
  display: inline;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__load-more.is-loading .yp-studio-workspace-notes__load-more-label {
  display: none;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__load-more-spinner {
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  min-height: 0;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__load-more.is-loading .yp-studio-workspace-notes__load-more-spinner {
  display: inline-flex;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__load-more-spinner .yp-spinner-circle {
  width: 16px;
  height: 16px;
  margin: 0;
  border-width: 2px;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__item,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__empty {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 8px;
  border-radius: 8px;
  border: 1px solid var(--ysh-border-subtle);
  background: var(--ysh-tile-bg, var(--ysh-card));
  margin-bottom: 6px;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__empty {
  display: block;
  text-align: center;
  color: var(--ysh-muted);
  font-size: 12px;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__item.is-done {
  opacity: 0.55;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__item.is-done .yp-studio-workspace-notes__item-title {
  text-decoration: line-through;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__check {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  padding: 0;
  border: 1px solid var(--ysh-border);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__item.is-done .yp-studio-workspace-notes__check,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__check[aria-pressed="true"] {
  background: var(--ysh-brand);
  border-color: var(--ysh-brand);
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__item.is-done .yp-studio-workspace-notes__check::after,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__check[aria-pressed="true"]::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -62%) rotate(45deg);
  box-sizing: border-box;
  pointer-events: none;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__item-title {
  font-size: 12px;
  font-weight: 500;
  color: var(--ysh-heading);
  line-height: 1.3;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__item-desc,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__item-meta {
  font-size: 11px;
  color: var(--ysh-muted);
  line-height: 1.35;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__item-meta--due {
  color: color-mix(in srgb, var(--ysh-brand) 75%, var(--ysh-muted));
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__item-meta--done {
  color: color-mix(in srgb, #2e7d32 80%, var(--ysh-muted));
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__form-wrap {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--ysh-border-subtle);
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__delete {
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--ysh-muted);
  cursor: pointer;
  line-height: 1;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__delete:hover {
  color: #c0392b;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__delete .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__input,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__textarea {
  width: 100%;
  box-sizing: border-box;
  border-radius: 8px;
  border: 1px solid var(--ysh-border-subtle);
  background: var(--ysh-card);
  color: var(--ysh-text);
  font-size: 13px;
  padding: 8px 10px;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__field-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--ysh-muted);
  margin-bottom: 6px;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__datetime-hint {
  margin: 6px 0 0;
  font-size: 10px;
  line-height: 1.35;
  color: var(--ysh-muted);
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__datetime-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 8px;
  border-radius: 8px;
  border: 1px solid var(--ysh-border-subtle);
  background: var(--ysh-tile-bg, var(--ysh-card));
  box-shadow: var(--ysh-elev-inset-top, inset 0 1px 0 rgba(255, 255, 255, 0.04));
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__datetime-wrap:focus-within {
  border-color: color-mix(in srgb, var(--ysh-brand) 50%, var(--ysh-border-subtle));
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--ysh-brand) 16%, transparent);
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__datetime-wrap .dashicons {
  flex-shrink: 0;
  font-size: 18px;
  width: 18px;
  height: 18px;
  color: var(--ysh-brand);
  pointer-events: none;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__datetime {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 7px 4px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--ysh-text);
  font-size: 13px;
  font-family: inherit;
  line-height: 1.3;
  color-scheme: light;
}

html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yp-studio-workspace-notes__datetime {
  color-scheme: dark;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__datetime:focus {
  outline: none;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__datetime::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.75;
  filter: none;
}

html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yp-studio-workspace-notes__datetime::-webkit-calendar-picker-indicator {
  filter: invert(0.85);
  opacity: 0.9;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__item-meta--added {
  color: var(--ysh-muted);
  font-size: 10px;
}

/* Dashboard layout — saved confirmation toast (same pattern as workspace notes) */
body.yooadmin-theme-yooadmin-studio-hub .yp-toast-message.ysh-layout-saved-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100080;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 280px;
  max-width: min(420px, calc(100vw - 24px));
  padding: 12px 16px;
  border-radius: 8px;
  border-left: 4px solid var(--ysh-brand, #eda934);
  background: var(--ysh-card, #fff);
  color: var(--ysh-text, #1d2327);
  box-shadow: var(--ysh-elev-2, 0 4px 16px rgba(0, 0, 0, 0.12));
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-toast-message.ysh-layout-saved-toast.yp-toast-show {
  opacity: 1;
  transform: translateX(0);
}

body.yooadmin-theme-yooadmin-studio-hub .yp-toast-message.ysh-layout-saved-toast.yp-toast-error {
  border-left-color: #c0392b;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-toast-message.ysh-layout-saved-toast .yp-toast-icon {
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--ysh-brand, #eda934);
}

body.yooadmin-theme-yooadmin-studio-hub .yp-toast-message.ysh-layout-saved-toast.yp-toast-error .yp-toast-icon {
  color: #c0392b;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-toast-message.ysh-layout-saved-toast .yp-toast-text {
  font-size: 13px;
  line-height: 1.4;
}

/* Workspace notes — YOOAdmin-style toasts */
body.yooadmin-theme-yooadmin-studio-hub .yp-toast-message.yp-ws-notes-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100080;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 280px;
  max-width: min(420px, calc(100vw - 24px));
  padding: 12px 16px;
  border-radius: 8px;
  border-left: 4px solid var(--ysh-brand, #eda934);
  background: var(--ysh-card, #fff);
  color: var(--ysh-text, #1d2327);
  box-shadow: var(--ysh-elev-2, 0 4px 16px rgba(0, 0, 0, 0.12));
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-toast-message.yp-ws-notes-toast.yp-toast-show {
  opacity: 1;
  transform: translateX(0);
}

body.yooadmin-theme-yooadmin-studio-hub .yp-toast-message.yp-ws-notes-toast.yp-toast-error {
  border-left-color: #c0392b;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-toast-message.yp-ws-notes-toast .yp-toast-icon {
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--ysh-brand, #eda934);
}

body.yooadmin-theme-yooadmin-studio-hub .yp-toast-message.yp-ws-notes-toast.yp-toast-error .yp-toast-icon {
  color: #c0392b;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-toast-message.yp-ws-notes-toast .yp-toast-text {
  font-size: 13px;
  line-height: 1.4;
}

/* Delete confirm — compact workspace notes modal */
body.yooadmin-theme-yooadmin-studio-hub #yp-ws-note-delete-modal .yp-alert-content {
  max-width: 300px;
  width: calc(100% - 32px);
  border-radius: 10px;
  box-shadow: var(--ysh-elev-2, 0 8px 24px rgba(0, 0, 0, 0.14));
}

body.yooadmin-theme-yooadmin-studio-hub #yp-ws-note-delete-modal .yp-alert-header {
  gap: 8px;
  padding: 12px 14px 10px;
  border-bottom: 1px solid var(--ysh-border-subtle, #e8e8e8);
}

body.yooadmin-theme-yooadmin-studio-hub #yp-ws-note-delete-modal .yp-alert-icon {
  font-size: 20px;
  width: 20px;
  height: 20px;
  line-height: 1;
}

body.yooadmin-theme-yooadmin-studio-hub #yp-ws-note-delete-modal .yp-alert-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

body.yooadmin-theme-yooadmin-studio-hub #yp-ws-note-delete-modal .yp-alert-body {
  padding: 10px 14px 12px;
}

body.yooadmin-theme-yooadmin-studio-hub #yp-ws-note-delete-modal .yp-alert-message {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ysh-muted, #666);
}

body.yooadmin-theme-yooadmin-studio-hub #yp-ws-note-delete-modal .yp-alert-footer {
  gap: 8px;
  padding: 10px 14px 12px;
  background: transparent;
  border-top: 1px solid var(--ysh-border-subtle, #e8e8e8);
}

body.yooadmin-theme-yooadmin-studio-hub #yp-ws-note-delete-modal .yp-alert-btn {
  min-height: 0;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  border-radius: 6px;
}

/* Delete confirm — YOOAdmin alert modal (workspace notes) */
html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub #yp-ws-note-delete-modal .yp-alert-content {
  background: var(--ysh-card, #2a3038);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yp-alert-modal .yp-alert-content {
  background: var(--ysh-card, #2a3038);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yp-alert-modal .yp-alert-header {
  border-bottom-color: var(--ysh-border-subtle, rgba(255, 255, 255, 0.08));
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yp-alert-modal .yp-alert-title {
  color: var(--ysh-heading, #e8ecf1);
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yp-alert-modal .yp-alert-message {
  color: var(--ysh-muted, #a8b0bc);
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yp-alert-modal .yp-alert-footer {
  border-top-color: var(--ysh-border-subtle, rgba(255, 255, 255, 0.08));
  background: transparent;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yp-alert-modal .yp-alert-btn-secondary {
  background: var(--ysh-tile-bg, #343b44);
  color: var(--ysh-text, #e8ecf1);
  border-color: var(--ysh-border-subtle, rgba(255, 255, 255, 0.12));
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yp-alert-modal .yp-alert-btn-secondary:hover {
  background: color-mix(in srgb, var(--ysh-tile-bg, #343b44) 88%, #fff);
  border-color: var(--ysh-border-subtle, rgba(255, 255, 255, 0.18));
  color: var(--ysh-text, #e8ecf1);
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub #yp-ws-note-delete-modal .yp-alert-header {
  border-bottom-color: var(--ysh-border-subtle, rgba(255, 255, 255, 0.08));
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub #yp-ws-note-delete-modal .yp-alert-title {
  color: var(--ysh-heading, #e8ecf1);
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub #yp-ws-note-delete-modal .yp-alert-message {
  color: var(--ysh-muted, #a8b0bc);
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub #yp-ws-note-delete-modal .yp-alert-footer {
  border-top-color: var(--ysh-border-subtle, rgba(255, 255, 255, 0.08));
  background: transparent;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub #yp-ws-note-delete-modal .yp-alert-btn-secondary {
  background: var(--ysh-tile-bg, #343b44);
  color: var(--ysh-text, #e8ecf1);
  border-color: var(--ysh-border-subtle, rgba(255, 255, 255, 0.12));
}

/* Form actions — layout only; chrome: yooadmin-yoo-buttons */
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__form-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 4px;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__form-actions .yp-yoo-btn {
  flex: 1;
  min-width: 0;
}

/* Aside sections — remove button (edit mode only, persists as hidden) */
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-aside-layout-section .yp-layout-section-remove {
  display: none !important;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  padding: 0 !important;
  margin: 0;
  border: 0 !important;
  border-radius: 6px;
  background: transparent !important;
  box-shadow: none;
  color: var(--ysh-muted);
  cursor: pointer;
  font-size: 0;
  transition: color 0.12s ease, background 0.12s ease;
}

body.yp-icon-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-aside-layout-section .yp-card-header-actions .yp-layout-section-remove.is-visible,
body.yp-layout-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-aside-layout-section .yp-card-header-actions .yp-layout-section-remove.is-visible {
  display: inline-flex !important;
}

body.yp-icon-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-aside-layout-section .yp-card-header-actions .yp-layout-section-remove:hover,
body.yp-layout-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-aside-layout-section .yp-card-header-actions .yp-layout-section-remove:hover,
body.yp-icon-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-aside-layout-section .yp-card-header-actions .yp-layout-section-remove:focus-visible,
body.yp-layout-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-aside-layout-section .yp-card-header-actions .yp-layout-section-remove:focus-visible {
  color: #b32d2e !important;
  background: rgba(179, 45, 46, 0.08) !important;
  outline: none;
}

body.yp-icon-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-aside-layout-section .yp-card-header-actions .yp-layout-section-remove .dashicons,
body.yp-layout-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-aside-layout-section .yp-card-header-actions .yp-layout-section-remove .dashicons {
  width: 18px;
  height: 18px;
  font-size: 18px;
  color: currentColor;
}

/* Dashboard edit controls — main/aside/widget sections. */
body:not(.yp-icon-edit-mode):not(.yp-layout-edit-mode).yooadmin-theme-yooadmin-studio-hub
  .yp-studio-hub--dashboard
  .yp-studio-widget-section
  .yp-section-header__edit-controls {
  display: none !important;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub--dashboard .yp-studio-widget-section .yp-layout-section-remove {
  display: none !important;
}

body.yp-icon-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__aside .yp-dashboard-section,
body.yp-layout-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__aside .yp-dashboard-section {
  position: relative;
}

body.yp-icon-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__aside .yp-dashboard-section:not(.yp-layout-section--locked) > .yp-section-header,
body.yp-layout-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__aside .yp-dashboard-section:not(.yp-layout-section--locked) > .yp-section-header {
  position: static !important;
}

body.yp-icon-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__aside .yp-dashboard-section:not(.yp-layout-section--locked) > .yp-section-header .yp-layout-section-drag-handle,
body.yp-layout-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__aside .yp-dashboard-section:not(.yp-layout-section--locked) > .yp-section-header .yp-layout-section-drag-handle,
body.yp-icon-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-aside-layout-section .yp-layout-section-drag-handle,
body.yp-layout-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-aside-layout-section .yp-layout-section-drag-handle {
  position: absolute !important;
  top: 50%;
  left: 50%;
  z-index: 8;
  width: 34px;
  height: 34px;
  min-width: 34px;
  margin: 0;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: color-mix(in srgb, var(--ysh-card, #fff) 90%, transparent);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.14);
  color: var(--ysh-brand, #eda934);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.14s ease, transform 0.14s ease, background 0.14s ease, box-shadow 0.14s ease;
}

body.yp-icon-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__aside .yp-dashboard-section:not(.yp-layout-section--locked):hover > .yp-section-header .yp-layout-section-drag-handle,
body.yp-layout-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__aside .yp-dashboard-section:not(.yp-layout-section--locked):hover > .yp-section-header .yp-layout-section-drag-handle,
body.yp-icon-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__aside .yp-dashboard-section:not(.yp-layout-section--locked) > .yp-section-header .yp-layout-section-drag-handle:hover,
body.yp-layout-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__aside .yp-dashboard-section:not(.yp-layout-section--locked) > .yp-section-header .yp-layout-section-drag-handle:hover {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1.04);
}

body.yp-icon-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__aside .yp-dashboard-section:not(.yp-layout-section--locked) > .yp-section-header .yp-layout-section-drag-handle .dashicons,
body.yp-layout-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__aside .yp-dashboard-section:not(.yp-layout-section--locked) > .yp-section-header .yp-layout-section-drag-handle .dashicons,
body.yp-icon-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-aside-layout-section .yp-layout-section-drag-handle .dashicons,
body.yp-layout-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-aside-layout-section .yp-layout-section-drag-handle .dashicons {
  width: 20px;
  height: 20px;
  font-size: 20px;
}

body.yp-icon-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__main .yp-dashboard-section:not(.yp-layout-section--locked) > .yp-section-header,
body.yp-layout-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__main .yp-dashboard-section:not(.yp-layout-section--locked) > .yp-section-header {
  position: relative !important;
}

body.yp-icon-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__main .yp-dashboard-section:not(.yp-layout-section--locked) > .yp-section-header .yp-layout-section-drag-handle,
body.yp-layout-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__main .yp-dashboard-section:not(.yp-layout-section--locked) > .yp-section-header .yp-layout-section-drag-handle {
  position: absolute !important;
  top: 50%;
  left: 50%;
  z-index: 8;
  width: 34px;
  height: 28px;
  min-width: 34px;
  margin: 0;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: color-mix(in srgb, var(--ysh-card, #fff) 92%, transparent);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
  color: var(--ysh-brand, #eda934);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.14s ease, transform 0.14s ease, background 0.14s ease, box-shadow 0.14s ease;
}

body.yp-icon-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__main .yp-dashboard-section:not(.yp-layout-section--locked) > .yp-section-header:hover .yp-layout-section-drag-handle,
body.yp-layout-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__main .yp-dashboard-section:not(.yp-layout-section--locked) > .yp-section-header:hover .yp-layout-section-drag-handle,
body.yp-icon-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__main .yp-dashboard-section:not(.yp-layout-section--locked) > .yp-section-header .yp-layout-section-drag-handle:hover,
body.yp-layout-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__main .yp-dashboard-section:not(.yp-layout-section--locked) > .yp-section-header .yp-layout-section-drag-handle:hover {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1.04);
}

body.yp-icon-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__main .yp-dashboard-section:not(.yp-layout-section--locked) > .yp-section-header .yp-layout-section-drag-handle .dashicons,
body.yp-layout-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub__main .yp-dashboard-section:not(.yp-layout-section--locked) > .yp-section-header .yp-layout-section-drag-handle .dashicons {
  width: 20px;
  height: 20px;
  font-size: 20px;
}

body.yp-icon-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub :is(.yp-studio-hub__main, .yp-studio-hub__aside) .yp-card-header-actions,
body.yp-layout-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub :is(.yp-studio-hub__main, .yp-studio-hub__aside) .yp-card-header-actions,
body.yp-icon-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-aside-layout-section .yp-card-header-actions,
body.yp-layout-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-aside-layout-section .yp-card-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

body.yp-icon-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub :is(.yp-studio-hub__main, .yp-studio-hub__aside) .yp-card-header-actions :is(.yp-section-icon-edit, .yp-section-visibility-toggle, .yp-layout-section-remove, .yp-card-edit-toggle, .yp-workspace-add-section),
body.yp-layout-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub :is(.yp-studio-hub__main, .yp-studio-hub__aside) .yp-card-header-actions :is(.yp-section-icon-edit, .yp-section-visibility-toggle, .yp-layout-section-remove, .yp-card-edit-toggle, .yp-workspace-add-section),
body.yp-icon-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-aside-layout-section .yp-card-header-actions :is(.yp-section-icon-edit, .yp-section-visibility-toggle, .yp-layout-section-remove),
body.yp-layout-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-aside-layout-section .yp-card-header-actions :is(.yp-section-icon-edit, .yp-section-visibility-toggle, .yp-layout-section-remove) {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 7px !important;
  background: rgba(15, 23, 42, 0.045) !important;
  box-shadow: none !important;
  color: var(--ysh-muted, #70757d) !important;
  cursor: pointer;
  font-size: 0;
  transition: color 0.14s ease, background 0.14s ease, transform 0.14s ease;
}

body.yp-icon-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub :is(.yp-studio-hub__main, .yp-studio-hub__aside) .yp-card-header-actions :is(.yp-section-icon-edit, .yp-section-visibility-toggle, .yp-card-edit-toggle, .yp-workspace-add-section):hover,
body.yp-layout-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub :is(.yp-studio-hub__main, .yp-studio-hub__aside) .yp-card-header-actions :is(.yp-section-icon-edit, .yp-section-visibility-toggle, .yp-card-edit-toggle, .yp-workspace-add-section):hover,
body.yp-icon-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub :is(.yp-studio-hub__main, .yp-studio-hub__aside) .yp-card-header-actions :is(.yp-section-icon-edit, .yp-section-visibility-toggle, .yp-card-edit-toggle, .yp-workspace-add-section):focus-visible,
body.yp-layout-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub :is(.yp-studio-hub__main, .yp-studio-hub__aside) .yp-card-header-actions :is(.yp-section-icon-edit, .yp-section-visibility-toggle, .yp-card-edit-toggle, .yp-workspace-add-section):focus-visible {
  color: var(--ysh-brand, #eda934) !important;
  background: rgba(var(--ysh-brand-rgb, 237, 169, 52), 0.12) !important;
  outline: none;
  transform: translateY(-1px);
}

body.yp-icon-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub :is(.yp-studio-hub__main, .yp-studio-hub__aside) .yp-card-header-actions .yp-layout-section-remove,
body.yp-layout-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub :is(.yp-studio-hub__main, .yp-studio-hub__aside) .yp-card-header-actions .yp-layout-section-remove,
body.yp-icon-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-aside-layout-section .yp-card-header-actions .yp-layout-section-remove,
body.yp-layout-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-aside-layout-section .yp-card-header-actions .yp-layout-section-remove {
  color: #b32d2e !important;
  background: rgba(179, 45, 46, 0.08) !important;
}

body.yp-icon-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub :is(.yp-studio-hub__main, .yp-studio-hub__aside) .yp-card-header-actions .yp-layout-section-remove:hover,
body.yp-layout-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub :is(.yp-studio-hub__main, .yp-studio-hub__aside) .yp-card-header-actions .yp-layout-section-remove:hover,
body.yp-icon-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-aside-layout-section .yp-card-header-actions .yp-layout-section-remove:hover,
body.yp-layout-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-aside-layout-section .yp-card-header-actions .yp-layout-section-remove:hover {
  color: #8f1f20 !important;
  background: rgba(179, 45, 46, 0.16) !important;
  outline: none;
  transform: translateY(-1px);
}

body.yp-icon-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub :is(.yp-studio-hub__main, .yp-studio-hub__aside) .yp-card-header-actions :is(.yp-section-icon-edit, .yp-section-visibility-toggle, .yp-layout-section-remove, .yp-card-edit-toggle, .yp-workspace-add-section) .dashicons,
body.yp-layout-edit-mode.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub :is(.yp-studio-hub__main, .yp-studio-hub__aside) .yp-card-header-actions :is(.yp-section-icon-edit, .yp-section-visibility-toggle, .yp-layout-section-remove, .yp-card-edit-toggle, .yp-workspace-add-section) .dashicons {
  width: 16px;
  height: 16px;
  font-size: 16px;
  color: currentColor !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-card-header-actions :is(.yp-section-icon-edit, .yp-section-visibility-toggle, .yp-layout-section-remove, .yp-card-edit-toggle, .yp-workspace-add-section),
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-card-header-actions :is(.yp-section-icon-edit, .yp-section-visibility-toggle, .yp-layout-section-remove, .yp-card-edit-toggle, .yp-workspace-add-section) {
  background: rgba(255, 255, 255, 0.07) !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-card-header-actions .yp-layout-section-remove,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-card-header-actions .yp-layout-section-remove {
  color: #f87171 !important;
  background: rgba(248, 113, 113, 0.11) !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-card-header-actions .yp-layout-section-remove:hover,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-card-header-actions .yp-layout-section-remove:hover {
  color: #fecaca !important;
  background: rgba(248, 113, 113, 0.2) !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes-card .yp-yoo-btn--soft,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes-card .yp-yoo-btn--soft {
  color: var(--yp-yoo-btn-primary, var(--ysh-brand, #eda934)) !important;
  background: var(--yp-yoo-btn-soft-bg, rgba(255, 255, 255, 0.06)) !important;
  border: 0 !important;
  box-shadow:
    var(--yp-yoo-btn-depth, 0 1px 3px rgba(0, 0, 0, 0.28)),
    inset 0 0 0 1px var(--yp-yoo-btn-soft-ring, color-mix(in srgb, var(--ysh-brand, #eda934) 35%, rgba(255, 255, 255, 0.12))) !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes-card .yp-yoo-btn--soft:hover,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes-card .yp-yoo-btn--soft:hover,
html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes.is-add-open .yp-studio-workspace-notes__add-btn.yp-yoo-btn--soft,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes.is-add-open .yp-studio-workspace-notes__add-btn.yp-yoo-btn--soft {
  color: var(--yp-yoo-btn-primary, var(--ysh-brand, #eda934)) !important;
  background: var(--yp-yoo-btn-soft-bg-hover, rgba(255, 255, 255, 0.1)) !important;
  box-shadow:
    var(--yp-yoo-btn-depth-hover, 0 2px 8px rgba(0, 0, 0, 0.34)),
    inset 0 0 0 1px color-mix(in srgb, var(--ysh-brand, #eda934) 32%, transparent) !important;
}

/* Tips card — single frame; hero image flush inside the card */
/* Login security score widget */
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-widget-section[data-widget-id="studio-login-security"] .yp-studio-login-security-card-body,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-widget-section--studio-login-security .yp-studio-login-security-card-body {
  padding: 10px 14px 12px;
  box-sizing: border-box;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-widget-section[data-custom-placement="aside"][data-widget-id="studio-login-security"] .yp-studio-security-score,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-widget-section--studio-login-security[data-custom-placement="aside"] .yp-studio-security-score {
  width: 76px;
  height: 76px;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-widget-section[data-custom-placement="aside"][data-widget-id="studio-login-security"] .yp-studio-security-score__value,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-widget-section--studio-login-security[data-custom-placement="aside"] .yp-studio-security-score__value {
  font-size: 14px;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-widget-section[data-custom-placement="aside"][data-widget-id="studio-login-security"] .yp-studio-security-score__suffix,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-widget-section--studio-login-security[data-custom-placement="aside"] .yp-studio-security-score__suffix {
  font-size: 9px;
  margin-top: 2px;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-login-security-card-body__row {
  display: flex;
  align-items: center;
  gap: 14px;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-security-score {
  position: relative;
  flex: 0 0 auto;
  width: 88px;
  height: 88px;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-security-score__svg {
  display: block;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-security-score__track,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-security-score__bar {
  fill: none;
  stroke-width: 8;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-security-score__track {
  stroke: color-mix(in srgb, var(--ysh-brand, #eda934) 18%, var(--ysh-border, #dcdcde));
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-security-score__bar {
  stroke: var(--ysh-brand, #eda934);
  stroke-linecap: round;
  transition: none;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-security-score.is-animating .yp-studio-security-score__bar {
  transition: none;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-security-score--off .yp-studio-security-score__bar {
  stroke: var(--ysh-muted, #94a3b8);
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-security-score--low .yp-studio-security-score__bar {
  stroke: #e57373;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-security-score--partial .yp-studio-security-score__bar {
  stroke: #f0ad4e;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-security-score__label {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  font-weight: 700;
  color: var(--ysh-heading, #2a3340);
  line-height: 1;
  pointer-events: none;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-security-score__value {
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-security-score__suffix {
  font-size: 10px;
  margin-top: 3px;
  color: var(--ysh-muted, #64748b);
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-login-security-card-body__copy {
  flex: 1 1 auto;
  min-width: 0;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-login-security-card-body__status {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ysh-heading, #2a3340);
  line-height: 1.35;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-login-security-card-body__meta {
  margin: 0 0 6px;
  font-size: 11px;
  color: var(--ysh-muted, #64748b);
  line-height: 1.4;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-login-security-card-body__tips {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-login-security-card-body__tips li {
  position: relative;
  padding-inline-start: 12px;
  font-size: 11px;
  line-height: 1.45;
  color: var(--ysh-muted, #64748b);
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-login-security-card-body__tips li::before {
  content: '';
  position: absolute;
  top: 0.55em;
  inset-inline-start: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ysh-brand, #eda934);
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-login-security-footer {
  margin: 8px 0 12px;
  padding: 0 12px;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-login-security-view-all {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 6px 9px;
  border-radius: 8px;
  border: 1px solid var(--ysh-border, #dcdcde);
  background: color-mix(in srgb, var(--ysh-card, #fff) 92%, var(--ysh-brand, #eda934) 8%);
  color: var(--ysh-heading, #2a3340) !important;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-login-security-view-all .dashicons {
  width: 16px;
  height: 16px;
  color: var(--ysh-muted, #667085);
  font-size: 16px;
  transition: color 0.15s ease, transform 0.15s ease;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-login-security-view-all:hover,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-login-security-view-all:focus {
  border-color: color-mix(in srgb, var(--ysh-brand, #eda934) 45%, var(--ysh-border, #dcdcde));
  background: color-mix(in srgb, var(--ysh-brand, #eda934) 12%, var(--ysh-card, #fff));
  color: var(--ysh-heading, #2a3340) !important;
  text-decoration: none !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-login-security-view-all,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-login-security-view-all {
  border-color: color-mix(in srgb, var(--ysh-brand, #eda934) 35%, rgba(255, 255, 255, 0.12));
  background: color-mix(in srgb, var(--ysh-brand, #eda934) 10%, rgba(255, 255, 255, 0.06));
  color: var(--ysh-heading, #e8ecf1) !important;
}

@media (max-width: 520px) {
  body.yooadmin-theme-yooadmin-studio-hub .yp-studio-login-security-card-body__row {
    flex-direction: column;
    align-items: flex-start;
  }
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-aside-card--tips {
  padding: 0;
  overflow: hidden;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-aside-card--tips .yp-studio-tips-section__header {
  padding: 14px 16px 10px;
  margin: 0;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-aside-card--tips .yp-studio-tips-section__body {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-aside-card--tips .yp-studio-tips-section__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1.25;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-aside-card--tips .yp-studio-tips-section__title .dashicons {
  width: 20px;
  height: 20px;
  font-size: 20px;
  line-height: 20px;
  flex-shrink: 0;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-aside-card--tips .yp-studio-tips-section__title-text {
  line-height: 1.25;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-aside-card--tips .yp-studio-tips-carousel {
  gap: 0;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-aside-card--tips .yp-studio-tips-carousel__track {
  min-height: 0;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-aside-card--tips .yp-studio-tip-slide {
  min-height: 0;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-aside-card--tips .yp-studio-tip-slide__media {
  height: 118px;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-aside-card--tips .yp-studio-tip-slide__body {
  padding: 14px 16px 8px;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-aside-card--tips .yp-studio-tips-carousel__footer {
  padding: 10px 16px 14px;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-aside-card--tips .yp-studio-tip-dots {
  justify-content: center;
  flex-wrap: nowrap;
  width: 100%;
  gap: 6px;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-aside-card--tips .yp-studio-tip-dot {
  flex: 0 0 auto;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-aside-card--tips .yp-studio-tips-section__empty {
  margin: 0;
  padding: 16px;
}

/* Tips carousel — one slide, image on top */
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-tips-carousel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-tips-carousel__viewport {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid transparent;
  background: var(--ysh-tile-bg, var(--ysh-card));
  box-shadow: var(--ysh-elev-hairline), var(--ysh-elev-1);
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-tips-carousel__track {
  position: relative;
  min-height: 220px;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-tip-slide {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 220px;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-tip-slide[hidden] {
  display: none !important;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-tip-slide__media {
  position: relative;
  height: 108px;
  overflow: hidden;
  background: linear-gradient(135deg, #eda934 0%, #f6c56a 100%);
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-tip-slide__media--amber {
  background: linear-gradient(135deg, #eda934, #f0b84d);
}
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-tip-slide__media--violet {
  background: linear-gradient(135deg, #6a5ae0, #8b7cf0);
}
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-tip-slide__media--teal {
  background: linear-gradient(135deg, #1f9a82, #2db89a);
}
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-tip-slide__media--green {
  background: linear-gradient(135deg, #2e8f5e, #4caf7a);
}
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-tip-slide__media--orange {
  background: linear-gradient(135deg, #e07020, #f08c3a);
}
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-tip-slide__media--blue {
  background: linear-gradient(135deg, #2f6fc9, #4a8fe8);
}
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-tip-slide__media--indigo {
  background: linear-gradient(135deg, #4f5bd5, #6b7ae8);
}
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-tip-slide__media--rose {
  background: linear-gradient(135deg, #d4537a, #e8789c);
}
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-tip-slide__media--cyan {
  background: linear-gradient(135deg, #1a9fb8, #3ec0d6);
}
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-tip-slide__media--brand {
  background: linear-gradient(135deg, #eda934, #f5c76b);
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-tip-slide__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-tip-slide__icon {
  position: absolute;
  right: 12px;
  bottom: 10px;
  width: 36px;
  height: 36px;
  font-size: 36px;
  line-height: 36px;
  color: rgba(255, 255, 255, 0.92);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.18));
  pointer-events: none;
  z-index: 2;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-tip-slide__body {
  padding: 14px 14px 12px;
  flex: 1;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-tip-slide__title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ysh-heading);
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-tip-slide__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ysh-muted);
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-tips-carousel__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-tip-dots {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-tip-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ysh-border, #dcdcde);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-tip-dot:hover,
body.yooadmin-theme-yooadmin-studio-hub .yp-studio-tip-dot:focus-visible {
  transform: scale(1.15);
  outline: none;
  background: rgba(var(--ysh-brand-rgb, 237, 169, 52), 0.55);
}

body.yooadmin-theme-yooadmin-studio-hub .yp-studio-tip-dot.is-active {
  width: 22px;
  border-radius: 999px;
  background: var(--ysh-brand, #eda934);
}

html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yp-studio-aside-card--tips {
  border-color: rgba(255, 255, 255, 0.1);
}

/* Tips hero art — SVGs are bright; darken in dark mode (overlay + image filter). */
html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yp-studio-tip-slide__media::after,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yp-studio-tip-slide__media::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(8, 10, 14, 0.55) 0%,
    rgba(8, 10, 14, 0.42) 100%
  );
}

html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yp-studio-tip-slide__img,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  .yp-studio-tip-slide__img {
  position: relative;
  z-index: 0;
  filter: brightness(0.8) saturate(0.88);
}


/* Submenu popup — dialog shell (Studio Hub theme only) */
body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub .yp-popup-box {
  width: min(920px, 96vw);
  background: var(--ysh-card);
  border: 1px solid var(--ysh-border);
  padding: 0;
  margin-bottom: 0;
}

body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub .yp-popup-header {
  margin-bottom: 0;
  padding-top: 10px;
  padding-bottom: 10px;
}

body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub .yp-popup-box h2,
body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub #yp-popup-title {
  color: var(--ysh-heading);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

/* Two-column menu grid (tiles enhanced to rows via theme JS) */
body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub #yp-popup-content.yoopixel-popup-grid {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  scrollbar-gutter: stable;
}

body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub #yp-popup-content.yoopixel-popup-grid:not(.yp-has-pagination) {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(200px, 1fr)) !important;
  justify-content: stretch !important;
  column-gap: 28px;
  row-gap: 2px;
  padding: 4px 12px 10px;
  align-content: start;
  position: relative;
}

/* Center divider: light vertical line with a gap in the middle (not full height). */
body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub #yp-popup-content.yoopixel-popup-grid:not(.yp-has-pagination)::before,
body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub .yp-popup-page.yp-popup-page-active::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 10%;
  bottom: 10%;
  width: 1px;
  transform: translateX(-0.5px);
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--ysh-border) 8%,
    var(--ysh-border) 42%,
    transparent 50%,
    transparent 50%,
    var(--ysh-border) 58%,
    var(--ysh-border) 92%,
    transparent 100%
  );
}

body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub #yp-popup-content.yoopixel-popup-grid.yp-has-pagination {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0 4px 8px;
}

body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub .yp-popup-pages-wrapper {
  flex: 1;
  min-height: 0;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  align-self: stretch;
}

body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub .yp-popup-pages {
  flex: 1;
  min-height: 0;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

/* Drop duplicate outer arrows (wrapper/box); keep in-row controls only */
body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub .yp-popup-box-wrapper > .yp-popup-nav-arrow,
body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub .yp-popup-box > .yp-popup-nav-arrow {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Pagination arrows — inside pages row (reparented by studio-hub.js) */
body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub .yp-popup-pages-wrapper > .yp-popup-nav-arrow {
  z-index: 6;
}

body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub .yp-popup-nav-arrow {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: transparent;
  border: none;
  box-shadow: none;
  opacity: 0.5;
  transition:
    opacity 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub .yp-popup-nav-arrow.is-visible {
  opacity: 0.78;
}

body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub .yp-popup-nav-arrow:hover {
  opacity: 1;
  background: color-mix(in srgb, var(--ysh-muted, #8e8e93) 14%, transparent);
  box-shadow: none;
  transform: translateY(-50%);
}

body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub .yp-popup-nav-arrow:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--ysh-brand, #eda934) 55%, transparent);
  outline-offset: 1px;
}

body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub .yp-popup-nav-arrow .dashicons {
  font-size: 21px;
  width: 21px;
  height: 21px;
  color: var(--ysh-muted);
  transition: color 0.2s ease;
}

body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub .yp-popup-nav-arrow:hover .dashicons {
  color: var(--ysh-heading);
}

body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub .yp-popup-pages-wrapper > .yp-popup-nav-prev {
  inset-inline-start: 2px !important;
  inset-inline-end: auto !important;
}

body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub .yp-popup-pages-wrapper > .yp-popup-nav-next {
  inset-inline-end: 2px !important;
  inset-inline-start: auto !important;
}

[dir='rtl'] body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub .yp-popup-nav-arrow .dashicons {
  transform: scaleX(-1);
}

html[data-yooadmin-studio-color-mode-effective='dark']
  body.yooadmin-theme-yooadmin-studio-hub
  #yp-popup.yp-popup--studio-hub
  .yp-popup-nav-arrow:hover,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective='dark']
  body.yooadmin-theme-yooadmin-studio-hub
  #yp-popup.yp-popup--studio-hub
  .yp-popup-nav-arrow:hover {
  background: rgba(255, 255, 255, 0.08);
}

body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub .yp-popup-page.yp-popup-page-active {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(200px, 1fr)) !important;
  justify-content: stretch !important;
  column-gap: 28px;
  row-gap: 2px;
  padding: 4px 12px 10px;
  align-content: start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  position: relative;
  scrollbar-gutter: stable;
}

/* Menu row: icon | title + description (class added by studio-hub.js) */
body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub a.yp-icon-tile--hub-menu {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  text-align: start;
  text-decoration: none;
  min-height: 66px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 9px 12px;
  margin: 0;
  border-radius: 0;
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  background: transparent;
  box-shadow: none !important;
  transform: none !important;
  transition: background-color 0.15s ease, color 0.15s ease;
  z-index: 0;
}

/* Per-column row dividers — inset lines (gap at center + sides), not one continuous row. */
body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub a.yp-icon-tile--hub-menu::before {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 1px;
  background: var(--ysh-border);
  pointer-events: none;
}

body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub a.yp-icon-tile--hub-menu:nth-child(odd)::before {
  left: 12px;
  right: 14px;
}

body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub a.yp-icon-tile--hub-menu:nth-child(even)::before {
  left: 14px;
  right: 12px;
}

body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub a.yp-icon-tile--hub-menu:nth-last-child(1)::before,
body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub a.yp-icon-tile--hub-menu:nth-last-child(2):nth-child(odd)::before {
  display: none;
}

body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub a.yp-icon-tile--hub-menu:hover,
body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub a.yp-icon-tile--hub-menu:focus,
body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub a.yp-icon-tile--hub-menu:focus-visible,
body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub a.yp-icon-tile--hub-menu:active {
  transform: none !important;
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  outline: none;
  background: rgba(0, 0, 0, 0.04);
}

html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  #yp-popup.yp-popup--studio-hub
  a.yp-icon-tile--hub-menu:hover,
html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  #yp-popup.yp-popup--studio-hub
  a.yp-icon-tile--hub-menu:focus,
html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  #yp-popup.yp-popup--studio-hub
  a.yp-icon-tile--hub-menu:focus-visible,
html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  #yp-popup.yp-popup--studio-hub
  a.yp-icon-tile--hub-menu:active {
  background: rgba(255, 255, 255, 0.05);
}

body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub a.yp-icon-tile--hub-menu:focus-visible {
  outline: 2px solid var(--ysh-brand, var(--yp-brand, #eda934));
  outline-offset: -2px;
}

body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub a.yp-icon-tile--hub-menu .yp-card-icon-edit:hover {
  transform: none !important;
}

body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub a.yp-icon-tile--hub-menu .yp-icon {
  box-sizing: border-box;
  flex-shrink: 0;
  margin: 0;
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  max-width: 48px !important;
  max-height: 48px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 50% !important;
  aspect-ratio: 1 / 1;
  background: var(--ysh-icon-well);
  overflow: hidden;
  padding: 0 !important;
}

body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub a.yp-icon-tile--hub-menu .yp-icon .dashicons,
body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub a.yp-icon-tile--hub-menu .yp-icon img {
  color: var(--ysh-brand);
  font-size: 16px !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  line-height: 1 !important;
}

body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub a.yp-icon-tile--hub-menu .yp-icon img {
  object-fit: contain;
  display: block;
}

body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub a.yp-icon-tile--hub-menu .yp-icon > svg {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  display: block;
  object-fit: contain;
}

body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub .yp-icon-tile__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
  flex: 1 1 0;
}

body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub a.yp-icon-tile--hub-menu .yp-icon-label {
  color: var(--ysh-heading);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.35;
  text-align: start;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  max-width: 100%;
}

body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub .yp-icon-desc {
  margin: 0;
  padding: 0;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 400;
  color: var(--ysh-muted);
  text-align: start;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
}

/* Native YOOAdmin submenu popup — keep dashboard modal contrast out of adaptive dark rules. */
html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  #yp-popup.yp-popup--studio-hub.ysh-adapt-skip
  .yp-popup-box,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  #yp-popup.yp-popup--studio-hub.ysh-adapt-skip
  .yp-popup-box {
  color: var(--ysh-text, #d0d7df) !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  #yp-popup.yp-popup--studio-hub.ysh-adapt-skip
  :is(#yp-popup-title, .yp-popup-box h2, a.yp-icon-tile--hub-menu .yp-icon-label),
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  #yp-popup.yp-popup--studio-hub.ysh-adapt-skip
  :is(#yp-popup-title, .yp-popup-box h2, a.yp-icon-tile--hub-menu .yp-icon-label) {
  color: var(--ysh-heading, #eef3f8) !important;
  -webkit-text-fill-color: var(--ysh-heading, #eef3f8) !important;
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  #yp-popup.yp-popup--studio-hub.ysh-adapt-skip
  .yp-icon-desc,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  #yp-popup.yp-popup--studio-hub.ysh-adapt-skip
  .yp-icon-desc {
  color: #c7d2de !important;
  -webkit-text-fill-color: #c7d2de !important;
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  #yp-popup.yp-popup--studio-hub.ysh-adapt-skip
  a.yp-icon-tile--hub-menu
  .yp-icon,
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  #yp-popup.yp-popup--studio-hub.ysh-adapt-skip
  a.yp-icon-tile--hub-menu
  .yp-icon {
  background: color-mix(in srgb, var(--ysh-brand, #eda934) 26%, var(--ysh-card, #1a1d23) 74%) !important;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ysh-brand, #eda934) 20%, transparent) !important;
  opacity: 1 !important;
  filter: none !important;
}

html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  #yp-popup.yp-popup--studio-hub.ysh-adapt-skip
  :is(.yp-popup-icon .dashicons, a.yp-icon-tile--hub-menu .yp-icon .dashicons),
html.yooadmin-studio-hub-html[data-yooadmin-studio-color-mode-effective="dark"]
  body.yooadmin-theme-yooadmin-studio-hub
  #yp-popup.yp-popup--studio-hub.ysh-adapt-skip
  :is(.yp-popup-icon .dashicons, a.yp-icon-tile--hub-menu .yp-icon .dashicons) {
  color: var(--ysh-brand, #eda934) !important;
  -webkit-text-fill-color: var(--ysh-brand, #eda934) !important;
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}

body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub a.yp-icon-tile--hub-menu:hover .yp-icon-label {
  color: var(--ysh-heading);
}

body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub a.yp-icon-tile--hub-menu:hover .yp-icon-desc {
  color: var(--ysh-muted);
}

body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub a.yp-icon-tile--hub-menu:hover .yp-icon .dashicons {
  color: var(--ysh-brand);
}

body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub a.yp-icon-tile--hub-menu .yp-card-icon-edit {
  position: static !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  inset-inline-end: auto !important;
  margin-inline-start: auto;
  margin-top: 0;
  align-self: center;
  flex-shrink: 0;
  z-index: 2;
}

body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub a.yp-icon-tile--hub-menu.has-badge .yp-icon {
  order: 0;
}

body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub a.yp-icon-tile--hub-menu.has-badge .yp-icon-tile__text,
body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub a.yp-icon-tile--hub-menu.has-badge > .yp-icon-label {
  order: 1;
  flex: 1 1 0;
  min-width: 0;
}

body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub a.yp-icon-tile--hub-menu.has-badge .yp-card-icon-edit {
  order: 2;
  margin-inline-start: 0;
}

/* Badge — far end of the row (not beside the icon) */
body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub a.yp-icon-tile--hub-menu.has-badge::after {
  position: static !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  inset: auto !important;
  inset-inline-start: auto !important;
  inset-inline-end: auto !important;
  transform: none !important;
  order: 3;
  flex: 0 0 auto;
  align-self: center;
  margin: 0;
  margin-inline-start: auto;
  min-width: 22px;
  height: 22px;
  line-height: 22px;
  font-size: 11px;
  padding: 0 5px;
  z-index: 2;
}

body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub a.yp-icon-tile--hub-menu.has-badge:hover::after,
body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub a.yp-icon-tile--hub-menu.has-badge:focus::after,
body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub a.yp-icon-tile--hub-menu.has-badge:active::after {
  transform: none !important;
}

@media (max-width: 640px) {
  body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub #yp-popup-content.yoopixel-popup-grid:not(.yp-has-pagination),
  body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub .yp-popup-page.yp-popup-page-active {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub #yp-popup-content.yoopixel-popup-grid:not(.yp-has-pagination)::before,
  body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub .yp-popup-page.yp-popup-page-active::before {
    display: none;
  }

  body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub a.yp-icon-tile--hub-menu:nth-child(odd),
  body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub a.yp-icon-tile--hub-menu:nth-child(even) {
    padding-inline: 12px;
  }

  body.yooadmin-theme-yooadmin-studio-hub #yp-popup.yp-popup--studio-hub a.yp-icon-tile--hub-menu:nth-last-child(1) {
    border-bottom: none !important;
  }
}

/* ------------------------------------------------------------------------
 * RTL (Arabic) — Studio Hub workspace cards, headers, workspace notes
 * ------------------------------------------------------------------------ */
[dir="rtl"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-section-title,
[dir="rtl"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-aside-section__title {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: start;
}

[dir="rtl"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-hub .yp-studio-ws-row .yp-studio-ws-row__copy {
  align-items: flex-start;
  text-align: start;
}

:is([dir="rtl"], body.yooadmin-arabic-ui) body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__toolbar {
  flex-direction: row;
  direction: rtl;
}

:is([dir="rtl"], body.yooadmin-arabic-ui) body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__type-picker {
  direction: rtl;
}

[dir="rtl"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__type-trigger {
  direction: rtl;
  text-align: start;
}

[dir="rtl"] body.yooadmin-theme-yooadmin-studio-hub .yp-studio-workspace-notes__type-option {
  flex-direction: row-reverse;
  text-align: start;
}

