/* =========================================================
   SuperPanel — FINAL LOCK (load last)
   Font: Manrope only
   Visual polish only — no markup / copy / behaviour changes
   ========================================================= */

:root {
  --font: "Manrope", system-ui, sans-serif !important;
  --font-sans: "Manrope", system-ui, sans-serif !important;
  --display: "Manrope", system-ui, sans-serif !important;
  --lux: "Manrope", system-ui, sans-serif !important;
}

html,
body,
body *,
body *::before,
body *::after,
input,
button,
select,
textarea,
label,
table,
th,
td,
a,
span,
strong,
p,
h1, h2, h3, h4, h5, h6,
code,
pre {
  font-family: "Manrope", system-ui, sans-serif !important;
}

svg,
svg * {
  font-family: "Manrope", system-ui, sans-serif !important;
}

/* ---------- Global text rhythm (no big gaps between lines) ---------- */
body.app-body,
body.edit-suite {
  line-height: 1.35;
}

.home-resto-name,
.home-resto-sub,
.home-address-line,
.home-url-link,
.price-row-name,
.price-row-sub,
.img-crm-item,
.cat-order-name,
.order-address,
.order-delivery,
.order-time {
  line-height: 1.25 !important;
}

.home-resto-sub,
.home-url-link,
.price-row-sub {
  margin-top: 0.08rem !important;
}

.home-address-line {
  margin-bottom: 0 !important;
}

/* ---------- Section / card breathing room (tight, not empty) ---------- */
.crm-board-wrap,
.price-panel.crm-board .crm-board-wrap,
.cat-items-panel.crm-board .crm-board-wrap {
  padding: 0.65rem 1rem 1rem !important;
}

.lux-page {
    padding: 1rem 1.1rem 1.25rem !important;
}

body.edit-suite .lux-page {
    padding-top: 0 !important;
    padding-bottom: 1.1rem !important;
}

.hub-section-main,
.hub-section-tools,
.hub-feats,
.hub-pro-head {
  margin-bottom: 0.75rem !important;
}

.crm-table,
.price-list-card.crm-table,
.cat-order-card.crm-table,
.addon-list-card,
.size-list-card,
.topping-list-card,
.update-item-card.crm-edit-card,
.price-crm,
.img-crm-card,
.order-crm-card {
  margin: 0 !important;
}

.crm-board .update-item-price-block {
  margin: 0.35rem 1.1rem 1rem !important;
  padding: 0.95rem 1rem 1rem !important;
}

.crm-board .update-item-grid,
.crm-board .update-item-section {
  padding-left: 1.1rem !important;
  padding-right: 1.1rem !important;
}

.form-suite .payment-section,
.form-suite .payment-section.lux-pay-card,
.payment-panel .lux-pay-card {
  margin-bottom: 0.65rem !important;
}

.orders-panel .lux-orders-toolbar,
.orders-panel .orders-toolbar {
  margin-bottom: 0.65rem !important;
}

.orders-filters.lux-filter-bar,
.lux-filter-bar {
  margin-bottom: 0.65rem !important;
  gap: 0.55rem !important;
}

/* ---------- List headers (readable, consistent) ---------- */
.crm-thead,
.img-crm-table thead th,
.order-crm-table thead th,
.home-table thead th,
.orders-panel .orders-table thead th,
.edit-suite .orders-table thead th {
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em !important;
  line-height: 1.2 !important;
}

.price-crm .price-list-head.price-crm-head,
.price-crm .price-list-head.price-crm-head > span,
.price-crm-head .price-size-name {
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em !important;
  line-height: 1.2 !important;
}

/* ---------- Highlighted / primary row text (bigger, clear) ---------- */
.home-resto-name {
  font-size: 1rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.015em !important;
  color: #0a0a0a !important;
}

.price-crm .price-row-name,
.price-row-name,
.img-crm-item,
.cat-order-name,
.cat-items-panel .price-crm .price-row-name {
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
  color: #111 !important;
  line-height: 1.35 !important;
}

.home-address-line {
  font-size: 0.92rem !important;
  font-weight: 650 !important;
}

.home-resto-sub,
.home-url-link,
.price-crm .price-row-sub,
.price-row-sub {
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  color: #666 !important;
}

.price-crm .price-amount,
.price-amount {
  font-size: 0.86rem !important;
  font-weight: 500 !important;
}

.price-crm .price-status {
  font-size: 0.74rem !important;
  font-weight: 500 !important;
}

.home-table .badge,
.home-table .pay-badge,
.pay-badge {
  font-size: 0.78rem !important;
  font-weight: 700 !important;
}

.price-crm .price-col-num {
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  color: #888 !important;
}

.home-sno,
.lux-sno {
  font-size: 0.85rem !important;
  font-weight: 700 !important;
}

.price-crm .price-row-no {
  font-size: 0.74rem !important;
  font-weight: 500 !important;
  min-width: 2.2rem !important;
  height: 1.65rem !important;
}

/* ---------- List row padding (tight sections, not sparse) ---------- */
.price-crm-row,
.price-row.price-crm-row,
.cat-items-panel .price-crm-row,
.cat-items-panel .price-row.price-crm-row {
  padding: 0.55rem 0.85rem !important;
}

.price-crm-head,
.price-list-head.price-crm-head,
.cat-items-panel .price-crm-head {
  padding: 0.5rem 0.85rem !important;
  background: #f5f5f5 !important;
  color: #444 !important;
  border-bottom: 1px solid #e0e0e0 !important;
}

.price-crm-head > span,
.price-list-head.price-crm-head > span {
  color: #555 !important;
  font-weight: 500 !important;
}

.home-table th,
.home-table td {
  padding: 0.55rem 0.9rem !important;
}

.orders-panel .orders-table tbody td {
  padding: 0.7rem 0.9rem !important;
}

.orders-panel .orders-table thead th {
  padding: 0.7rem 0.9rem !important;
}

.img-crm-table tbody td,
.order-crm-table tbody td {
  padding: 0.55rem 0.85rem !important;
}

.img-crm-table thead th,
.order-crm-table thead th {
  padding: 0.55rem 0.85rem !important;
}

/* Item order table — header columns align with body cells */
.order-crm-table thead th.order-col-num,
.order-crm-table .item-order-col-num {
  width: 48px !important;
  text-align: center !important;
}

.order-crm-table thead th.item-order-col-name,
.order-crm-table .item-order-col-name {
  width: 30% !important;
}

.order-crm-table thead th.item-order-col-cat,
.order-crm-table .item-order-col-cat {
  width: 22% !important;
}

.order-crm-table thead th.item-order-col-itemno,
.order-crm-table .item-order-col-itemno {
  width: 14% !important;
}

.order-crm-table thead th.item-order-col-orderno,
.order-crm-table .item-order-col-orderno {
  width: 96px !important;
}

body.edit-suite .order-crm-table thead th.item-order-col-orderno .crm-th-inner,
body.edit-suite .order-crm-table .item-order-col-orderno {
  text-align: left !important;
}

body.edit-suite .order-crm-table .item-order-col-orderno input {
  width: 100% !important;
  max-width: none !important;
}

/* ---------- Column alignment lock (prices / items) ---------- */
.price-crm:not(.price-crm-summary):not(.price-crm-multi) .price-list-head.price-crm-head,
.price-crm:not(.price-crm-summary):not(.price-crm-multi) .price-row.price-crm-row,
.price-crm:not(.price-crm-summary):not(.price-crm-multi) .price-row.crm-row,
.cat-items-panel .price-crm:not(.price-crm-summary):not(.price-crm-multi) .price-crm-head,
.cat-items-panel .price-crm:not(.price-crm-summary):not(.price-crm-multi) .price-row.price-crm-row {
  grid-template-columns: 48px 78px minmax(0, 1fr) 110px 110px 190px !important;
  align-items: center !important;
  gap: 0.55rem !important;
}

.price-crm.price-crm-multi .price-list-head.price-crm-head,
.price-crm.price-crm-multi .price-row.price-crm-row,
.price-crm.price-crm-multi .price-row.crm-row,
.cat-items-panel .price-crm.price-crm-multi .price-list-head.price-crm-head,
.cat-items-panel .price-crm.price-crm-multi .price-row.price-crm-row {
  grid-template-columns: 42px 68px minmax(160px, 1.35fr) 92px repeat(var(--price-size-count, 1), minmax(76px, 92px)) 156px !important;
}

