* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --order-layout-topbar-height: 52px;
}

html,
body {
  min-height: 100%;
  margin: 0;
  font-family: var(--yomi-table-body-text-font);
  color: var(--yomi-table-body-text);
  background: var(--yomi-page-bg);
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.admin-module-shell {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  min-width: 1180px;
  min-height: 100vh;
  background-color: var(--yomi-page-bg);
  background-image: var(--yomi-page-bg-image);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.admin-module-sidebar {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 24px;
  height: calc(100vh - 14px);
  overflow-y: auto;
  padding: 24px 16px 24px 20px;
  border-radius: 0 0 18px 0;
  background-color: var(--yomi-sidebar-bg);
  background-image: var(--yomi-sidebar-bg-image);
  background-size: cover;
  background-position: center;
  border-right: 1px solid rgba(15, 23, 42, 0.09);
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}

.admin-module-sidebar::-webkit-scrollbar {
  width: 8px;
}

.admin-module-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.admin-module-sidebar::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: transparent;
}

.admin-module-sidebar.is-scrollbar-hot {
  scrollbar-color: rgba(17, 17, 17, 0.28) transparent;
}

.admin-module-sidebar.is-scrollbar-hot::-webkit-scrollbar-thumb,
.admin-module-sidebar::-webkit-scrollbar-thumb:hover,
.admin-module-sidebar::-webkit-scrollbar-thumb:active {
  background: rgba(17, 17, 17, 0.28);
}

.admin-module-brand {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: center;
}

.admin-module-brand-home {
  display: inline-grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  margin-left: auto;
  place-items: center;
  border-radius: 9px;
  color: var(--yomi-menu-item-text);
}

.admin-module-brand-home .admin-module-link-svg {
  width: 18px;
  height: 18px;
}

.admin-module-brand:hover .admin-module-brand-home,
.admin-module-brand:focus-visible .admin-module-brand-home,
.admin-module-brand.is-active .admin-module-brand-home {
  background-color: var(--yomi-active-bg);
  background-image: var(--yomi-active-bg-image);
  color: var(--yomi-menu-active-text);
}

.admin-module-logo {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background-color: var(--yomi-avatar-bg);
  background-image: var(--yomi-avatar-bg-image);
  background-size: cover;
  background-position: center;
  color: var(--yomi-avatar-text);
  font-size: var(--yomi-avatar-text-size);
  font-weight: var(--yomi-avatar-text-weight);
  font-style: var(--yomi-avatar-text-style);
}

.admin-module-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.admin-module-brand strong {
  display: block;
  overflow: hidden;
  color: var(--yomi-sidebar-store-name-text);
  font-family: var(--yomi-sidebar-store-name-text-font);
  font-size: var(--yomi-sidebar-store-name-text-size);
  font-weight: var(--yomi-sidebar-store-name-text-weight);
  font-style: var(--yomi-sidebar-store-name-text-style);
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-module-brand > span:not(.admin-module-logo):not(.admin-module-brand-home) {
  display: block;
  overflow: hidden;
  margin-top: 4px;
  color: var(--yomi-sidebar-store-description-text);
  font-family: var(--yomi-sidebar-store-description-text-font);
  font-size: var(--yomi-sidebar-store-description-text-size);
  font-weight: var(--yomi-sidebar-store-description-text-weight);
  font-style: var(--yomi-sidebar-store-description-text-style);
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-module-nav {
  display: grid;
  align-content: start;
  gap: 24px;
}

.admin-module-section {
  display: grid;
  gap: 8px;
  border-radius: 8px;
}

.admin-module-section-title {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 100%;
  min-height: auto;
  margin: 0;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: var(--yomi-menu-group-text);
  font-family: var(--yomi-menu-group-text-font);
  font-size: var(--yomi-menu-group-text-size);
  font-weight: var(--yomi-menu-group-text-weight);
  font-style: var(--yomi-menu-group-text-style);
  text-align: left;
  cursor: pointer;
  appearance: none;
  user-select: none;
}

.admin-module-section.is-collapsed .admin-module-link {
  display: none;
}

.admin-module-section-icon {
  display: inline-grid;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-right: 8px;
  place-items: center;
  color: currentColor;
}

.admin-module-section-icon .admin-module-link-svg {
  width: 18px;
  height: 18px;
}

.admin-module-link {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  width: calc(100% - 18px);
  min-height: 40px;
  margin-left: 18px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 0;
  background: transparent;
  color: var(--yomi-menu-item-text);
  font-family: var(--yomi-menu-item-text-font);
  font-size: var(--yomi-menu-item-text-size);
  font-weight: var(--yomi-menu-item-text-weight);
  font-style: var(--yomi-menu-item-text-style);
  justify-content: flex-start;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.admin-module-link-icon {
  display: inline-grid;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  place-items: center;
  color: currentColor;
}

.admin-module-link-svg {
  width: 18px;
  height: 18px;
  display: block;
  object-fit: contain;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-module-link-svg.is-mask-icon {
  background: currentColor;
}

.admin-module-link span:last-child,
.admin-module-section-title span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-module-drag {
  position: absolute;
  left: -17px;
  top: 50%;
  display: inline-grid;
  width: 14px;
  height: 18px;
  flex: 0 0 14px;
  place-items: center;
  margin-left: -4px;
  color: var(--yomi-table-sub-text);
  cursor: grab;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 0.16s ease, color 0.16s ease;
  z-index: 1;
}

.admin-module-drag svg,
.admin-module-drag img,
.admin-module-drag .is-mask-icon {
  width: 14px;
  height: 18px;
  display: block;
  object-fit: contain;
}

.admin-module-drag svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-module-drag .is-mask-icon {
  background: currentColor;
  mask: var(--action-icon-mask) center / contain no-repeat;
  -webkit-mask: var(--action-icon-mask) center / contain no-repeat;
}

.admin-module-section-title .admin-module-drag {
  left: -10px;
}

.admin-module-section-title:hover .admin-module-drag,
.admin-module-link:hover .admin-module-drag,
.admin-module-section.is-dragging .admin-module-drag,
.admin-module-link.is-dragging .admin-module-drag {
  opacity: 1;
}

.admin-module-drag:active {
  cursor: grabbing;
  color: var(--yomi-menu-active-text);
}

.admin-module-section.is-dragging,
.admin-module-link.is-dragging {
  opacity: 0.45;
}

.admin-module-section.is-drop-target,
.admin-module-link.is-drop-target {
  background: var(--yomi-active-bg);
  box-shadow: inset 3px 0 0 var(--yomi-menu-active-text);
}

.admin-module-link:hover,
.admin-module-link:focus-visible {
  background-color: var(--yomi-hover-bg);
  background-image: var(--yomi-hover-bg-image);
  background-size: cover;
  background-position: center;
  outline: none;
}

.admin-module-link.is-active {
  background-color: var(--yomi-active-bg);
  background-image: var(--yomi-active-bg-image);
  background-size: cover;
  background-position: center;
  color: var(--yomi-menu-active-text);
  font-weight: var(--yomi-menu-active-text-weight);
  font-style: var(--yomi-menu-active-text-style);
}

.admin-module-link.is-active::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 0;
  height: 100%;
  width: 3px;
  border-radius: 999px;
  background: var(--yomi-menu-active-text);
}

.admin-module-main {
  min-width: 0;
  min-height: 100vh;
}

.admin-module-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
  width: calc(100% - 32px);
  min-height: var(--order-layout-topbar-height);
  margin: 0 16px;
  padding: 7px 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 0 0 22px 22px;
  background:
    var(--yomi-topbar-bg-image),
    var(--yomi-topbar-bg);
  box-shadow: 0 18px 42px rgba(17, 17, 17, 0.14), 0 4px 14px rgba(17, 17, 17, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
}

.admin-module-back {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 10px;
  background-color: var(--yomi-form-bg);
  background-image: var(--yomi-form-bg-image);
  color: var(--yomi-secondary-button-text);
}

.admin-module-back-icon,
.admin-module-back svg {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.admin-module-back svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-module-back-icon.is-mask-icon {
  background: currentColor;
  mask: var(--action-icon-mask) center / contain no-repeat;
  -webkit-mask: var(--action-icon-mask) center / contain no-repeat;
}

.admin-module-title {
  margin: 0;
  color: var(--yomi-topbar-title-text);
  font-family: var(--yomi-topbar-title-text-font);
  font-size: var(--yomi-topbar-title-text-size);
  font-weight: var(--yomi-topbar-title-text-weight);
  font-style: var(--yomi-topbar-title-text-style);
}

.admin-module-topbar-page-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.admin-module-topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.admin-topbar-user,
.admin-topbar-login {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 9px;
  color: var(--yomi-topbar-account-text);
  background: var(--yomi-form-bg);
  font-family: var(--yomi-topbar-account-text-font);
  font-size: var(--yomi-topbar-account-text-size);
  font-style: var(--yomi-topbar-account-text-style);
  font-weight: var(--yomi-topbar-account-text-weight);
}

.admin-topbar-login { cursor: pointer; width: 34px; justify-content: center; padding: 0; }
.admin-topbar-login-icon { width: 19px; height: 19px; }
.admin-topbar-account-menu { position: relative; }
.admin-topbar-avatar-button { display: grid; width: 34px; height: 34px; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.admin-topbar-avatar-button:hover { background: rgba(15, 23, 42, 0.06); }
.admin-topbar-user-avatar { display: inline-grid; width: 28px; height: 28px; place-items: center; overflow: hidden; border-radius: 50%; color: var(--yomi-avatar-text); background: var(--yomi-avatar-bg); font-size: 11px; font-weight: 800; }
.admin-topbar-user-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.admin-topbar-account-popover { position: absolute; z-index: 80; top: calc(100% + 8px); right: 0; display: flex; align-items: center; gap: 16px; min-width: 220px; padding: 10px 12px; border: 1px solid rgba(15, 23, 42, 0.1); border-radius: 10px; background: var(--yomi-form-bg); box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16); }
.admin-topbar-account-popover[hidden] { display: none; }
.admin-topbar-account-popover div { display: grid; min-width: 0; gap: 2px; }
.admin-topbar-account-popover strong, .admin-topbar-account-popover small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-topbar-account-popover small { color: #64748b; }
.admin-topbar-account-popover button { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; padding: 0; border: 0; border-radius: 7px; color: #dc2626; background: transparent; cursor: pointer; }
.admin-topbar-account-popover button:hover { background: #fef2f2; }
.admin-topbar-logout-icon { width: 18px; height: 18px; }
.admin-topbar-account-popover { flex-wrap:wrap; }.admin-topbar-account-info { flex:1; }.admin-topbar-account-popover .admin-topbar-security-toggle { color:var(--yomi-primary,#1677ff); font-size:20px; }.admin-topbar-account-popover .admin-topbar-security-toggle:hover { background:var(--yomi-hover-bg,#f4f6f8); }.admin-topbar-security-form { display:grid; width:100%; gap:6px; padding-top:8px; border-top:1px solid rgba(15,23,42,.1); }.admin-topbar-security-form small,.admin-topbar-security-form p { grid-column:1/-1; }.admin-topbar-security-form small { color:#64748b; white-space:normal; }.admin-topbar-security-step { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:6px; }.admin-topbar-security-step[hidden] { display:none; }.admin-topbar-security-form input { width:100%; min-width:0; height:30px; padding:0 8px; border:1px solid var(--yomi-border,#d9dee7); border-radius:5px; background:var(--yomi-form-bg,#fff); font:12px/1.2 inherit; }.admin-topbar-security-form button { width:auto; min-width:84px; height:30px; padding:0 8px; border:0; border-radius:5px; color:var(--yomi-primary-text,#fff); background:var(--yomi-primary,#1677ff); font:600 11px/1 inherit; }.admin-topbar-security-form p { min-height:14px; margin:0; color:#64748b; font-size:11px; white-space:normal; }
.admin-topbar-account-popover { min-width:290px; min-height:124px; padding:16px; gap:12px; }.admin-topbar-account-popover .admin-topbar-security-toggle { width:auto; min-width:112px; padding:0 10px; color:var(--yomi-primary-text,#fff); background:var(--yomi-primary,#1677ff); font-size:12px; font-weight:700; }.admin-topbar-account-popover .admin-topbar-security-toggle:hover { background:var(--yomi-primary,#1677ff); filter:brightness(1.08); }.admin-topbar-password-dialog { width:min(390px,calc(100vw - 32px)); padding:0; border:0; border-radius:12px; background:var(--yomi-card-bg,#fff); box-shadow:0 20px 52px rgba(15,23,42,.24); }.admin-topbar-password-dialog::backdrop { background:rgba(15,23,42,.34); }.admin-topbar-password-dialog .admin-topbar-security-form { padding:18px; border:0; gap:10px; }.admin-topbar-security-form header { display:flex; align-items:center; justify-content:space-between; }.admin-topbar-security-form header strong { font-size:16px; }.admin-topbar-security-form header button { display:grid; width:30px; min-width:30px; place-items:center; padding:0; color:var(--yomi-form-input-text,#111); background:transparent; font-size:22px; }.admin-topbar-security-form header button:hover { background:var(--yomi-hover-bg,#f4f6f8); }
.admin-topbar-security-step[data-security-password] { grid-template-columns:repeat(2,minmax(0,1fr)); }.admin-topbar-security-step[data-security-password] button { grid-column:1/-1; justify-self:end; }

/* Account menu */
.admin-topbar-account-popover { display:block; width:290px; min-width:290px; min-height:0; padding:16px; border:0; border-radius:12px; background:var(--yomi-card-bg,#fff); box-shadow:0 12px 30px rgba(15,23,42,.18); }
.admin-topbar-account-popover .admin-topbar-account-summary { display:flex; align-items:center; gap:11px; min-height:48px; }
.admin-topbar-account-summary .admin-topbar-user-avatar { width:46px; height:46px; flex:0 0 46px; font-size:14px; }
.admin-topbar-account-summary strong { overflow:hidden; color:var(--yomi-form-input-text,#111); font-size:15px; text-overflow:ellipsis; white-space:nowrap; }
.admin-topbar-account-actions { display:grid; gap:3px; margin-top:13px; }
.admin-topbar-account-popover .admin-topbar-account-actions button { display:flex; width:100%; min-height:34px; align-items:center; justify-content:flex-start; gap:11px; padding:0 10px; border:0; border-radius:6px; color:var(--yomi-form-input-text,#111); background:transparent; font-size:13px; font-weight:600; text-align:left; }
.admin-topbar-account-popover .admin-topbar-account-actions button:hover { background:var(--yomi-hover-bg,#f4f6f8); }
.admin-topbar-account-popover .admin-topbar-account-actions svg { width:17px; height:17px; flex:0 0 17px; }
.admin-topbar-account-popover .admin-topbar-account-actions .admin-topbar-security-toggle { min-width:0; color:var(--yomi-primary,#1677ff); background:color-mix(in srgb,var(--yomi-primary,#1677ff) 10%,transparent); font-size:13px; }
.admin-topbar-account-popover .admin-topbar-account-actions .admin-topbar-security-toggle:hover { background:color-mix(in srgb,var(--yomi-primary,#1677ff) 16%,transparent); filter:none; }
.admin-topbar-account-popover .admin-topbar-account-actions [data-topbar-logout] { margin-top:3px; border:0; border-radius:6px; padding-top:0; color:var(--yomi-form-input-text,#111); }
.admin-topbar-account-popover .admin-topbar-account-actions .admin-topbar-security-toggle { color:var(--yomi-form-input-text,#111); background:transparent; }
.admin-topbar-account-popover .admin-topbar-account-actions .admin-topbar-security-toggle:hover { background:var(--yomi-hover-bg,#f4f6f8); }
.admin-topbar-account-popover .admin-topbar-account-actions .admin-topbar-security-toggle.is-active { color:var(--yomi-primary,#1677ff); background:color-mix(in srgb,var(--yomi-primary,#1677ff) 10%,transparent); }
.admin-topbar-account-popover .admin-topbar-security-form { margin-top:10px; padding:14px 0 0; border:0; gap:9px; }
.admin-topbar-account-popover .admin-topbar-security-form header strong { font-size:15px; }
.admin-topbar-account-popover .admin-topbar-security-form label { display:grid; gap:5px; color:var(--yomi-form-input-text,#111); font-size:12px; font-weight:700; }
.admin-topbar-account-popover .admin-topbar-security-form input { height:36px; padding:0 10px; border-radius:6px; font-size:13px; }
.admin-topbar-account-popover .admin-topbar-security-form small { line-height:1.45; }
.admin-topbar-account-popover .admin-topbar-security-step { grid-template-columns:minmax(0,1fr) auto; }
.admin-topbar-account-popover .admin-topbar-security-step[data-security-password] { grid-template-columns:1fr; }
.admin-topbar-account-popover .admin-topbar-security-buttons { display:flex; justify-content:flex-end; gap:7px; }
.admin-topbar-account-popover .admin-topbar-security-buttons button { min-width:110px; height:34px; }
.admin-topbar-account-popover .admin-topbar-security-buttons [data-topbar-security-cancel] { color:var(--yomi-form-input-text,#111); background:var(--yomi-hover-bg,#f4f6f8); }
.admin-topbar-account-popover .admin-topbar-security-form p { position:relative; min-height:0; padding-left:18px; color:#64748b; line-height:1.35; }
.admin-topbar-account-popover .admin-topbar-security-form p::before { content:"i"; position:absolute; top:0; left:0; display:grid; width:13px; height:13px; place-items:center; border-radius:50%; color:#fff; background:var(--yomi-primary,#1677ff); font-size:9px; font-weight:800; }
.admin-topbar-account-popover .admin-topbar-security-form { margin-top:8px; font-family:var(--yomi-form-input-text-font,var(--yomi-font)); }
.admin-topbar-account-popover .admin-topbar-security-form[hidden] { display:none; }
.admin-topbar-account-popover.is-password-open .admin-topbar-account-actions [data-topbar-logout] { margin-bottom:0; padding-bottom:8px; border-bottom:1px solid rgba(15,23,42,.1); border-radius:0; }
.admin-topbar-account-popover .admin-topbar-security-form label { gap:6px; color:var(--yomi-form-label-text,#111); font-family:var(--yomi-form-label-text-font,var(--yomi-font)); font-size:var(--yomi-form-label-text-size,12px); font-style:var(--yomi-form-label-text-style,normal); font-weight:var(--yomi-form-label-text-weight,400); }
.admin-topbar-security-input { display:flex; height:36px; align-items:center; gap:9px; padding:0 10px; border:1px solid var(--yomi-border,#d9dee7); border-radius:6px; background:var(--yomi-form-bg,#fff); }
.admin-topbar-security-input svg { width:16px; height:16px; flex:0 0 16px; color:var(--yomi-form-input-text,#111); }
.admin-topbar-account-popover .admin-topbar-security-form .admin-topbar-security-input input { height:100%; padding:0; border:0; border-radius:0; color:var(--yomi-form-input-text,#111); background:transparent; font-family:var(--yomi-form-input-text-font,var(--yomi-font)); font-size:var(--yomi-form-input-text-size,13px); font-style:var(--yomi-form-input-text-style,normal); font-weight:var(--yomi-form-input-text-weight,500); }
.admin-topbar-account-popover .admin-topbar-security-form .admin-topbar-security-input input::placeholder { color:var(--yomi-form-placeholder-text,#9ca3af); font-family:var(--yomi-form-placeholder-text-font,var(--yomi-font)); font-size:var(--yomi-form-placeholder-text-size,13px); font-style:var(--yomi-form-placeholder-text-style,normal); font-weight:var(--yomi-form-placeholder-text-weight,400); }
.admin-topbar-account-popover .admin-topbar-security-buttons { justify-content:flex-end; margin-top:7px; }
.admin-topbar-account-popover .admin-topbar-security-buttons button { display:grid; width:32px; min-width:32px; height:32px; place-items:center; padding:0; color:var(--yomi-form-input-text,#111); background:transparent; }
.admin-topbar-account-popover .admin-topbar-security-buttons button:hover { color:var(--yomi-primary,#1677ff); background:var(--yomi-hover-bg,#f4f6f8); }
.admin-topbar-account-popover .admin-topbar-security-buttons button svg { width:18px; height:18px; }
.admin-topbar-account-popover .admin-topbar-security-input:focus-within { border-color:var(--yomi-border,#d9dee7); box-shadow:none; }
.admin-topbar-account-popover .admin-topbar-security-input input:focus { outline:0; box-shadow:none; }
.admin-topbar-account-popover .admin-topbar-password-visibility { display:grid; width:26px; min-width:26px; height:26px; place-items:center; padding:0; border:0; color:var(--yomi-form-input-text,#111); background:transparent; }
.admin-topbar-account-popover .admin-topbar-password-visibility:hover { color:var(--yomi-primary,#1677ff); background:var(--yomi-hover-bg,#f4f6f8); }
.admin-topbar-account-popover .admin-topbar-password-visibility svg { width:17px; height:17px; }
.admin-topbar-account-popover .admin-topbar-security-buttons { margin-top:9px; }
.admin-topbar-account-popover .admin-topbar-security-buttons button[type="submit"] { width:auto; min-width:118px; padding:0 12px; color:var(--yomi-primary-text,#fff); background:var(--yomi-primary,#1677ff); font-family:var(--yomi-form-input-text-font,var(--yomi-font)); font-size:var(--yomi-form-input-text-size,13px); font-weight:var(--yomi-form-input-text-weight,600); }
.admin-topbar-account-popover .admin-topbar-security-buttons button[type="submit"]:hover { filter:brightness(1.05); background:var(--yomi-primary,#1677ff); }
.admin-topbar-password-error { display:block; color:#dc2626; font-family:var(--yomi-form-label-text-font,var(--yomi-font)); font-size:var(--yomi-form-label-text-size,12px); font-style:var(--yomi-form-label-text-style,normal); font-weight:var(--yomi-form-label-text-weight,400); }
.admin-topbar-password-error[hidden] { display:none; }
.admin-topbar-security-input input[aria-invalid="true"] { color:#dc2626; }

.admin-module-frame {
  margin: 14px;
  height: calc(100vh - var(--order-layout-topbar-height) - 28px);
  min-height: 420px;
  overflow: hidden;
  padding: 14px;
  border-radius: 18px;
  background-color: var(--yomi-order-shell-bg);
  background-image: var(--yomi-order-shell-bg-image);
  background-size: cover;
  background-position: center;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.18);
}

.admin-module-loading {
  display: grid;
  min-height: 180px;
  place-items: center;
  color: var(--yomi-table-sub-text);
  font-family: var(--yomi-table-sub-text-font);
  font-size: var(--yomi-table-sub-text-size);
  font-weight: var(--yomi-table-sub-text-weight);
}

.admin-shell-access-denied {
  display: grid;
  place-content: center;
  min-height: 100%;
  text-align: center;
  color: var(--yomi-topbar-account-text);
}

.admin-shell-access-denied h1 { margin: 0 0 8px; font-size: 18px; }
.admin-shell-access-denied p { margin: 0; color: #64748b; }

.yomi-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  gap: 12px;
  padding-top: 6px;
}

.yomi-pagination-size,
.yomi-pagination-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.yomi-pagination-size,
.yomi-pagination-controls {
  min-width: 0;
  color: var(--yomi-table-sub-text);
  font-family: var(--yomi-table-sub-text-font);
  font-size: var(--yomi-table-sub-text-size);
  font-weight: var(--yomi-table-sub-text-weight);
  font-style: var(--yomi-table-sub-text-style);
}

.yomi-pagination-button {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--yomi-border);
  border-radius: 7px;
  color: var(--yomi-table-body-text);
  background: var(--yomi-detail-bg);
  font: inherit;
}

.yomi-pagination-button:hover:not(:disabled) {
  border-color: color-mix(in srgb, var(--yomi-primary, #1677ff) 40%, var(--yomi-border, #d9dee7));
  background: var(--yomi-hover-bg, #f4f6f8);
}

.yomi-pagination-button.is-active {
  border-color: color-mix(in srgb, var(--yomi-primary, #1677ff) 35%, var(--yomi-border, #d9dee7));
  color: var(--yomi-table-body-text);
  background: color-mix(in srgb, var(--yomi-primary, #1677ff) 10%, var(--yomi-detail-bg, #fff));
}

.yomi-pagination-button:disabled {
  opacity: .38;
  cursor: default;
}

.yomi-pagination-icon {
  width: 18px;
  height: 18px;
}

.yomi-pagination-ellipsis {
  display: inline-grid;
  width: 20px;
  height: 30px;
  place-items: center;
  color: var(--yomi-table-sub-text);
  font: inherit;
}

.yomi-hover-scroll {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}

.yomi-hover-scroll::-webkit-scrollbar { width: 8px; }
.yomi-hover-scroll::-webkit-scrollbar-track { background: transparent; }
.yomi-hover-scroll::-webkit-scrollbar-thumb { border-radius: 999px; background: transparent; }
.yomi-hover-scroll.is-scrollbar-hot { scrollbar-color: rgba(17, 17, 17, .28) transparent; }
.yomi-hover-scroll.is-scrollbar-hot::-webkit-scrollbar-thumb,
.yomi-hover-scroll::-webkit-scrollbar-thumb:hover,
.yomi-hover-scroll::-webkit-scrollbar-thumb:active { background: rgba(17, 17, 17, .28); }

@media (max-width: 900px) {
  .admin-module-shell {
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
  }

  .admin-module-sidebar {
    display: none;
  }

  .admin-module-main {
    width: 100%;
    min-width: 0;
  }

  .admin-module-frame {
    width: auto;
    min-width: 0;
    margin: 10px;
    padding: 10px;
  }

  .admin-module-topbar {
    width: 100%;
    margin: 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0 0 16px 16px;
  }
}

/* Home shortcut sits directly before the store name. */
.admin-module-brand-home{margin-left:0}
