/*
 * Yatoon Design System 4.4
 * Shared visual language for booking, admin, customer and staff surfaces.
 */
:root {
  --y4-primary: var(--primary-color, var(--yatoon-skin-primary-btn-bg, #db2777));
  --y4-primary-strong: color-mix(in srgb, var(--y4-primary) 82%, #111827);
  --y4-primary-soft: color-mix(in srgb, var(--y4-primary) 10%, #ffffff);
  --y4-canvas: #f6f7fb;
  --y4-surface: #ffffff;
  --y4-surface-raised: #ffffff;
  --y4-text: #172033;
  --y4-muted: #667085;
  --y4-subtle: #98a2b3;
  --y4-border: #e4e7ec;
  --y4-border-strong: #d0d5dd;
  --y4-success: #14804a;
  --y4-warning: #b54708;
  --y4-danger: #b42318;
  --y4-info: #175cd3;
  --y4-radius-sm: 9px;
  --y4-radius-md: 14px;
  --y4-radius-lg: 20px;
  --y4-radius-xl: 26px;
  --y4-shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --y4-shadow-md: 0 8px 24px rgba(16, 24, 40, .08);
  --y4-shadow-lg: 0 20px 48px rgba(16, 24, 40, .12);
  --y4-focus: 0 0 0 3px color-mix(in srgb, var(--y4-primary) 22%, transparent);
  --y4-ease: cubic-bezier(.2, .8, .2, 1);
  --y4-font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sbs-booking-container,
.sbs-portal-wrap,
.yatoon-manage-wrap,
.yatoon-staff-portal-page,
body.yatoon-app-shell-on {
  color: var(--y4-text);
  font-family: var(--y4-font);
  -webkit-font-smoothing: antialiased;
}

.sbs-booking-container *,
.sbs-portal-wrap *,
.yatoon-manage-wrap *,
.yatoon-staff-portal-page *,
body.yatoon-app-shell-on * {
  box-sizing: border-box;
}

.sbs-booking-container :is(button, a, input, select, textarea):focus-visible,
.sbs-portal-wrap :is(button, a, input, select, textarea):focus-visible,
.yatoon-manage-wrap :is(button, a, input, select, textarea):focus-visible,
.yatoon-staff-portal-page :is(button, a, input, select, textarea):focus-visible,
body.yatoon-app-shell-on :is(button, a, input, select, textarea):focus-visible {
  outline: 2px solid var(--y4-primary);
  outline-offset: 2px;
  box-shadow: var(--y4-focus);
}

/* Long names must remain readable in translated and customer-authored data. */
.sbs-booking-container :is(.sbs-service-name, .sbs-service-item h3, .sbs-option-name, .sbs-staff-name, .sbs-summary-value),
.sbs-portal-wrap :is(h1, h2, h3, td),
.yatoon-manage-wrap :is(h1, h2, h3, td),
.yatoon-staff-portal-page :is(h1, h2, h3, td) {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}

/* Shared semantic feedback states across public and admin surfaces. */
:is(.sbs-booking-container, .sbs-portal-wrap, .yatoon-manage-wrap, .yatoon-staff-portal-page, body.yatoon-app-shell-on) :is(.is-loading, [aria-busy="true"]) {
  cursor: progress;
}

:is(.sbs-booking-container, .sbs-portal-wrap, .yatoon-manage-wrap, .yatoon-staff-portal-page, body.yatoon-app-shell-on) :is(button, [role="button"])[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: .55;
}

.yatoon-state-message {
  padding: 12px 14px;
  border: 1px solid var(--y4-border);
  border-radius: var(--y4-radius-md);
  background: var(--y4-surface);
  color: var(--y4-text);
}

.yatoon-state-message.is-success { border-color: color-mix(in srgb, var(--y4-success) 34%, white); color: var(--y4-success); }
.yatoon-state-message.is-warning { border-color: color-mix(in srgb, var(--y4-warning) 34%, white); color: var(--y4-warning); }
.yatoon-state-message.is-error { border-color: color-mix(in srgb, var(--y4-danger) 34%, white); color: var(--y4-danger); }

/* Customer booking */
.sbs-booking-container {
  width: min(1700px, calc(100% - 32px));
  margin: 32px auto;
  background: transparent;
}

.sbs-booking-layout {
  align-items: flex-start;
  gap: 28px;
}

.sbs-booking-main {
  min-width: 0;
  border: 1px solid var(--y4-border);
  border-radius: var(--y4-radius-xl);
  background: var(--y4-surface);
  box-shadow: var(--y4-shadow-md);
  overflow: visible;
}

.sbs-form-step {
  padding: clamp(22px, 4vw, 42px);
}

.sbs-form-step > h1,
.sbs-form-step > h2 {
  color: var(--y4-text);
  letter-spacing: -.03em;
  line-height: 1.12;
}

.sbs-venue-hero {
  border: 0;
  border-bottom: 1px solid var(--y4-border);
  border-radius: 0;
  background:
    radial-gradient(circle at 90% 0%, color-mix(in srgb, var(--y4-primary) 12%, transparent), transparent 42%),
    linear-gradient(135deg, #fff 0%, #fbfbfd 100%);
  padding: clamp(24px, 4vw, 40px);
}

.sbs-venue-trust-strip,
.sbs-checkout-trust-strip {
  border: 1px solid transparent;
  border-radius: var(--y4-radius-md);
  background: #fbfcfe;
  color: var(--y4-muted);
}

.sbs-appt-type-wrap {
  margin: 0 0 24px;
  padding: 18px;
  border: 1px solid transparent;
  border-radius: var(--y4-radius-lg);
  background: #fbfcfe;
}

.sbs-appt-type-label {
  color: var(--y4-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sbs-appt-type-card {
  min-height: 72px;
  border: 1px solid transparent;
  border-radius: var(--y4-radius-md);
  background: var(--y4-surface);
  box-shadow: var(--y4-shadow-sm);
  transition: border-color .18s var(--y4-ease), transform .18s var(--y4-ease), box-shadow .18s var(--y4-ease);
}

.sbs-appt-type-card:hover {
  border-color: transparent;
  transform: translateY(-1px);
  box-shadow: var(--y4-shadow-md);
}

.sbs-appt-type-card.active,
.sbs-appt-type-card.is-selected {
  border-color: transparent;
  background: var(--y4-primary-soft);
  box-shadow: none;
}

.sbs-category-tabs-wrap {
  position: sticky;
  top: var(--yatoon-sticky-offset, 0);
  z-index: 20;
  margin: 0 -4px 14px;
  padding: 8px 4px;
  background: rgba(255, 255, 255, .94);
  background: color-mix(in srgb, #fff 94%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.sbs-category-tabs {
  gap: 8px;
  scrollbar-width: none;
}

.sbs-category-tab,
.sbs-cat-tab,
#sbs-cat-more-btn {
  min-height: 40px;
  border: 1px solid var(--y4-border);
  border-radius: 999px;
  background: #fff;
  color: var(--y4-muted);
  font-weight: 650;
  white-space: nowrap;
}

.sbs-category-tab:hover,
.sbs-cat-tab:hover,
#sbs-cat-more-btn:hover {
  border-color: var(--y4-border-strong);
  color: var(--y4-text);
}

.sbs-category-tab.active,
.sbs-cat-tab.active {
  border-color: var(--y4-text);
  background: var(--y4-text);
  color: #fff;
}

.sbs-services-list > [hidden] {
  display: none !important;
}

.sbs-service-desc-wrap.is-expanded {
  display: block !important;
  overflow: visible !important;
  -webkit-line-clamp: unset !important;
  max-height: none !important;
}

.sbs-service-desc-wrap.is-expanded .sbs-desc-full {
  display: inline !important;
  white-space: normal;
}

.sbs-service-desc-wrap .sbs-read-more {
  appearance: none;
  display: inline-flex !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 28px !important;
  margin: 3px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: var(--sbs-readmore, var(--y4-primary)) !important;
  font: inherit;
  font-size: 12px !important;
  font-weight: 750 !important;
  line-height: 1.4 !important;
  text-transform: none !important;
  cursor: pointer;
}

@media (min-width: 981px) {
  .sbs-booking-container {
    width: min(1340px, calc(100% - 32px));
    max-width: min(1340px, calc(100vw - 32px)) !important;
  }

  .sbs-booking-layout {
    grid-template-columns: minmax(0, 1fr) minmax(310px, 350px) !important;
    gap: 24px !important;
  }

  .sbs-category-tabs :is(.sbs-cat-tab, #sbs-cat-more-btn) {
    padding: 8px 12px !important;
    font-size: clamp(11px, .82vw, 12.5px) !important;
    flex: 0 0 auto !important;
  }
}

.sbs-service-search-wrap input,
.sbs-form-group :is(input, select, textarea),
.sbs-portal-wrap :is(input, select, textarea),
.ysp-editor-input,
.ysp-editor-select,
.ysp-editor-textarea {
  min-height: 46px;
  border: 1px solid var(--y4-border-strong);
  border-radius: var(--y4-radius-sm);
  background: #fff;
  color: var(--y4-text);
  font: inherit;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.sbs-service-search-wrap input:focus,
.sbs-form-group :is(input, select, textarea):focus,
.sbs-portal-wrap :is(input, select, textarea):focus,
.ysp-editor-input:focus,
.ysp-editor-select:focus,
.ysp-editor-textarea:focus {
  border-color: var(--y4-primary);
  box-shadow: var(--y4-focus);
}

.sbs-category-title {
  margin: 30px 0 12px;
  color: var(--y4-text);
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -.02em;
}

.sbs-service-item {
  position: relative;
  margin: 0 0 12px;
  border: 1px solid var(--y4-border);
  border-radius: var(--y4-radius-lg);
  background: var(--y4-surface);
  box-shadow: var(--y4-shadow-sm);
  transition: transform .18s var(--y4-ease), border-color .18s var(--y4-ease), box-shadow .18s var(--y4-ease);
}

.sbs-service-item:hover {
  border-color: color-mix(in srgb, var(--y4-primary) 34%, var(--y4-border));
  transform: translateY(-2px);
  box-shadow: var(--y4-shadow-md);
}

.sbs-service-item.selected {
  border-color: var(--y4-primary);
  background: linear-gradient(135deg, #fff, var(--y4-primary-soft));
  box-shadow: var(--y4-focus);
}

.sbs-service-name,
.sbs-service-item h4 {
  color: var(--y4-text);
  font-weight: 750;
  letter-spacing: -.015em;
}

.sbs-service-description,
.sbs-service-desc,
.sbs-service-duration {
  color: var(--y4-muted);
}

.sbs-service-price {
  color: var(--y4-text);
  font-weight: 750;
}

.sbs-book-btn,
.sbs-btn,
.sbs-btn-next,
.sbs-btn-submit,
.sbs-btn-add,
.sbs-navigation-buttons button,
.sbs-portal-wrap button:not(.sbs-portal-link),
.yatoon-manage-wrap button {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: var(--y4-radius-sm);
  font: inherit;
  font-weight: 700;
  transition: transform .15s var(--y4-ease), box-shadow .15s var(--y4-ease), background .15s ease;
}

.sbs-book-btn,
.sbs-btn-next,
.sbs-btn-submit,
.sbs-btn-add {
  background: var(--y4-primary);
  color: #fff;
  box-shadow: 0 6px 14px color-mix(in srgb, var(--y4-primary) 22%, transparent);
}

.sbs-book-btn:hover,
.sbs-btn-next:hover,
.sbs-btn-submit:hover,
.sbs-btn-add:hover {
  background: var(--y4-primary-strong);
  transform: translateY(-1px);
}

.sbs-btn-back {
  border-color: var(--y4-border-strong);
  background: #fff;
  color: var(--y4-text);
  box-shadow: none;
}

.sbs-loading {
  min-height: 112px;
  border: 1px dashed var(--y4-border-strong);
  border-radius: var(--y4-radius-md);
  background: #fbfcfe;
  color: var(--y4-muted);
}

.sbs-staff-card,
.sbs-option-item,
.sbs-time-slot,
.sbs-date-shortcut {
  border: 1px solid var(--y4-border);
  border-radius: var(--y4-radius-md);
  background: #fff;
  box-shadow: var(--y4-shadow-sm);
}

.sbs-staff-card.selected,
.sbs-option-item.selected,
.sbs-time-slot.selected,
.sbs-date-shortcut.active {
  border-color: var(--y4-primary);
  background: var(--y4-primary-soft);
  box-shadow: var(--y4-focus);
}

.sbs-booking-sidebar {
  position: sticky;
  top: 24px;
  border: 1px solid var(--y4-border);
  border-radius: var(--y4-radius-lg);
  background: #fff;
  box-shadow: var(--y4-shadow-md);
  overflow: clip;
}

.sbs-booking-summary {
  border: 0;
  border-radius: 0;
  background: #fff;
}

.sbs-summary-item {
  border-color: var(--y4-border);
}

.sbs-summary-edit-btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--y4-border);
  border-radius: 50%;
  background: #fff;
  color: var(--y4-muted);
}

.sbs-progress-bar {
  padding: 18px 28px 8px;
  border-bottom: 1px solid var(--y4-border);
  background: #fff;
}

#sbs-toast,
.ysp-toast {
  border-radius: var(--y4-radius-md);
  box-shadow: var(--y4-shadow-lg);
}

/* Customer and manage portals */
.sbs-portal-wrap,
.yatoon-manage-wrap {
  width: min(780px, calc(100% - 32px));
  margin: 32px auto;
}

.sbs-portal-card,
.sbs-portal-login,
.sbs-portal-booking,
.yatoon-manage-card,
.yatoon-manage-panel {
  border: 1px solid var(--y4-border);
  border-radius: var(--y4-radius-lg);
  background: #fff;
  box-shadow: var(--y4-shadow-md);
}

.sbs-portal-badge,
.yatoon-status-badge {
  border-radius: 999px;
  font-weight: 700;
}

/* Staff portal */
.yatoon-staff-portal-page {
  margin: 0;
  background: var(--y4-canvas);
}

#ysp-app {
  min-height: 100dvh;
  background: var(--y4-canvas);
}

.ysp-topbar {
  border-bottom: 1px solid var(--y4-border);
  background: color-mix(in srgb, #fff 94%, transparent);
  box-shadow: var(--y4-shadow-sm);
  backdrop-filter: blur(14px);
}

.ysp-topbar-name {
  color: var(--y4-text);
  font-weight: 780;
  letter-spacing: -.02em;
}

.ysp-topbar-sub,
.ysp-last-sync {
  color: var(--y4-muted);
}

.ysp-icon-button,
.ysp-refresh-btn,
.ysp-topbar-logout,
.ysp-calendar-options {
  border: 1px solid var(--y4-border);
  border-radius: 12px;
  background: #fff;
  color: var(--y4-text);
  box-shadow: var(--y4-shadow-sm);
}

.ysp-calendar-toolbar,
.ysp-day-tabs,
.ysp-staff-tabs {
  background: var(--y4-canvas);
}

.ysp-view-switch {
  padding: 4px;
  border: 1px solid var(--y4-border);
  border-radius: 12px;
  background: #eef1f6;
}

.ysp-view-switch button {
  min-height: 36px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--y4-muted);
  font-weight: 700;
}

.ysp-view-switch button.active {
  background: #fff;
  color: var(--y4-text);
  box-shadow: var(--y4-shadow-sm);
}

.ysp-schedule {
  padding-bottom: calc(92px + env(safe-area-inset-bottom));
}

.ysp-booking-card,
.ysp-today-command,
.ysp-customer-card {
  border: 1px solid var(--y4-border);
  border-radius: var(--y4-radius-md);
  background: #fff;
  box-shadow: var(--y4-shadow-sm);
}

.ysp-booking-card {
  transition: transform .15s var(--y4-ease), box-shadow .15s var(--y4-ease);
}

.ysp-booking-card:active {
  transform: scale(.99);
}

.ysp-bottom-nav {
  left: 50%;
  bottom: max(10px, env(safe-area-inset-bottom));
  width: min(560px, calc(100% - 20px));
  border: 1px solid color-mix(in srgb, var(--y4-border) 88%, transparent);
  border-radius: 20px;
  background: color-mix(in srgb, #fff 94%, transparent);
  box-shadow: var(--y4-shadow-lg);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.ysp-bottom-nav-btn {
  min-width: 0;
  min-height: 62px;
  border-radius: 14px;
  color: var(--y4-muted);
}

.ysp-bottom-nav-btn.active {
  background: var(--y4-primary-soft);
  color: var(--y4-primary-strong);
}

.ysp-bottom-nav-icon {
  font-size: 0;
}

.ysp-bottom-nav-btn[data-view="today"] .ysp-bottom-nav-icon::before { content: "●"; }
.ysp-bottom-nav-btn[data-view="calendar"] .ysp-bottom-nav-icon::before { content: "▦"; }
.ysp-bottom-nav-btn[data-view="clients"] .ysp-bottom-nav-icon::before { content: "◎"; }
.ysp-bottom-nav-btn[data-view="checkout"] .ysp-bottom-nav-icon::before { content: "$"; }
.ysp-bottom-nav-btn[data-view="messages"] .ysp-bottom-nav-icon::before { content: "✉"; }
#ysp-bottom-more-btn .ysp-bottom-nav-icon::before { content: "•••"; }
.ysp-bottom-nav-icon::before {
  font-size: 19px;
  line-height: 1;
}

.ysp-overlay {
  background: rgba(16, 24, 40, .48);
  backdrop-filter: blur(4px);
}

.ysp-sheet {
  border: 1px solid var(--y4-border);
  border-radius: 24px 24px 0 0;
  background: #fff;
  box-shadow: var(--y4-shadow-lg);
}

.ysp-sheet-handle {
  background: var(--y4-border-strong);
}

.ysp-login-logo {
  background: var(--y4-primary);
  box-shadow: 0 14px 34px color-mix(in srgb, var(--y4-primary) 28%, transparent);
}

.ysp-numpad-btn {
  border: 1px solid var(--y4-border);
  background: #fff;
  color: var(--y4-text);
  box-shadow: var(--y4-shadow-sm);
}

.ysp-numpad-btn:active {
  background: var(--y4-primary-soft);
  transform: scale(.96);
}

/* Admin shell and WordPress controls */
body.yatoon-app-shell-on {
  background: var(--y4-canvas);
}

body.yatoon-app-shell-on #wpcontent {
  background: var(--y4-canvas);
}

.yatoon-app-sidebar {
  border-right: 1px solid #253044;
  background: #101828;
  box-shadow: 8px 0 28px rgba(16, 24, 40, .12);
}

.yatoon-app-brand {
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: 17px;
  letter-spacing: -.02em;
}

.yatoon-app-nav-label {
  color: #98a2b3;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .12em;
}

.yatoon-app-nav a {
  border-radius: 10px;
  color: #d0d5dd;
  transition: background .16s ease, color .16s ease, transform .16s ease;
}

.yatoon-app-nav a:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
  transform: translateX(2px);
}

.yatoon-app-nav a.is-active {
  background: color-mix(in srgb, var(--y4-primary) 26%, #172033);
  color: #fff;
  box-shadow: inset 3px 0 0 var(--y4-primary);
}

.yatoon-app-topbar {
  border-bottom: 1px solid var(--y4-border);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
}

.yatoon-app-search input {
  border: 1px solid var(--y4-border);
  border-radius: 11px;
  background: #f9fafb;
}

body.yatoon-app-shell-on .wrap {
  max-width: 1440px;
}

body.yatoon-app-shell-on :is(.postbox, .card, .sbs-card, .yatoon-card, .yc-card, .yatoon-panel) {
  border: 1px solid var(--y4-border);
  border-radius: var(--y4-radius-md);
  background: #fff;
  box-shadow: var(--y4-shadow-sm);
}

body.yatoon-app-shell-on :is(.widefat, .wp-list-table) {
  border: 1px solid var(--y4-border);
  border-radius: var(--y4-radius-md);
  background: #fff;
  box-shadow: var(--y4-shadow-sm);
  overflow: hidden;
}

body.yatoon-app-shell-on :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], input[type="search"], select, textarea) {
  min-height: 42px;
  border-color: var(--y4-border-strong);
  border-radius: 9px;
  box-shadow: none;
}

body.yatoon-app-shell-on :is(.button, .button-primary) {
  min-height: 38px;
  border-radius: 9px;
  font-weight: 650;
}

body.yatoon-app-shell-on .button-primary {
  border-color: var(--y4-primary);
  background: var(--y4-primary);
  color: #fff;
}

body.yatoon-app-shell-on :is(.notice, .updated, .error) {
  border-radius: var(--y4-radius-sm);
  box-shadow: var(--y4-shadow-sm);
}

@media (max-width: 980px) {
  .sbs-booking-container {
    width: min(760px, calc(100% - 24px));
    margin: 18px auto;
  }

  .sbs-booking-layout {
    display: block;
  }

  .sbs-booking-sidebar {
    position: static;
    margin-top: 18px;
  }

  .sbs-booking-main {
    border-radius: var(--y4-radius-lg);
  }
}

@media (max-width: 640px) {
  .sbs-booking-container,
  .sbs-portal-wrap,
  .yatoon-manage-wrap {
    width: 100%;
    margin: 0;
  }

  .sbs-booking-main,
  .sbs-portal-card,
  .sbs-portal-login,
  .yatoon-manage-card {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .sbs-form-step {
    padding: 20px 16px 112px;
  }

  .sbs-venue-hero {
    padding: 22px 16px;
  }

  .sbs-appt-type-wrap {
    padding: 14px;
  }

  .sbs-service-item {
    border-radius: var(--y4-radius-md);
  }

  .sbs-category-title {
    margin-top: 24px;
  }

  .sbs-booking-sidebar {
    display: none;
  }

  .ysp-topbar {
    padding-top: env(safe-area-inset-top);
  }

  .ysp-view-switch {
    overflow-x: auto;
  }

  .ysp-sheet {
    max-height: 92dvh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sbs-booking-container *,
  .sbs-portal-wrap *,
  .yatoon-manage-wrap *,
  .yatoon-staff-portal-page *,
  body.yatoon-app-shell-on * {
    scroll-behavior: auto;
    transition-duration: .01ms;
    animation-duration: .01ms;
    animation-iteration-count: 1;
  }
}

/* Shared admin components: tables, filters, dialogs, actions, and empty states. */
body.yatoon-app-shell-on :where(.wrap,.yatoon-admin-page) .widefat {
  overflow: hidden;
  border: 1px solid var(--y4-border);
  border-radius: var(--y4-radius-sm);
  box-shadow: var(--y4-shadow-sm);
}

body.yatoon-app-shell-on :where(.wrap,.yatoon-admin-page) .widefat thead th {
  padding: 12px 14px;
  color: var(--y4-text-muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .03em;
  text-transform: uppercase;
}

body.yatoon-app-shell-on :where(.wrap,.yatoon-admin-page) .widefat td {
  padding: 13px 14px;
  vertical-align: middle;
}

body.yatoon-app-shell-on :where(.button,button,input,select,textarea,a,[tabindex]):focus-visible {
  outline: 3px solid #2563eb !important;
  outline-offset: 2px !important;
  box-shadow: none !important;
}

body.yatoon-app-shell-on :where(.button,.button-primary,.button-secondary) {
  min-height: 36px;
  border-radius: 7px;
}

body.yatoon-app-shell-on :where(.yatoon-empty-state,.yatoon-empty,.sbs-empty-state) {
  padding: 32px 20px;
  color: var(--y4-text-muted);
  text-align: center;
}

@media (max-width: 782px) {
  body.yatoon-app-shell-on :where(.tablenav,.yatoon-filter-row,.sbs-filter-row) {
    display: flex;
    height: auto;
    flex-wrap: wrap;
    gap: 8px;
  }

  body.yatoon-app-shell-on :where(.tablenav,.yatoon-filter-row,.sbs-filter-row) :where(input,select,.button) {
    width: 100%;
    max-width: none;
  }
}