.price-crm.price-crm-multi {
  overflow-x: auto !important;
}

.price-crm.price-crm-multi .price-crm-scroll {
  min-width: max(100%, calc(520px + (var(--price-size-count, 1) * 84px))) !important;
  width: 100%;
  box-sizing: border-box;
}

.price-crm .price-col-num,
.price-crm .price-col-code,
.price-crm .price-col-status,
.price-crm .price-col-price,
.price-crm .price-col-actions {
  text-align: center !important;
}

.price-crm .price-col-item,
.price-crm .price-row-main {
  text-align: left !important;
  min-width: 0 !important;
}

.price-crm .price-col-code,
.price-crm .price-row-price,
.price-crm .price-col-status {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.price-crm .price-col-actions {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

/* ---------- Icons / thumbs a bit larger & crisp ---------- */
.img-crm-thumb,
.price-crm .img-crm-thumb {
  width: 48px !important;
  height: 48px !important;
}

.img-crm-thumb svg,
.home-table svg,
.price-search-bar svg,
.orders-search-bar svg,
.date-picker-icon svg {
  width: 16px !important;
  height: 16px !important;
}

.edit-client-pill svg {
  width: 13px !important;
  height: 13px !important;
}

.edit-topbar-btn svg {
  width: 16px !important;
  height: 16px !important;
}

.hub-feat-ico svg,
.dash-card-icon svg,
.menu-hub-ico svg {
  width: 22px !important;
  height: 22px !important;
}

/* ---------- Toolbar / search height consistent ---------- */
.price-crm .price-list-toolbar.crm-toolbar,
.img-crm-toolbar,
.order-crm-toolbar {
  padding: 0.55rem 0.85rem !important;
  gap: 0.55rem !important;
  align-items: center !important;
}

.price-crm .price-search-bar,
.cat-items-panel .price-crm .price-search-bar {
  min-height: 36px !important;
}

.price-crm .price-search-bar input,
.cat-items-panel .price-crm .price-search-bar input {
  font-size: 0.86rem !important;
  padding: 0.35rem 0 !important;
}

.price-count,
.img-crm-count,
.cat-items-panel .price-count {
  min-height: 36px !important;
  height: auto !important;
  padding: 0.3rem 0.7rem !important;
  font-size: 0.8rem !important;
  align-self: center !important;
}

.price-count strong {
  font-size: 0.92rem !important;
}

.img-crm-cat-pill,
.cat-items-panel .img-crm-cat-pill {
  padding: 0.28rem 0.65rem !important;
  font-size: 0.78rem !important;
  border-radius: 8px !important;
}

/* ---------- Kill accidental monospace / weird stacks ---------- */
code,
.img-crm-file,
pre,
kbd,
samp {
  font-family: "Manrope", system-ui, sans-serif !important;
  font-variant-numeric: tabular-nums;
}

/* Orders address / delivery � no double air */
.orders-panel .order-address,
.orders-panel .order-delivery,
.orders-panel td.pre-line {
  line-height: 1.3 !important;
}

.orders-panel .order-address br,
.orders-panel .order-delivery br {
  display: block;
  content: '';
  margin: 0 !important;
  line-height: 0 !important;
}

/* Edit header client line � compact */
.edit-client-main {
  gap: 0.45rem !important;
}

.edit-client-meta {
  gap: 0.3rem !important;
}

.edit-client-name {
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

.edit-client-pill {
  font-size: 0.72rem !important;
  padding: 0.18rem 0.5rem !important;
}

/* Prices toolbar — keep stats / filters separated, one baseline row */
.price-crm .price-toolbar-suite.crm-toolbar {
  padding: 0.65rem 0.85rem !important;
  gap: 0.65rem 0.85rem !important;
  align-items: center !important;
}

.price-crm .price-toolbar-stats,
.price-crm .price-toolbar-controls {
  align-items: center !important;
}

.price-crm .price-toolbar-suite .price-stat,
.price-crm .price-toolbar-stats .img-crm-cat-pill {
  min-height: 42px !important;
  height: 42px !important;
  align-self: center !important;
}

.price-crm .price-toolbar-suite .price-search-bar,
.cat-items-panel .price-crm .price-search-bar {
  min-height: 42px !important;
  height: 42px !important;
}

.price-crm .price-toolbar-suite .price-status-select .adv-select-trigger {
  min-height: 42px !important;
  height: 42px !important;
}

.price-crm .price-toolbar-suite .price-filter-field {
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.45rem !important;
  flex: 0 0 auto !important;
  width: auto !important;
}

.price-crm .price-toolbar-suite .price-filter-label {
  font-size: 0.72rem !important;
  font-weight: 650 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  white-space: nowrap !important;
}

/* Sizes / Toppings / Addons — outer list card breathing room */
body.edit-suite .size-panel .size-list-card,
body.edit-suite .topping-panel .topping-list-card,
body.edit-suite .addon-panel .addon-list-card {
  margin: 0.65rem 1rem 1rem !important;
}

/* Category order — header + rows share the same 4-column grid */
body.edit-suite .cat-order-crm-head,
body.edit-suite .cat-order-editor .cat-order-row,
body.edit-suite .cat-order-editor .cat-order-card {
  display: grid !important;
  grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1fr) minmax(92px, 0.9fr) !important;
  gap: 0.65rem !important;
  align-items: center !important;
  box-sizing: border-box !important;
}

.cat-order-editor .cat-order-row,
.cat-order-editor .cat-order-card {
  padding: 0.62rem 0.75rem !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
}

.cat-order-editor .cat-order-row:hover {
  background: transparent !important;
}

.cat-order-editor .cat-order-toolbar .form-head-save {
  width: auto !important;
  min-height: 34px !important;
  border-radius: 999px !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

/* Home index — Received vs Payment badges */
.home-table .pay-badge.pay-paid,
.pay-badge.pay-paid {
  background: #111 !important;
  color: #fff !important;
  border-color: #111 !important;
}

.home-table .pay-badge.pay-pending,
.pay-badge.pay-pending {
  background: #f4f4f4 !important;
  color: #555 !important;
  border-color: #b8b8b8 !important;
}

.home-table .pay-badge.pay-paid:hover,
.pay-badge.pay-paid:hover {
  background: #111 !important;
  color: #fff !important;
  border-color: #111 !important;
}

.home-table .pay-badge.pay-pending:hover,
.pay-badge.pay-pending:hover {
  background: #f4f4f4 !important;
  color: #555 !important;
  border-color: #b8b8b8 !important;
}

/* ---------- Price / category items list — readable headers + light type ---------- */
.price-crm-head .price-size-name,
.price-crm-head .price-col-size .price-size-name,
.price-list-head.price-crm-head .price-size-name {
  color: #555 !important;
  font-size: 0.66rem !important;
  font-weight: 500 !important;
  text-transform: none !important;
  letter-spacing: 0.01em !important;
}

.price-crm-head .price-size-types,
.price-crm .price-size-types {
  display: none !important;
}

.price-crm .price-row-name,
.cat-items-panel .price-crm .price-row-name {
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  color: #222 !important;
}

.price-crm .price-row-sub,
.cat-items-panel .price-crm .price-row-sub {
  font-size: 0.76rem !important;
  font-weight: 500 !important;
  color: #777 !important;
}

.price-crm .price-amount,
.cat-items-panel .price-crm .price-amount {
  font-size: 0.84rem !important;
  font-weight: 500 !important;
  color: #444 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
}

.price-crm .price-col-size-default .price-amount {
  color: #444 !important;
  font-weight: 500 !important;
}

.price-crm .price-row-no,
.cat-items-panel .price-crm .price-row-no {
  background: #f3f3f3 !important;
  color: #555 !important;
  border: 1px solid #ddd !important;
  font-weight: 500 !important;
}

.price-crm .price-status.is-active,
.cat-items-panel .price-crm .price-status.is-active {
  background: #fff !important;
  color: #333 !important;
  border-color: #bbb !important;
  font-weight: 500 !important;
}

.img-crm-cat-pill,
.cat-items-panel .img-crm-cat-pill {
  color: #444 !important;
  background: #fff !important;
  border: 1px solid #ccc !important;
  font-weight: 500 !important;
}

.price-crm .price-toolbar-suite .price-stat-num,
.price-crm .price-toolbar-suite .price-stat-label {
  font-weight: 500 !important;
}

.price-crm .price-crm-scroll {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

.price-crm .price-list {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
}

.price-crm.price-crm-multi .price-crm-scroll {
  overflow: auto !important;
}

.price-crm.price-crm-multi .price-list {
  overflow: visible !important;
}

/* Price lists — toolbar row alignment lock (Prices + Category items) */
.price-crm .price-toolbar-controls {
  display: flex !important;
  align-items: center !important;
  flex: 1 1 auto !important;
  justify-content: flex-end !important;
  gap: 0.65rem !important;
  min-width: 0 !important;
  flex-wrap: nowrap !important;
}

.price-crm .price-toolbar-suite .price-status-select {
  width: 148px !important;
  min-width: 148px !important;
  flex-shrink: 0 !important;
}

.price-crm .price-toolbar-suite .price-search-bar,
.cat-items-panel .price-crm .price-search-bar {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: none !important;
  width: auto !important;
}

.price-crm .price-search-bar input[type="search"]::-webkit-search-cancel-button,
.price-crm .price-search-bar input[type="search"]::-webkit-search-decoration,
.cat-order-search input[type="search"]::-webkit-search-cancel-button,
.cat-order-search input[type="search"]::-webkit-search-decoration,
.hub-inline-search input[type="search"]::-webkit-search-cancel-button,
.hub-inline-search input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: none !important;
}

.cat-items-panel .price-crm .price-list-toolbar.crm-toolbar {
  padding: 0.65rem 0.85rem !important;
}

.cat-items-panel .price-crm .price-search-bar input {
  padding: 0 !important;
}

/* Category order — tighter row sections, all columns same height */
.cat-order-editor .cat-order-pane {
  gap: 0.18rem !important;
  padding: 0.38rem 0.75rem 0.32rem !important;
}

.cat-order-editor .cat-order-pane .cat-order-name {
  line-height: 1.2 !important;
  margin: 0 !important;
}

.cat-order-editor .cat-order-idx {
  padding: 0.38rem 0 0.32rem !important;
  font-size: 0.74rem !important;
  font-weight: 700 !important;
}

.cat-order-editor .cat-order-rail {
  padding: 0.38rem 0.5rem 0.32rem !important;
}

.cat-order-editor .cat-order-field {
  gap: 0.15rem !important;
}

.cat-order-editor .cat-order-field > span {
  font-size: 0.62rem !important;
  line-height: 1 !important;
}

.cat-order-editor .cat-order-num-input {
  min-height: 26px !important;
  height: 26px !important;
  padding: 0 0.35rem !important;
  font-size: 0.78rem !important;
}

.price-crm .price-toolbar-controls {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

/* Price lists — search fills toolbar to the right edge */
.price-crm .price-toolbar-suite.crm-toolbar {
  justify-content: flex-start !important;
}

.price-crm .price-toolbar-stats {
  flex: 0 0 auto !important;
}

.price-crm .price-toolbar-suite .price-filter-field {
  flex: 0 0 auto !important;
}

/* Search filters — hidden rows stay hidden over display:grid locks */
.cat-order-editor .cat-order-row[hidden],
.cat-order-editor .cat-order-card[hidden],
.price-crm .price-crm-row[hidden],
.price-crm .price-row[hidden],
.price-crm .price-row.crm-row[hidden],
.size-row[hidden],
.topping-row[hidden],
.addon-row[hidden],
.hub-feat[hidden],
.hub-tile[hidden],
.dash-card[hidden],
.menu-hub-card[hidden] {
  display: none !important;
}

/* Password fields — one eye toggle only (hide browser reveal) */
.password-wrap input[type="password"]::-ms-reveal,
.password-wrap input[type="password"]::-ms-clear,
.login-form .password-wrap input[type="password"]::-ms-reveal,
.login-form .password-wrap input[type="password"]::-ms-clear {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.password-wrap input[type="password"]::-webkit-credentials-auto-fill-button,
.password-wrap input[type="password"]::-webkit-strong-password-auto-fill-button,
.login-form .password-wrap input[type="password"]::-webkit-credentials-auto-fill-button,
.login-form .password-wrap input[type="password"]::-webkit-strong-password-auto-fill-button {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

.toggle-pass .eye-icon[hidden],
.toggle-pass svg[hidden] {
  display: none !important;
}

/* ---------- Prices table — dynamic size columns (1–8 sizes, auto layout) ---------- */
.price-crm:not(.price-crm-multi):not(.price-crm-summary) .price-list-head.price-crm-head,
.price-crm:not(.price-crm-multi):not(.price-crm-summary) .price-row.price-crm-row,
.price-crm:not(.price-crm-multi):not(.price-crm-summary) .price-row.crm-row,
.cat-items-panel .price-crm:not(.price-crm-multi):not(.price-crm-summary) .price-list-head.price-crm-head,
.cat-items-panel .price-crm:not(.price-crm-multi):not(.price-crm-summary) .price-row.price-crm-row {
  grid-template-columns: 42px 68px minmax(160px, 1.35fr) 92px minmax(76px, 92px) 156px !important;
}

.price-crm.price-crm-multi .price-list-head.price-crm-head,
.price-crm.price-crm-multi .price-row.price-crm-row,
.price-crm.price-crm-multi .price-row.crm-row,
.cat-items-panel .price-crm.price-crm-multi .price-list-head.price-crm-head,
.cat-items-panel .price-crm.price-crm-multi .price-row.price-crm-row {
  display: grid !important;
  grid-template-columns:
    40px
    64px
    minmax(120px, 1.15fr)
    88px
    repeat(var(--price-size-count, 1), minmax(var(--price-size-min, 70px), var(--price-size-max, 92px)))
    148px !important;
  gap: 0.55rem !important;
  align-items: center !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.price-crm.price-crm-multi .price-crm-scroll {
  min-width: max(100%, var(--price-scroll-min, calc(478px + (var(--price-size-count, 1) * 80px)))) !important;
  overflow-x: auto !important;
}

.price-crm.price-crm-multi .price-list {
  overflow: visible !important;
}

.price-crm.price-crm-multi .price-row-actions {
  min-width: 148px !important;
}

.price-crm.price-crm-multi .price-col-size,
.price-crm.price-crm-multi .price-list-head.price-crm-head .price-col-size {
  min-width: 0 !important;
}

.price-crm.price-crm-multi .price-size-name {
  font-size: 0.62rem !important;
  line-height: 1.2 !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
}

.price-crm.price-crm-multi.price-crm-cols-5 .price-size-name,
.price-crm.price-crm-multi.price-crm-cols-6 .price-size-name,
.price-crm.price-crm-multi.price-crm-cols-7 .price-size-name,
.price-crm.price-crm-multi.price-crm-cols-8 .price-size-name {
  font-size: 0.58rem !important;
}

.price-crm.price-crm-multi .price-amount {
  font-size: 0.82rem !important;
  line-height: 1.25 !important;
}

.price-crm.price-crm-multi.price-crm-cols-5 .price-amount,
.price-crm.price-crm-multi.price-crm-cols-6 .price-amount,
.price-crm.price-crm-multi.price-crm-cols-7 .price-amount,
.price-crm.price-crm-multi.price-crm-cols-8 .price-amount {
  font-size: 0.78rem !important;
}

/* Printing panes — bottom breathing room (all sections) */
.printing-suite-card .printing-pane,
.printing-page-root .printing-pane,
.payment-suite-card .printing-pane,
.payment-page-root .printing-pane {
  padding-bottom: 1rem !important;
}

.printing-suite-card .printing-pane-fields,
.printing-page-root .printing-pane-fields,
.payment-suite-card .printing-pane-fields,
.payment-page-root .printing-pane-fields {
  margin-bottom: 0.9rem !important;
}

/* Save / Update — inside section, tight top gap, side inset, bottom pad */
.sp-form-save-bar,
.sp-form-save-bar-inline {
  margin-top: 0.5rem;
  padding: 0 0.85rem 0.75rem;
  border-top: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.sp-form-save-bar .form-head-save,
.form-suite .sp-form-save-bar .form-head-save,
.sp-form-save-bar .btn.form-head-save {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 44px !important;
  height: auto !important;
  padding: 0.65rem 1rem !important;
  border-radius: 10px !important;
  margin: 0 !important;
  margin-left: 0 !important;
  flex: 1 1 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  box-sizing: border-box !important;
}

.printing-popup-form > .sp-form-save-bar,
.payment-popup-form > .sp-form-save-bar {
  display: none !important;
}

.printing-panes[hidden] .sp-form-save-bar,
.printing-pane[hidden] .sp-form-save-bar {
  display: none !important;
}

.printing-pane > .sp-form-save-bar,
.payment-page-root .printing-pane > .sp-form-save-bar,
.printing-page-root .printing-pane > .sp-form-save-bar {
  margin-top: 0.55rem;
  padding: 0 1rem 0.8rem;
}

.order-crm-card form > .sp-form-save-bar,
.img-crm-card form > .sp-form-save-bar,
.cat-order-form > .sp-form-save-bar,
.item-order-detail-card form > .sp-form-save-bar {
  margin-top: 0.45rem;
  padding: 0 0.85rem 0.75rem;
}

.karvi-seo-block > .sp-form-save-bar,
.seo-suite-shell > .sp-form-save-bar,
.close-shortcuts-form > .sp-form-save-bar,
.update-item-form > .sp-form-save-bar {
  margin-top: 0.5rem;
  padding: 0 1rem 0.8rem;
}

.crm-edit-card .update-item-form > .sp-form-save-bar {
  margin-top: 0.5rem;
  padding: 0 1rem 0.85rem;
  border-top: none;
}

.cat-order-toolbar:not(:has(.form-head-save)),
.order-crm-toolbar:not(:has(.form-head-save)),
.img-crm-toolbar:not(:has(.form-head-save)) {
  justify-content: flex-start !important;
}

.printing-pane-head.form-head-row:not(:has(.form-head-save)),
.karvi-seo-block-head.form-head-row:not(:has(.form-head-save)),
.seo-suite-head.form-head-row:not(:has(.form-head-save)),
.close-suite-head.form-head-row:not(:has(.form-head-save)),
.crm-edit-head.form-head-row:not(:has(.form-head-save)) {
  justify-content: flex-start !important;
}

.add-resto-actions {
  flex-direction: column !important;
  align-items: stretch !important;
  margin: 1rem -1.25rem 0 !important;
  padding: 0.85rem 1rem 1rem !important;
  border-radius: 0 0 18px 18px !important;
  overflow: hidden !important;
}

.add-resto-actions .add-resto-save {
  display: flex !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 44px !important;
  height: 44px !important;
  border: none !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

.add-resto-actions .add-resto-cancel {
  text-align: center;
}

/* ---------- Prices summary — real table (header above each column) ---------- */
.price-crm.price-crm-summary .price-crm-scroll {
  overflow-x: auto !important;
}

.price-crm.price-crm-summary table.price-crm-summary-table {
  width: 100% !important;
  min-width: 640px !important;
  table-layout: fixed !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  box-sizing: border-box !important;
}

.price-crm.price-crm-summary table.price-crm-summary-table thead.price-list-head.crm-thead,
body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table thead.price-list-head.crm-thead,
body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table thead.price-list-head.price-crm-head {
  display: table-header-group !important;
  grid-template-columns: unset !important;
  gap: 0 !important;
  padding: 0 !important;
  background: #111 !important;
  border-bottom: 1px solid #111 !important;
  color: #fff !important;
}

.price-crm.price-crm-summary table.price-crm-summary-table tbody.price-list,
body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table tbody.price-list {
  display: table-row-group !important;
  flex: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
  width: 100% !important;
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
}

.price-crm.price-crm-summary table.price-crm-summary-table thead tr,
.price-crm.price-crm-summary table.price-crm-summary-table tbody tr.price-crm-row,
.price-crm.price-crm-summary table.price-crm-summary-table tbody tr.price-row,
body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table thead tr,
body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table tbody tr.price-crm-row,
body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table tbody tr.price-row {
  display: table-row !important;
  grid-template-columns: unset !important;
  gap: 0 !important;
  align-items: unset !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table tbody tr.price-crm-row {
  background: #fff !important;
}

body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table tbody tr.price-crm-row:hover {
  background: #fafafa !important;
}

.price-crm.price-crm-summary table.price-crm-summary-table th,
.price-crm.price-crm-summary table.price-crm-summary-table td,
body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table th,
body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table td {
  display: table-cell !important;
  vertical-align: middle !important;
  box-sizing: border-box !important;
  padding: 0.45rem 0.28rem !important;
  min-width: 0 !important;
  grid-column: unset !important;
  grid-row: unset !important;
}

body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table thead th {
  padding-top: 0.55rem !important;
  padding-bottom: 0.55rem !important;
  background: #111 !important;
  color: #fff !important;
  border-bottom: 1px solid #111 !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}

body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table tbody td {
  padding-top: 0.55rem !important;
  padding-bottom: 0.55rem !important;
  border-bottom: 1px solid #e8e8e8 !important;
  background: #fff !important;
}

body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table tbody tr.price-crm-row:last-child td {
  border-bottom: none !important;
}

.price-crm.price-crm-summary table.price-crm-summary-table .price-col-num { width: 42px !important; max-width: 42px !important; }
.price-crm.price-crm-summary table.price-crm-summary-table .price-col-code { width: 34px !important; max-width: 34px !important; }
.price-crm.price-crm-summary table.price-crm-summary-table .price-col-item { width: 120px !important; max-width: 120px !important; }
.price-crm.price-crm-summary table.price-crm-summary-table .price-col-status { width: 64px !important; }
.price-crm.price-crm-summary table.price-crm-summary-table .price-col-min { width: 46px !important; }
.price-crm.price-crm-summary table.price-crm-summary-table .price-col-pickup { width: 54px !important; }
.price-crm.price-crm-summary table.price-crm-summary-table .price-col-delivery { width: 54px !important; }
.price-crm.price-crm-summary table.price-crm-summary-table .price-col-dinein { width: 54px !important; }
.price-crm.price-crm-summary table.price-crm-summary-table .price-col-vat { width: 38px !important; }
.price-crm.price-crm-summary table.price-crm-summary-table .price-col-actions { width: 68px !important; max-width: 68px !important; }

.price-crm.price-crm-summary table.price-crm-summary-table .price-col-num,
.price-crm.price-crm-summary table.price-crm-summary-table .price-col-code {
  padding-left: 0.12rem !important;
  padding-right: 0.12rem !important;
}

.price-crm.price-crm-summary table.price-crm-summary-table .price-col-num,
.price-crm.price-crm-summary table.price-crm-summary-table .price-col-code,
.price-crm.price-crm-summary table.price-crm-summary-table .price-col-status,
.price-crm.price-crm-summary table.price-crm-summary-table .price-col-min,
.price-crm.price-crm-summary table.price-crm-summary-table .price-col-pickup,
.price-crm.price-crm-summary table.price-crm-summary-table .price-col-delivery,
.price-crm.price-crm-summary table.price-crm-summary-table .price-col-dinein,
.price-crm.price-crm-summary table.price-crm-summary-table .price-col-vat,
.price-crm.price-crm-summary table.price-crm-summary-table .price-col-actions {
  text-align: center !important;
}

.price-crm.price-crm-summary table.price-crm-summary-table .price-col-item {
  text-align: left !important;
}

.price-crm.price-crm-summary table.price-crm-summary-table .price-col-min,
.price-crm.price-crm-summary table.price-crm-summary-table .price-col-pickup,
.price-crm.price-crm-summary table.price-crm-summary-table .price-col-delivery,
.price-crm.price-crm-summary table.price-crm-summary-table .price-col-dinein,
body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table thead .price-col-min,
body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table thead .price-col-pickup,
body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table thead .price-col-delivery,
body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table thead .price-col-dinein,
body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table tbody .price-col-min,
body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table tbody .price-col-pickup,
body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table tbody .price-col-delivery,
body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table tbody .price-col-dinein {
  padding-left: 0.5rem !important;
  padding-right: 0.5rem !important;
}

.price-crm.price-crm-summary table.price-crm-summary-table thead .price-col-min .crm-th-ico,
.price-crm.price-crm-summary table.price-crm-summary-table thead .price-col-pickup .crm-th-ico,
.price-crm.price-crm-summary table.price-crm-summary-table thead .price-col-delivery .crm-th-ico,
.price-crm.price-crm-summary table.price-crm-summary-table thead .price-col-dinein .crm-th-ico,
.price-crm.price-crm-summary table.price-crm-summary-table thead .price-col-vat .crm-th-ico,
.price-crm.price-crm-summary table.price-crm-summary-table thead .price-col-status .crm-th-ico {
  display: none !important;
}

.price-crm.price-crm-summary table.price-crm-summary-table thead .price-col-min .crm-th-inner,
.price-crm.price-crm-summary table.price-crm-summary-table thead .price-col-pickup .crm-th-inner,
.price-crm.price-crm-summary table.price-crm-summary-table thead .price-col-delivery .crm-th-inner,
.price-crm.price-crm-summary table.price-crm-summary-table thead .price-col-dinein .crm-th-inner,
.price-crm.price-crm-summary table.price-crm-summary-table thead .price-col-vat .crm-th-inner,
.price-crm.price-crm-summary table.price-crm-summary-table thead .price-col-status .crm-th-inner {
  justify-content: center !important;
  width: 100% !important;
  font-size: 0.62rem !important;
  letter-spacing: 0.06em !important;
  white-space: nowrap !important;
}

body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table thead .crm-th-inner,
body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table thead .crm-th-label {
  color: #fff !important;
}

body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table .price-col-item .price-row-text {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 34px !important;
  padding: 0.35rem 0.5rem !important;
  border: 1.5px solid rgba(0, 0, 0, 0.12) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table .price-col-item .price-row-name,
body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table .price-col-item .price-row-cat,
body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table .price-col-item .price-row-sub {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  max-width: 100% !important;
}

.price-crm.price-crm-summary table.price-crm-summary-table .price-col-min .price-amount,
.price-crm.price-crm-summary table.price-crm-summary-table .price-col-pickup .price-amount,
.price-crm.price-crm-summary table.price-crm-summary-table .price-col-delivery .price-amount,
.price-crm.price-crm-summary table.price-crm-summary-table .price-col-dinein .price-amount,
.price-crm.price-crm-summary table.price-crm-summary-table .price-col-vat .price-vat {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 34px !important;
  padding: 0.28rem 0.12rem !important;
  border: 1.5px solid rgba(0, 0, 0, 0.12) !important;
  border-radius: 8px !important;
  background: #fff !important;
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  color: #111 !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}

body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table .price-col-status .price-status {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 34px !important;
  padding: 0.28rem 0.2rem !important;
  border: 1.5px solid rgba(0, 0, 0, 0.12) !important;
  border-radius: 8px !important;
  background: #fff !important;
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
}

body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table .price-col-actions,
body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table .price-row-actions {
  display: table-cell !important;
  vertical-align: middle !important;
  text-align: center !important;
  white-space: nowrap !important;
  width: 68px !important;
  max-width: 68px !important;
  padding-left: 0.08rem !important;
  padding-right: 0.08rem !important;
  overflow: visible !important;
}

.price-crm.price-crm-summary table.price-crm-summary-table .price-col-actions .crm-btn,
.price-crm.price-crm-summary table.price-crm-summary-table .price-col-actions .crm-inline-form {
  display: inline-flex !important;
  vertical-align: middle !important;
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto !important;
}

body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table .price-col-actions .crm-inline-form,
body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table .price-col-actions .price-delete-form {
  display: inline-flex !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  flex: 0 0 auto !important;
}

body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table .price-col-actions a.crm-btn,
body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table .price-col-actions .crm-inline-form .crm-btn,
body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table .price-col-actions .price-delete-form .crm-btn {
  min-height: 30px !important;
  min-width: 30px !important;
  max-width: 30px !important;
  width: 30px !important;
  height: 30px !important;
  padding: 0 !important;
  font-size: 0 !important;
  gap: 0 !important;
  border-radius: 7px !important;
  justify-content: center !important;
  align-items: center !important;
  flex: 0 0 30px !important;
  box-sizing: border-box !important;
}

body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table .price-col-actions .crm-btn-inner {
  gap: 0 !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
}

body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table .price-col-actions .crm-btn-ico,
body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table .price-col-actions .crm-btn-ico .dash-ico {
  width: 14px !important;
  height: 14px !important;
}

body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table .price-col-actions .crm-btn-inner > span:not(.crm-btn-ico) {
  display: none !important;
}

body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table .price-col-actions .crm-btn + .crm-inline-form,
body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table .price-col-actions .crm-inline-form + .crm-btn {
  margin-left: 0.14rem !important;
}

.price-crm.price-crm-summary table.price-crm-summary-table .price-empty {
  display: table-cell !important;
  padding: 1rem 0.75rem !important;
  text-align: center !important;
}

.price-crm.price-crm-summary table.price-crm-summary-table .price-empty-row[hidden] {
  display: none !important;
}

.price-crm.price-crm-summary table.price-crm-summary-table thead .price-col-item .crm-th-inner {
  justify-content: flex-start !important;
  width: 100% !important;
}

.price-crm.price-crm-summary table.price-crm-summary-table thead .price-col-num .crm-th-inner,
.price-crm.price-crm-summary table.price-crm-summary-table thead .price-col-code .crm-th-inner,
.price-crm.price-crm-summary table.price-crm-summary-table thead .price-col-actions .crm-th-inner {
  justify-content: center !important;
  width: 100% !important;
}

.price-crm.price-crm-summary table.price-crm-summary-table thead .price-col-num .crm-th-ico,
.price-crm.price-crm-summary table.price-crm-summary-table thead .price-col-code .crm-th-ico,
.price-crm.price-crm-summary table.price-crm-summary-table thead .price-col-actions .crm-th-ico {
  display: none !important;
}

body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table .price-col-num .price-row-sr,
body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table .price-col-code .price-row-no {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 28px !important;
  max-width: 34px !important;
  min-height: 32px !important;
  padding: 0.2rem 0.12rem !important;
  margin: 0 auto !important;
  border: 1.5px solid rgba(0, 0, 0, 0.12) !important;
  border-radius: 7px !important;
  background: #fff !important;
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  color: #111 !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
}

.price-crm.price-crm-summary table.price-crm-summary-table thead .price-col-num .crm-th-label,
.price-crm.price-crm-summary table.price-crm-summary-table thead .price-col-code .crm-th-label,
.price-crm.price-crm-summary table.price-crm-summary-table thead .price-col-actions .crm-th-label {
  font-size: 0.54rem !important;
  letter-spacing: 0.02em !important;
}

body.edit-suite .price-crm.price-crm-summary .price-list-head.price-crm-head,
body.edit-suite .price-crm.price-crm-summary .price-list,
body.edit-suite .price-crm.price-crm-summary .price-crm-row {
  min-width: 0 !important;
}

.price-crm.price-crm-summary table.price-crm-summary-table .price-col-item .price-row-text {
  max-width: 100% !important;
}

/* Prices summary toolbar — wide search, no status label */
.price-crm.price-crm-summary .price-toolbar-suite.crm-toolbar {
  flex-wrap: nowrap !important;
  align-items: center !important;
}

.price-crm.price-crm-summary .price-toolbar-stats {
  flex: 0 0 auto !important;
}

.price-crm.price-crm-summary .price-toolbar-controls {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.65rem !important;
}

.price-crm.price-crm-summary .price-toolbar-suite .price-search-bar {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: none !important;
  width: auto !important;
}

.price-crm.price-crm-summary .price-toolbar-suite .price-filter-field {
  flex: 0 0 auto !important;
  margin: 0 !important;
}

.price-crm.price-crm-summary .price-toolbar-suite .price-status-select {
  width: 148px !important;
  min-width: 148px !important;
}

/* Prices summary — compact icon-only Edit/Delete (override width:100% CRM btn rules) */
body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table td.price-col-actions,
body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table th.price-col-actions {
  display: table-cell !important;
  width: 68px !important;
  max-width: 68px !important;
  text-align: center !important;
  vertical-align: middle !important;
}

body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table td.price-col-actions .crm-btn,
body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table td.price-col-actions .crm-inline-form,
body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table td.price-col-actions .price-delete-form {
  display: inline-flex !important;
  vertical-align: middle !important;
  margin: 0 !important;
}

body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table td.price-col-actions form,
body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table td.price-col-actions .crm-inline-form,
body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table td.price-col-actions .price-delete-form {
  display: inline-flex !important;
  width: auto !important;
  max-width: none !important;
}

body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table td.price-col-actions .crm-btn {
  width: 30px !important;
  min-width: 30px !important;
  max-width: 30px !important;
}

body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table td.price-col-actions .crm-btn-inner {
  width: auto !important;
}

/* Actions column — wide enough for Update + Delete with visible gap */
body.edit-suite .size-crm-head.crm-thead,
body.edit-suite .size-crm-row.size-row {
  grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1fr) minmax(92px, 0.9fr) 220px !important;
}

body.edit-suite .topping-crm-head,
body.edit-suite .topping-crm-row {
  grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1fr) 220px !important;
}

body.edit-suite .addon-crm-head,
body.edit-suite .addon-crm-row {
  grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1fr) minmax(92px, 0.9fr) 220px !important;
}

body.edit-suite .topping-crm-row .topping-actions,
body.edit-suite .addon-crm-row .addon-actions,
body.edit-suite .size-crm-row .size-actions,
.topping-actions,
.addon-actions,
.size-actions {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  gap: 0.65rem !important;
  min-width: 0 !important;
}

body.edit-suite .size-crm-row .size-actions {
  width: 100% !important;
  min-width: 200px !important;
}

.size-delete-form,
.topping-delete-form,
.addon-delete-form {
  margin: 0 !important;
  margin-left: 0 !important;
  flex: 0 0 auto !important;
  display: flex !important;
}

body.edit-suite .size-actions .size-btn,
body.edit-suite .topping-actions .topping-btn,
body.edit-suite .addon-actions .addon-btn,
body.edit-suite .size-crm-row .size-btn,
body.edit-suite .topping-crm-row .topping-btn,
body.edit-suite .addon-crm-row .addon-btn {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 36px !important;
  height: auto !important;
  padding: 0.32rem 0.55rem !important;
  font-size: 0.78rem !important;
  font-weight: 650 !important;
  border-radius: 8px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

body.edit-suite .size-crm-row .size-btn .crm-btn-inner,
body.edit-suite .topping-crm-row .topping-btn .crm-btn-inner,
body.edit-suite .addon-crm-row .addon-btn .crm-btn-inner {
  width: auto !important;
  gap: 0.28rem !important;
  font-size: 0.78rem !important;
}

body.edit-suite .size-crm-row .size-btn .crm-btn-ico .dash-ico,
body.edit-suite .topping-crm-row .topping-btn .crm-btn-ico .dash-ico,
body.edit-suite .addon-crm-row .addon-btn .crm-btn-ico .dash-ico {
  width: 13px !important;
  height: 13px !important;
}

body.edit-suite .size-crm-head .size-col-actions,
body.edit-suite .topping-crm-head .topping-col-actions,
body.edit-suite .addon-crm-head .addon-col-actions,
body.edit-suite .price-crm.price-crm-summary table.price-crm-summary-table th.price-col-actions {
  text-align: center !important;
}

/* ========== Project-wide list alignment lock ========== */

/* Fit list panels — no extra side inset (content wrap handles gutter) */
body.edit-suite .item-order-panel.settings-panel-fit.lux-page,
body.edit-suite .item-images-panel.settings-panel-fit.lux-page,
body.edit-suite .price-panel.settings-panel-fit.lux-page,
body.edit-suite .cat-order-panel.settings-panel-fit.lux-page {
  padding: 0 !important;
}

/* CRM wraps — same horizontal gutter as topbar (1rem) */
body.edit-suite .cat-editor-wrap,
body.edit-suite .cat-order-wrap,
body.edit-suite .crm-board-wrap,
body.edit-suite .img-crm .img-update-wrap,
body.edit-suite .order-crm .item-order-detail-card {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

/* Operations tables — header + body share cell padding */
body.edit-suite .postal-panel .orders-table thead th,
body.edit-suite .postal-panel .orders-table tbody td,
body.edit-suite .coupon-panel .orders-table thead th,
body.edit-suite .coupon-panel .orders-table tbody td,
body.edit-suite .logs-panel .orders-table thead th,
body.edit-suite .logs-panel .orders-table tbody td {
  padding: 0.7rem 0.9rem !important;
}

/* CRM list headers + rows — aligned text columns inside cards */
body.edit-suite .crm-thead,
body.edit-suite .topping-crm-head,
body.edit-suite .size-crm-head,
body.edit-suite .addon-crm-head,
body.edit-suite .cat-order-crm-head,
body.edit-suite .price-list-head.price-crm-head,
body.edit-suite .topping-crm-row,
body.edit-suite .size-crm-row,
body.edit-suite .addon-crm-row,
body.edit-suite .crm-row,
body.edit-suite .crm-row-cat,
body.edit-suite .cat-order-row.crm-row,
body.edit-suite .price-row.crm-row,
body.edit-suite .cat-editor-table .cat-editor-card {
  padding-left: 0.75rem !important;
  padding-right: 0.75rem !important;
}

body.edit-suite .img-crm-table thead th,
body.edit-suite .img-crm-table tbody td,
body.edit-suite .order-crm-table thead th,
body.edit-suite .order-crm-table tbody td {
  padding-left: 0.75rem !important;
  padding-right: 0.75rem !important;
}

/* ========== Project-wide dropdown lock ========== */

.print-select-wrap,
.qr-select-wrap,
.custom-select,
.adv-select {
  position: relative !important;
  overflow: visible !important;
  width: 100%;
  min-width: 0;
}

.adv-select.is-open,
.custom-select.is-open,
.print-select-wrap:has(.adv-select.is-open),
.qr-select-wrap:has(.adv-select.is-open),
.print-field:has(.adv-select.is-open),
.field:has(.adv-select.is-open),
.payment-extra-cost-type:has(.adv-select.is-open),
.printing-select-row:has(.adv-select.is-open),
.update-item-field:has(.adv-select.is-open) {
  z-index: 200 !important;
  position: relative;
}

.adv-select-trigger {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.5rem !important;
  width: 100% !important;
  min-height: 40px !important;
  height: 40px !important;
  padding: 0 0.75rem !important;
  border: 1.5px solid rgba(0, 0, 0, 0.14) !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #111 !important;
  font-family: "Manrope", system-ui, sans-serif !important;
  font-size: 0.86rem !important;
  font-weight: 650 !important;
  line-height: 1.2 !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

.adv-select-trigger:hover {
  border-color: rgba(0, 0, 0, 0.35) !important;
  background: #fff !important;
}

.adv-select.is-open .adv-select-trigger,
.adv-select-trigger:focus-visible {
  border-color: #111 !important;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08) !important;
  outline: none !important;
}

.adv-select-value {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  color: #111 !important;
  font-weight: 650 !important;
}

.adv-select-value.is-placeholder {
  color: #888 !important;
  font-weight: 600 !important;
}

.adv-select-caret {
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0 !important;
  border-radius: 50% !important;
  background: #111 !important;
  position: relative !important;
}

.adv-select-caret::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 45% !important;
  width: 5px !important;
  height: 5px !important;
  border-right: 2px solid #fff !important;
  border-bottom: 2px solid #fff !important;
  transform: translate(-50%, -50%) rotate(45deg) !important;
}

.adv-select.is-open .adv-select-caret::after {
  top: 55% !important;
  transform: translate(-50%, -50%) rotate(225deg) !important;
}

.adv-select-menu,
body > .adv-select-menu {
  z-index: 7000 !important;
  margin: 0 !important;
  padding: 0.3rem !important;
  list-style: none !important;
  background: #fff !important;
  border: 1.5px solid #111 !important;
  border-radius: 8px !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14) !important;
  max-height: 240px !important;
  overflow-y: auto !important;
}

.adv-select-menu li,
body > .adv-select-menu li {
  display: flex !important;
  align-items: center !important;
  min-height: 36px !important;
  padding: 0.45rem 0.65rem !important;
  border-radius: 6px !important;
  font-family: "Manrope", system-ui, sans-serif !important;
  font-size: 0.86rem !important;
  font-weight: 600 !important;
  color: #111 !important;
  cursor: pointer !important;
}

.adv-select-menu li:hover,
body > .adv-select-menu li:hover {
  background: #f3f3f3 !important;
}

.adv-select-menu li.is-selected,
body > .adv-select-menu li.is-selected {
  background: #111 !important;
  color: #fff !important;
}

.adv-select-menu li.is-selected::after,
body > .adv-select-menu li.is-selected::after {
  content: none !important;
  display: none !important;
}

.custom-select-trigger {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.5rem !important;
  min-height: 38px !important;
  height: 38px !important;
  padding: 0 0.75rem !important;
  border: 1.5px solid rgba(0, 0, 0, 0.14) !important;
  border-radius: 8px !important;
  background: #fff !important;
  font-family: "Manrope", system-ui, sans-serif !important;
  font-size: 0.86rem !important;
  font-weight: 650 !important;
  color: #111 !important;
  cursor: pointer !important;
}

.custom-select-trigger:hover {
  border-color: rgba(0, 0, 0, 0.35) !important;
}

.custom-select.is-open .custom-select-trigger,
.custom-select-trigger:focus-visible {
  border-color: #111 !important;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08) !important;
  outline: none !important;
}

.custom-select-trigger::after {
  width: 6px !important;
  height: 6px !important;
  border-right: 2px solid #111 !important;
  border-bottom: 2px solid #111 !important;
}

.custom-select-menu {
  z-index: 7000 !important;
  padding: 0.3rem !important;
  border: 1.5px solid #111 !important;
  border-radius: 8px !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14) !important;
  max-height: 240px !important;
}

.custom-select-menu li {
  padding: 0.45rem 0.65rem !important;
  border-radius: 6px !important;
  font-size: 0.86rem !important;
  font-weight: 600 !important;
}

.custom-select-menu li:hover {
  background: #f3f3f3 !important;
}

.custom-select-menu li.is-selected {
  background: #111 !important;
  color: #fff !important;
}

.price-status-select .adv-select-trigger {
  min-height: 42px !important;
  height: 42px !important;
  font-size: 0.86rem !important;
}

.home-custom-select .custom-select-trigger {
  min-height: 42px !important;
  height: 42px !important;
  padding: 0 0.9rem !important;
  font-size: 0.86rem !important;
  border-radius: 8px !important;
  box-sizing: border-box !important;
  border-color: #111 !important;
}

.form-suite .payment-section .adv-select-trigger,
.payment-cost-row .adv-select-trigger,
.printing-inline-select .adv-select-trigger {
  min-height: 38px !important;
  height: 38px !important;
}

.qr-select-wrap select {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 100% !important;
  min-height: 40px !important;
  height: 40px !important;
  padding: 0 2rem 0 0.75rem !important;
  border: 1.5px solid rgba(0, 0, 0, 0.14) !important;
  border-radius: 8px !important;
  background: #fff !important;
  font-family: "Manrope", system-ui, sans-serif !important;
  font-size: 0.86rem !important;
  font-weight: 650 !important;
  color: #111 !important;
}

.qr-select-wrap select:hover {
  border-color: rgba(0, 0, 0, 0.35) !important;
}

.qr-select-wrap select:focus {
  border-color: #111 !important;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08) !important;
  outline: none !important;
}

.qr-select-wrap:has(.adv-select) select,
.print-select-wrap:has(.adv-select) select {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 1px !important;
  height: 1px !important;
}

.form-suite .payment-section,
.form-suite .printing-pane,
.printing-popup-form,
.payment-popup-form,
.printing-pane-fields,
.payment-detail-pane,
.crm-board .update-item-field,
.panel-modal-card,
.postal-edit-form,
.coupon-edit-form,
.setting-panel .form-suite,
.print-field,
.field {
  overflow: visible !important;
}

/* ========== Printing / Payment — white menu block (equal top + bottom space) ========== */

body.edit-suite .printing-panel .karvi-seo-card.printing-suite-card,
body.edit-suite .payment-panel .karvi-seo-card.payment-suite-card {
  padding: 1rem clamp(1.1rem, 3.5vw, 2.25rem) 1.75rem !important;
  background: #f5f5f5 !important;
}

body.edit-suite .printing-panel .printing-page-root .printing-popup-form,
body.edit-suite .payment-panel .payment-page-root .payment-popup-form,
body.edit-suite .payment-panel .payment-page-root .printing-popup-form {
  background: #fff !important;
  flex: 0 0 auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  padding: 1.75rem clamp(1.1rem, 3.5vw, 2.25rem) 1.75rem !important;
  box-sizing: border-box !important;
  border-radius: 16px !important;
}

body.edit-suite .printing-panel .printing-popup-card,
body.edit-suite .payment-panel .printing-popup-card {
  background: transparent !important;
  padding: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

.home-resto-actions-card .order-action-btn::before {
  content: none !important;
  display: none !important;
}

body.edit-suite .printing-page-root #printingMenu,
body.edit-suite .printing-page-root .printing-menu.printing-menu-six,
body.edit-suite .printing-suite-card .printing-menu,
body.edit-suite .printing-suite-card .printing-menu-six,
body.edit-suite .payment-page-root #paymentMenu,
body.edit-suite .payment-page-root .payment-menu,
body.edit-suite .payment-suite-card .payment-menu {
  flex: 0 0 auto !important;
  align-content: start !important;
  min-height: auto !important;
  height: auto !important;
  overflow: visible !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ========== Project-wide filter bar lock (search + dropdowns + dates) ========== */

.home-toolbar,
.coupon-toolbar,
.postal-toolbar {
  align-items: flex-end !important;
}

.home-filter > span,
.price-toolbar-suite .price-filter-label {
  font-family: "Manrope", system-ui, sans-serif !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: #111 !important;
  line-height: 1 !important;
}

.home-filter {
  gap: 0.28rem !important;
}

.home-filter-search .search-bar,
.price-toolbar-suite .price-search-bar,
.price-crm .price-search-bar,
.cat-items-panel .price-crm .price-search-bar,
.cat-order-search.price-search-bar,
.postal-search input[type="search"],
.coupon-search input[type="search"],
.home-custom-select .custom-select-trigger,
.price-toolbar-suite .price-status-select .adv-select-trigger {
  min-height: 42px !important;
  height: 42px !important;
  padding-left: 0.9rem !important;
  padding-right: 0.9rem !important;
  border: 1.5px solid #111 !important;
  border-radius: 8px !important;
  box-sizing: border-box !important;
  background: #fff !important;
  font-family: "Manrope", system-ui, sans-serif !important;
  font-size: 0.86rem !important;
  font-weight: 650 !important;
  color: #111 !important;
  box-shadow: none !important;
}

.home-filter-search .search-bar,
.price-toolbar-suite .price-search-bar,
.price-crm .price-search-bar,
.cat-items-panel .price-crm .price-search-bar,
.cat-order-search.price-search-bar {
  display: flex !important;
  align-items: center !important;
  gap: 0.55rem !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.home-filter-search .search-bar:focus-within,
.price-toolbar-suite .price-search-bar:focus-within,
.price-crm .price-search-bar:focus-within,
.cat-order-search.price-search-bar:focus-within,
.postal-search input[type="search"]:focus,
.coupon-search input[type="search"]:focus,
.price-toolbar-suite .price-status-select .adv-select.is-open .adv-select-trigger,
.price-toolbar-suite .price-status-select .adv-select-trigger:focus-visible {
  border-color: #111 !important;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08) !important;
  outline: none !important;
}

.home-filter-search .search-bar input,
.price-toolbar-suite .price-search-bar input,
.price-crm .price-search-bar input,
.cat-order-search input,
.postal-search input[type="search"],
.coupon-search input[type="search"] {
  font-size: 0.86rem !important;
  font-weight: 650 !important;
  color: #111 !important;
}

.home-filter-search .search-bar input::placeholder,
.price-toolbar-suite .price-search-bar input::placeholder,
.price-crm .price-search-bar input::placeholder,
.cat-order-search input::placeholder,
.postal-search input[type="search"]::placeholder,
.coupon-search input[type="search"]::placeholder {
  color: #888 !important;
  font-weight: 600 !important;
}

.home-filter-search .search-bar svg,
.price-toolbar-suite .price-search-bar svg,
.price-crm .price-search-bar svg,
.cat-order-search svg {
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0 !important;
  color: #555 !important;
}

.home-filters {
  align-items: flex-end !important;
  gap: 0.55rem !important;
}

.home-filter {
  min-width: 168px !important;
}

.price-toolbar-suite.crm-toolbar {
  align-items: center !important;
}

.price-toolbar-suite .price-filter-field {
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.45rem !important;
}

.price-toolbar-suite .price-filter-label {
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 0.72rem !important;
  font-weight: 650 !important;
  color: #555 !important;
}

.price-toolbar-suite .price-status-select {
  width: 156px !important;
  min-width: 156px !important;
}

/* Orders — original filter design (unchanged look) */
.orders-panel .orders-toolbar.lux-orders-toolbar {
  gap: 0.75rem !important;
  margin-bottom: 1rem !important;
}

.orders-panel .orders-search-bar {
  min-height: 46px !important;
  height: auto !important;
  padding: 0.55rem 0.9rem !important;
  border: 1.5px solid rgba(0, 0, 0, 0.12) !important;
  border-radius: 12px !important;
  gap: 0.65rem !important;
  box-shadow: none !important;
}

.orders-panel .orders-search-bar:focus-within {
  border-color: #000 !important;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08) !important;
}

.orders-panel .orders-search-bar input[type="search"] {
  font-size: 0.92rem !important;
  font-weight: 550 !important;
}

.orders-panel .lux-filter-bar {
  padding: 0.75rem 0.9rem !important;
  border-radius: 12px !important;
  border: 1px solid #111 !important;
  background: #fff !important;
  gap: 0.65rem 0.75rem !important;
  box-shadow: none !important;
}

.orders-panel .lux-filter-bar .orders-filter-field {
  gap: 0.25rem !important;
}

.orders-panel .lux-filter-bar .orders-filter-field > span,
.orders-panel .lux-filter-bar .orders-filter-field > span .crm-th-inner {
  font-size: 0.62rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #333 !important;
}

.orders-panel .lux-filter-bar .orders-filter-field > span .crm-th-ico .dash-ico {
  width: 12px !important;
  height: 12px !important;
}

.orders-panel .lux-filter-bar .custom-select-trigger,
.orders-panel .orders-filters .custom-select-trigger,
.orders-panel .lux-filter-bar .orders-filter-control,
.orders-panel .lux-filter-bar .date-picker-trigger {
  min-height: 32px !important;
  height: 32px !important;
  padding: 0 0.6rem !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  border: 1px solid #d0d0cc !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

.orders-panel .lux-filter-bar .date-picker-trigger {
  padding: 0 0.55rem 0 0.6rem !important;
}

.orders-panel .lux-filter-bar .custom-select-trigger:hover,
.orders-panel .lux-filter-bar .date-picker-trigger:hover {
  border-color: #999 !important;
}

.orders-panel .lux-filter-bar .custom-select.is-open .custom-select-trigger,
.orders-panel .lux-filter-bar .custom-select-trigger:focus-visible,
.orders-panel .lux-filter-bar .date-picker.is-open .date-picker-trigger,
.orders-panel .lux-filter-bar .date-picker-trigger:focus-visible {
  border-color: #111 !important;
  box-shadow: 0 0 0 2px rgba(10, 10, 10, 0.08) !important;
  outline: none !important;
}

/* ========== Popup cards — all four corners rounded ========== */
:root {
  --sp-popup-radius: 16px;
}

.panel-modal-card.export-popup-card,
.panel-modal-card.order-actions-card,
.panel-modal-card.notice-popup-card,
.panel-modal-card.home-resto-actions-card,
.panel-modal-card.more-time-card,
.panel-modal-card.postal-edit-card,
.panel-modal-card.coupon-edit-card,
.time-setting-card,
.panel-modal-time-card,
.shortcuts-modal-card,
.shortcuts-card,
.panel-modal .verify-card,
.sp-confirm-card,
.panel-modal-payment .printing-popup-card,
.panel-modal-printing .printing-popup-card {
  overflow: hidden !important;
  border-radius: var(--sp-popup-radius) !important;
}

.panel-modal-payment .printing-popup-card,
.panel-modal-printing .printing-popup-card {
  --sp-popup-radius: 18px;
}

.export-popup-top,
.order-actions-head,
.more-time-head,
.postal-edit-head,
.coupon-edit-head,
.time-setting-head,
.panel-modal-head:first-child,
.shortcuts-head {
  border-top-left-radius: var(--sp-popup-radius, 16px);
  border-top-right-radius: var(--sp-popup-radius, 16px);
}

.panel-modal-dialog.panel-modal-sm:has(.time-setting-card),
.panel-modal-dialog.panel-modal-order-actions,
.panel-modal-dialog.panel-modal-more-time,
.panel-modal-dialog.panel-modal-postal-edit,
.panel-modal-dialog.panel-modal-coupon-edit,
.panel-modal-dialog.export-popup-dialog,
.panel-modal-dialog.notice-popup-dialog,
.panel-modal-dialog.sp-confirm-dialog {
  overflow: visible !important;
}

body.edit-suite .printing-panel .printing-page-root .printing-popup-form,
body.edit-suite .payment-panel .payment-page-root .payment-popup-form,
body.edit-suite .payment-panel .payment-page-root .printing-popup-form {
  overflow: hidden !important;
}

body.edit-suite .printing-panel .printing-page-root .printing-popup-form .printing-pane,
body.edit-suite .printing-panel .printing-page-root .printing-popup-form .printing-panes,
body.edit-suite .payment-panel .payment-page-root .printing-popup-form .printing-pane,
body.edit-suite .payment-panel .payment-page-root .printing-popup-form .payment-panes,
body.edit-suite .payment-panel .payment-page-root .printing-popup-form .printing-pane,
body.edit-suite .payment-panel .payment-page-root .printing-popup-form .payment-panes {
  overflow: visible !important;
}

/* ========== Export popup — icon spacing lock (live cache-safe) ========== */
.export-popup-card {
  --export-icon-size: 2.5rem !important;
}

.export-popup-body .export-opt {
  display: grid !important;
  grid-template-columns: var(--export-icon-size) minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 0.85rem !important;
  padding: 0.9rem 1rem !important;
  box-sizing: border-box !important;
}

.export-popup-body .export-opt-badge {
  width: var(--export-icon-size) !important;
  height: var(--export-icon-size) !important;
  min-width: var(--export-icon-size) !important;
  max-width: var(--export-icon-size) !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
}

/* ========== Toolbar stat boxes — compact items + category pills ========== */
.img-crm-toolbar-left {
  display: grid !important;
  grid-template-columns: auto auto !important;
  align-items: stretch !important;
  justify-content: start !important;
  gap: 0.45rem !important;
  width: auto !important;
  max-width: 100% !important;
}

.img-crm-toolbar-left .img-crm-count {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  width: auto !important;
  max-width: 9.5rem !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
}

.img-crm-toolbar-left .img-crm-cat-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  width: auto !important;
  max-width: 16rem !important;
  flex-shrink: 1 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.price-crm.price-crm-summary .price-toolbar-stats:has(.img-crm-cat-pill),
.price-crm .price-toolbar-stats:has(.img-crm-cat-pill) {
  display: grid !important;
  grid-template-columns: auto auto !important;
  align-items: stretch !important;
  justify-content: start !important;
  gap: 0.5rem !important;
  flex: 0 1 auto !important;
  min-width: 0 !important;
  max-width: none !important;
  width: auto !important;
}

.price-crm.price-crm-summary .price-toolbar-stats:has(.img-crm-cat-pill) .price-stat-count,
.price-crm .price-toolbar-stats:has(.img-crm-cat-pill) .price-stat-count {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  width: auto !important;
  max-width: 9.5rem !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
}

.price-crm.price-crm-summary .price-toolbar-stats:has(.img-crm-cat-pill) .img-crm-cat-pill,
.price-crm .price-toolbar-stats:has(.img-crm-cat-pill) .img-crm-cat-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  width: auto !important;
  max-width: 16rem !important;
  flex-shrink: 1 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

/* ========== Category toolbar — count pill + search same height ========== */
.cat-order-toolbar-left {
  align-items: center !important;
}

.cat-order-count,
body.edit-suite .cat-order-count {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  min-height: 42px !important;
  height: 42px !important;
  padding: 0 0.85rem !important;
  box-sizing: border-box !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
}

.cat-order-search.price-search-bar {
  min-height: 42px !important;
  height: 42px !important;
  align-self: center !important;
}

/* Item / image detail toolbars — stat boxes match search height baseline */
.img-crm-toolbar-left .img-crm-count,
.img-crm-toolbar-left .img-crm-cat-pill {
  min-height: 42px !important;
  height: 42px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  box-sizing: border-box !important;
  line-height: 1 !important;
}
