/**
 * Gestor oficial de pedidos: Kanban Expedição com cinco etapas.
 */
html.xd-gestor-oficial,
html.xd-gestor-oficial body.loja-painel {
  --gifood-bg: #f0efee;
  --gifood-card: #ffffff;
  --gifood-ink: #3e3e3e;
  --gifood-muted: #717171;
  --gifood-border: #e3e3e3;
  --gifood-red: #ea1d2c;
  --gifood-green: #50a773;
  --gifood-radius: 10px;
}

html.xd-gestor-oficial #aba-montar-entrega.xd-gestor-oficial {
  background: var(--gifood-bg) !important;
}

html.xd-gestor-oficial #aba-montar-entrega {
  padding: 0 16px 8px 0 !important;
}

html body .loja-main > #aba-montar-entrega.painel-section.active {
  padding-top: 0 !important;
}

html.xd-gestor-oficial #aba-montar-entrega .xd-gestor-premium-board {
  background: var(--gifood-bg);
  box-shadow: none;
  border: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
}

html.xd-gestor-oficial #aba-montar-entrega .xd-gestor-board-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  background: #fff;
  border-bottom: 1px solid var(--gifood-border);
  padding: 4px 12px;
  margin: 0;
  flex: 0 0 auto;
}

html.xd-gestor-oficial #aba-montar-entrega .xd-gestor-board-head > div:first-child {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  flex: 0 0 auto;
  min-width: 0;
  pointer-events: none;
}

html.xd-gestor-oficial #aba-montar-entrega .xd-gestor-board-head__actions {
  display: flex;
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  min-width: 0;
  margin-left: 0;
}

html.xd-gestor-oficial #aba-montar-entrega .xd-gestor-board-head__actions > #btnGestorNovoPedido {
  margin-left: auto;
}

html.xd-gestor-oficial #aba-montar-entrega .xd-gestor-head-toggles {
  display: flex;
  align-items: center;
  gap: 8px;
}

html.xd-gestor-oficial #aba-montar-entrega .xd-gestor-board-head::after {
  display: none !important;
}

html.xd-gestor-oficial #aba-montar-entrega .xd-gestor-board-eyebrow {
  display: none;
}

html.xd-gestor-oficial #aba-montar-entrega .xd-gestor-board-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #111827;
  margin: 0;
}

html.xd-loja-ui-v2 #xdV2SaldoChip[data-saldo-level="low"] {
  border-color: #fecaca !important;
  background: linear-gradient(180deg, #fff1f2, #fee2e2) !important;
  color: #991b1b !important;
  box-shadow: 0 1px 3px rgba(220, 38, 38, 0.14) !important;
}

html.xd-loja-ui-v2 #xdV2SaldoChip[data-saldo-level="low"] i,
html.xd-loja-ui-v2 #xdV2SaldoChip[data-saldo-level="low"] .xd-v2-saldo__meta small,
html.xd-loja-ui-v2 #xdV2SaldoChip[data-saldo-level="low"] #saldoCredito {
  color: #991b1b !important;
}

html.xd-loja-ui-v2 #xdV2SaldoChip[data-saldo-level="mid"] {
  border-color: #fde68a !important;
  background: linear-gradient(180deg, #fffbeb, #fef3c7) !important;
  color: #92400e !important;
  box-shadow: 0 1px 3px rgba(217, 119, 6, 0.12) !important;
}

html.xd-loja-ui-v2 #xdV2SaldoChip[data-saldo-level="mid"] i,
html.xd-loja-ui-v2 #xdV2SaldoChip[data-saldo-level="mid"] .xd-v2-saldo__meta small,
html.xd-loja-ui-v2 #xdV2SaldoChip[data-saldo-level="mid"] #saldoCredito {
  color: #92400e !important;
}

html.xd-loja-ui-v2 #xdV2SaldoChip[data-saldo-level="high"] {
  border-color: #86efac !important;
  background: linear-gradient(180deg, #f0fdf4, #dcfce7) !important;
  color: #166534 !important;
  box-shadow: 0 1px 3px rgba(22, 163, 74, 0.14) !important;
}

html.xd-loja-ui-v2 #xdV2SaldoChip[data-saldo-level="high"] i,
html.xd-loja-ui-v2 #xdV2SaldoChip[data-saldo-level="high"] .xd-v2-saldo__meta small,
html.xd-loja-ui-v2 #xdV2SaldoChip[data-saldo-level="high"] #saldoCredito {
  color: #166534 !important;
}

html.xd-loja-ui-v2 #xdV2TopBar #xdLojaUiV2ClockHost {
  gap: 7px !important;
  width: max-content !important;
  min-width: max-content !important;
  padding: 6px 12px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 9px !important;
  background: linear-gradient(180deg, #ffffff, #f1f5f9) !important;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.12) !important;
  box-sizing: border-box !important;
}

html.xd-loja-ui-v2 #xdV2TopBar #xdLojaUiV2ClockHost::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #111827;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.1);
}

html.xd-loja-ui-v2 #xdV2TopBar #xdLojaUiV2ClockHost #relogioLoja {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  white-space: nowrap !important;
  color: #111827 !important;
  font-family: "JetBrains Mono", Consolas, monospace !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  letter-spacing: 0.045em !important;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

html.xd-gestor-oficial #aba-montar-entrega .xd-gestor-body {
  flex: 1;
  min-height: 0;
  min-width: 0;
  width: 100%;
  padding: 4px 8px 8px;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0fr);
  gap: 0;
}

html.xd-loja-ui-v2.xd-gestor-oficial body.loja-painel.loja-aba-montar-entrega .loja-layout {
  width: calc(100vw * var(--xd-loja-scale-inv, 1)) !important;
  max-width: calc(100vw * var(--xd-loja-scale-inv, 1)) !important;
  min-width: 0 !important;
}

html.xd-loja-ui-v2.xd-gestor-oficial body.loja-painel.loja-aba-montar-entrega .loja-main {
  margin-left: var(--xd-v2-rail-w, 64px) !important;
  width: calc(100vw * var(--xd-loja-scale-inv, 1) - var(--xd-v2-rail-w, 64px)) !important;
  max-width: calc(100vw * var(--xd-loja-scale-inv, 1) - var(--xd-v2-rail-w, 64px)) !important;
  min-width: 0 !important;
  flex: 1 1 0 !important;
}

/* Dock mais estreito: sobra largura pro kanban (evita apertar Pronto/Em rota/Finalizados) */
html.xd-gestor-oficial.xd-gestor-dock-open #aba-montar-entrega .xd-gestor-body {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px) !important;
  gap: 8px;
}

html.xd-gestor-oficial #xdGestorBoard {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

/* As cinco etapas dividem o espaço; a quantidade de colunas se adapta à tela. */
#xdGestorIfoodKanban.xd-gifood-kanban,
#xdGestorIfoodKanban.xd-gifood-kanban--expedicao {
  display: flex;
  flex-flow: row wrap;
  align-content: stretch;
  gap: 8px;
  flex: 1 1 0;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  padding: 0;
}

.xd-gifood-right {
  display: contents;
}

.xd-gifood-left {
  display: contents;
}

#xdGestorIfoodKanban.xd-gifood-kanban--expedicao {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
}

#xdGestorIfoodKanban.xd-gifood-kanban--expedicao > .xd-gifood-left,
#xdGestorIfoodKanban.xd-gifood-kanban--expedicao > .xd-gifood-right {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
}

#xdGestorIfoodKanban.xd-gifood-kanban--expedicao > .xd-gifood-left {
  grid-column: 1;
  grid-row: 1;
}

#xdGestorIfoodKanban.xd-gifood-kanban--expedicao > .xd-gifood-right {
  grid-column: 2;
  grid-row: 1;
}

#xdGestorIfoodKanban.xd-gifood-kanban--expedicao .xd-gifood-left > .xd-gifood-col,
#xdGestorIfoodKanban.xd-gifood-kanban--expedicao .xd-gifood-right > .xd-gifood-col {
  flex: 1 1 0;
}

#xdGestorIfoodKanban.xd-gifood-kanban--expedicao .xd-gifood-left > .xd-gifood-col.is-collapsed {
  flex: 0 0 auto;
}

#xdGestorIfoodKanban.xd-gifood-kanban--expedicao .xd-gifood-right > .xd-gifood-col.is-collapsed {
  flex: 0 0 auto;
}

#xdGestorIfoodKanban.xd-gifood-kanban--quadros-horizontal {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr);
}

#xdGestorIfoodKanban.xd-gifood-kanban--quadros-horizontal > .xd-gifood-left,
#xdGestorIfoodKanban.xd-gifood-kanban--quadros-horizontal > .xd-gifood-right {
  display: contents;
}

#xdGestorIfoodKanban.xd-gifood-kanban--quadros-horizontal .xd-gifood-left > .xd-gifood-col,
#xdGestorIfoodKanban.xd-gifood-kanban--quadros-horizontal > .xd-gifood-col,
#xdGestorIfoodKanban.xd-gifood-kanban--quadros-horizontal .xd-gifood-right > .xd-gifood-col {
  height: 100%;
  min-width: 0;
}

#xdGestorIfoodKanban.xd-gifood-kanban--quadros-vertical {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: repeat(5, minmax(150px, 1fr));
  overflow-x: hidden;
  overflow-y: auto;
}

#xdGestorIfoodKanban.xd-gifood-kanban--quadros-vertical > .xd-gifood-left,
#xdGestorIfoodKanban.xd-gifood-kanban--quadros-vertical > .xd-gifood-right {
  display: contents;
}

#xdGestorIfoodKanban.xd-gifood-kanban--quadros-vertical .xd-gifood-left > .xd-gifood-col,
#xdGestorIfoodKanban.xd-gifood-kanban--quadros-vertical > .xd-gifood-col,
#xdGestorIfoodKanban.xd-gifood-kanban--quadros-vertical .xd-gifood-right > .xd-gifood-col {
  min-width: 0;
}

#xdGestorIfoodKanban[hidden] {
  display: none !important;
}

.xd-gifood-col {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  padding: 6px 8px 8px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  box-sizing: border-box;
  flex: 1 1 calc(25% - 6px);
}

#xdGestorIfoodKanban.xd-gifood-kanban--quadros > .xd-gifood-col,
#xdGestorIfoodKanban.xd-gifood-kanban--quadros .xd-gifood-left > .xd-gifood-col,
#xdGestorIfoodKanban.xd-gifood-kanban--quadros .xd-gifood-right > .xd-gifood-col {
  flex: 1 1 calc(25% - 6px);
}

.xd-gifood-col__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 0 2px 6px;
  margin: 0 0 2px;
  border-bottom: 1px solid #ececec;
  flex: 0 0 auto;
}

.xd-gifood-col__title {
  font-size: 13px;
  font-weight: 700;
  color: var(--gifood-ink);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.xd-gifood-col__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: #5c5c5c;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.xd-gifood-col__count.is-hot {
  background: var(--gifood-red, #ea1d2c);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 0 0 2px rgba(234, 29, 44, 0.18);
}

.xd-gifood-col__collapse {
  border: 0;
  background: transparent;
  color: #8c8c8c;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
}

.xd-gifood-col.is-collapsed .xd-gifood-col__body {
  display: none;
}

.xd-gifood-col.is-collapsed {
  min-height: 0;
  flex: 0 0 auto !important;
  align-self: flex-start;
}

.xd-gifood-col__body {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 6px;
  padding: 6px 2px 2px;
  background: #fafafa;
  border-radius: 8px;
  scrollbar-width: thin;
}

/* Vazio: quadro ocupa toda a coluna e centraliza o texto */
.xd-gifood-col__body:has(> .xd-gifood-col__empty) {
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: stretch;
  align-items: stretch;
  overflow: hidden;
}

.xd-gifood-col__empty {
  flex: 1 1 auto;
  align-self: stretch;
  width: 100%;
  min-height: 0;
  height: 100%;
  border: 1px solid #ebebeb;
  border-radius: 10px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  color: #a3a3a3;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.xd-gifood-col[data-gifood-col="preparo"] .xd-gifood-col__empty {
  min-height: 0;
}

.xd-gifood-col__empty i {
  font-size: 22px;
  opacity: 0.55;
  color: #a3a3a3;
}

/* Chips compactos nas colunas do Kanban. */
.xd-gifood-card,
.xd-gifood-card--chip {
  position: relative;
  background: #ffffff;
  border: 1px solid #d8d8d8;
  border-radius: 9px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  padding: 7px 6px 8px;
  cursor: pointer;
  text-align: center;
  width: 100px;
  min-width: 100px;
  max-width: 112px;
  min-height: 96px;
  height: fit-content;
  align-self: flex-start;
  flex: 0 0 auto;
  font: inherit;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1px;
  transition: border-color .15s ease, box-shadow .15s ease;
  box-sizing: border-box;
}

.xd-gifood-card:hover {
  border-color: #bdbdbd;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.xd-gifood-card[role="group"]:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.xd-gifood-card--with-ready,
.xd-gifood-card--with-dispatch {
  min-height: 124px;
}

.xd-gifood-card__ready,
.xd-gifood-card__dispatch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  min-height: 24px;
  margin-top: 3px;
  padding: 4px 5px;
  border: 0;
  border-radius: 6px;
  background: #059669;
  color: #fff;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.xd-gifood-card__dispatch {
  background: #2563eb;
}

.xd-gifood-card__ready:hover {
  background: #047857;
}

.xd-gifood-card__dispatch:hover {
  background: #1d4ed8;
}

.xd-gifood-card__ready:focus-visible {
  outline: 2px solid #1d4ed8;
  outline-offset: 2px;
}

.xd-gifood-card__dispatch:focus-visible {
  outline: 2px solid #1d4ed8;
  outline-offset: 2px;
}

.xd-gifood-card.is-selected {
  border-color: var(--gifood-red);
  box-shadow: 0 0 0 2px rgba(234, 29, 44, 0.22);
}

.xd-gifood-card--cancelled {
  background: #fff8f8;
  border-color: #f1a8ae;
  box-shadow: 0 1px 3px rgba(234, 29, 44, 0.1);
}

.xd-gifood-card--ok {
  background: #f7fbf8;
  border-color: #b7e0c5;
  box-shadow: 0 1px 3px rgba(80, 167, 115, 0.12);
}

.xd-gifood-card__top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 20px;
  margin-bottom: 3px;
}

.xd-gifood-card__top > span[aria-hidden="true"] {
  display: none;
}

.xd-gifood-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 800;
  color: #1f2937;
  white-space: nowrap;
}

.xd-gifood-card__badge i {
  font-size: 9px;
  opacity: 1;
}

.xd-gifood-card__code {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #111827;
  line-height: 1.05;
  text-align: center;
  margin: 0;
}

.xd-gifood-card__cliente {
  max-width: 100%;
  padding: 0 1px;
  margin: 1px 0 0;
  font-size: 14px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -0.01em;
  max-height: 2.4em;
}

.xd-gifood-card__sub {
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  color: #1f2937;
  margin: 0 0 4px;
  line-height: 1.2;
}

.xd-gifood-card__badge--origem {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-transform: none;
}

.xd-gifood-card__badge--origem-ifood,
.xd-gifood-card--origem-ifood .xd-gifood-card__badge--origem {
  padding: 3px 10px;
  border: 1px solid #ea1d2c;
  border-radius: 999px;
  background: #ea1d2c;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: 0 1px 3px rgba(234, 29, 44, 0.2);
}

.xd-gifood-card__badge--delivery {
  padding: 3px 9px;
  border: 1px solid #d8dee8;
  border-radius: 999px;
  background: #f3f5f8;
  color: #334155;
  font-size: 9px;
  font-weight: 800;
}

.xd-gifood-card__badge--origem-xfood,
.xd-gifood-card--origem-xfood .xd-gifood-card__badge--origem {
  color: #7c3aed;
}

.xd-gifood-card__badge--origem-delivery,
.xd-gifood-card--origem-delivery .xd-gifood-card__badge--origem {
  color: #2563eb;
}

.xd-gifood-card__badge--origem-retirada,
.xd-gifood-card--origem-retirada .xd-gifood-card__badge--origem {
  color: #16a34a;
}

.xd-gifood-card--origem-ifood {
  border-color: #f1a8ae;
}

.xd-gifood-card--origem-xfood {
  border-color: #c4b5fd;
}

.xd-gifood-card--origem-delivery {
  border-color: #93c5fd;
}

.xd-gifood-card--origem-retirada {
  border-color: #86efac;
}

.xd-gifood-card__timer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 2px auto 0;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f3f3f3;
  color: #111827;
  font-size: 12px;
  font-weight: 900;
  width: fit-content;
  min-width: 44px;
}

.xd-gifood-card--cancelled .xd-gifood-card__code,
.xd-gifood-card__code--cancelled {
  color: #9ca3af;
  text-decoration: line-through;
}

.xd-gifood-card__cancel {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid #fecaca;
  color: var(--gifood-red);
  background: #fef2f2;
  font-size: 11px;
  font-weight: 900;
  width: fit-content;
}

.xd-gifood-card__done {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid #bbf7d0;
  color: #166534;
  background: #f0fdf4;
  font-size: 11px;
  font-weight: 900;
  width: fit-content;
}

.xd-gifood-card__sub--radar {
  font-size: 11px;
  font-weight: 900 !important;
  color: #111827 !important;
  max-width: 100%;
  line-height: 1.25;
}

.xd-gifood-card__sub--retorno-alerta {
  margin-top: 2px;
  color: #dc2626 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
  animation: xd-retorno-texto-pisca 0.85s ease-in-out infinite;
}

.xd-gifood-card__sub--retorno-alerta .xd-gifood-retorno-flash {
  display: inline-block;
  animation: xd-retorno-texto-pisca 0.85s ease-in-out infinite;
}

.xd-gifood-card--retorno {
  border: 2px solid #ef4444;
  background: #fff5f5;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.18);
  animation: xd-retorno-card-pulse 1.1s ease-in-out infinite;
}

.xd-gifood-card--retorno .xd-gifood-card__code {
  color: #b91c1c;
}

@keyframes xd-retorno-texto-pisca {
  0%, 100% {
    opacity: 1;
    color: #dc2626;
    transform: scale(1);
    text-shadow: 0 0 0 transparent;
  }
  45% {
    opacity: 0.15;
    color: #7f1d1d;
    transform: scale(1.05);
  }
  55% {
    opacity: 1;
    color: #ef4444;
    transform: scale(1.08);
    text-shadow: 0 0 8px rgba(239, 68, 68, 0.55);
  }
}

@keyframes xd-retorno-card-pulse {
  0%, 100% {
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.16);
    border-color: #ef4444;
  }
  50% {
    box-shadow: 0 0 0 5px rgba(239, 68, 68, 0.35);
    border-color: #b91c1c;
  }
}

@media (prefers-reduced-motion: reduce) {
  .xd-gifood-card__sub--retorno-alerta,
  .xd-gifood-card__sub--retorno-alerta .xd-gifood-retorno-flash,
  .xd-gifood-card--retorno {
    animation: none !important;
  }
}

/* Header gestor teste: Aceitar auto + Novo pedido (some Auto refresh) */
html.xd-gestor-oficial .xd-gestor-auto-refresh {
  display: none !important;
}

html.xd-gestor-oficial #btnGestorAceitarAutoWrap,
html.xd-gestor-oficial .xd-gestor-auto-aceite {
  display: inline-flex !important;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 7px 11px;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  border: 1px solid #d8dee8;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

html.xd-gestor-oficial #btnGestorAceitarAutoWrap input,
html.xd-gestor-oficial .xd-gestor-auto-aceite input {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  flex: 0 0 32px;
  width: 32px;
  height: 18px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: #cbd5e1;
  cursor: pointer;
  transition: background-color 0.16s ease;
}

html.xd-gestor-oficial #btnGestorAceitarAutoWrap input::after,
html.xd-gestor-oficial .xd-gestor-auto-aceite input::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.2);
  transition: transform 0.16s ease;
}

html.xd-gestor-oficial #btnGestorAceitarAutoWrap input:checked,
html.xd-gestor-oficial .xd-gestor-auto-aceite input:checked {
  background: #16a34a;
}

html.xd-gestor-oficial #btnGestorAceitarAutoWrap input:checked::after,
html.xd-gestor-oficial .xd-gestor-auto-aceite input:checked::after {
  transform: translateX(14px);
}

html.xd-gestor-oficial #btnGestorAceitarAutoWrap input:focus-visible {
  outline: 2px solid #22c55e;
  outline-offset: 3px;
}

html.xd-gestor-oficial #btnGestorAceitarAutoWrap .xd-gestor-auto-refresh__box,
html.xd-gestor-oficial .xd-gestor-auto-aceite .xd-gestor-auto-refresh__box {
  display: none !important;
}

html.xd-gestor-oficial #btnGestorAceitarAutoWrap .xd-gestor-auto-aceite__label,
html.xd-gestor-oficial .xd-gestor-auto-aceite .xd-gestor-auto-aceite__label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

html.xd-gestor-oficial .xd-gestor-auto-aceite.is-on,
html.xd-gestor-oficial .xd-gestor-auto-aceite:has(input:checked) {
  border-color: #86efac;
  background: linear-gradient(180deg, #f0fdf4 0%, #ecfdf5 100%);
  box-shadow: 0 1px 3px rgba(22, 163, 74, 0.12);
  color: #166534;
}

html.xd-gestor-oficial #btnGestorNovoPedido {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 14px;
  background: #ea580c !important;
  border-color: #ea580c !important;
  border-radius: 9px;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

@media (max-width: 640px) {
  html.xd-gestor-oficial #aba-montar-entrega .xd-gestor-board-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding-block: 6px;
  }

  html.xd-gestor-oficial #aba-montar-entrega .xd-gestor-board-head > div:first-child {
    position: static;
    grid-column: 1;
    transform: none;
    text-align: center;
  }

  html.xd-gestor-oficial #aba-montar-entrega .xd-gestor-board-head__actions {
    grid-column: 1;
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  html.xd-gestor-oficial #aba-montar-entrega .xd-gestor-board-head__actions > #btnGestorNovoPedido {
    margin-left: auto;
  }

  html.xd-gestor-oficial #aba-montar-entrega .xd-gestor-head-toggles {
    flex-wrap: wrap;
  }
}

@media (max-width: 760px) {
  html.xd-loja-ui-v2 #xdV2TopBar #xdLojaUiV2ClockHost {
    gap: 5px !important;
    min-width: 0 !important;
    padding: 4px 8px !important;
  }

  html.xd-loja-ui-v2 #xdV2TopBar #xdLojaUiV2ClockHost::before {
    width: 6px;
    height: 6px;
    flex-basis: 6px;
  }

  html.xd-loja-ui-v2 #xdV2TopBar #xdLojaUiV2ClockHost #relogioLoja {
    font-size: 13px !important;
    letter-spacing: 0 !important;
  }
}

.xd-gestor-view-switcher {
  position: relative;
  flex: 0 0 auto;
}

.xd-gestor-view-switcher__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid var(--gifood-border);
  border-radius: 9px;
  background: #fff;
  color: var(--gifood-ink);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.xd-gestor-view-switcher__toggle [data-gestor-view-icon] {
  color: #ea580c;
}

.xd-gestor-view-switcher__toggle:focus-visible,
.xd-gestor-view-switcher__menu button:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.xd-gestor-view-switcher__menu {
  position: absolute;
  z-index: 120;
  top: calc(100% + 8px);
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: max-content;
  min-width: 210px;
  padding: 7px;
  border: 1px solid #2f2f2f;
  border-radius: 8px;
  background: #202020;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.xd-gestor-view-switcher__menu[hidden] {
  display: none !important;
}

.xd-gestor-view-switcher__menu button {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 8px 9px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 12px;
  text-align: left;
  cursor: pointer;
}

.xd-gestor-view-switcher__menu button:hover,
.xd-gestor-view-switcher__menu button[aria-checked="true"] {
  background: #363636;
}

.xd-gestor-view-switcher__menu button[data-gestor-view="expedicao"] i {
  color: #fb923c;
}

.xd-gestor-view-switcher__menu button[data-gestor-view="quadros"] i {
  color: #fb4777;
}

.xd-gestor-view-switcher__menu button[data-gestor-view="monitor"] i {
  color: #38bdf8;
}

#xdGestorEntregadoresMonitor {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: auto;
  padding: 4px;
}

#xdGestorEntregadoresMonitor[hidden] {
  display: none !important;
}

.xd-gestor-monitor__summary {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--gifood-muted);
  font-size: 13px;
}

.xd-gestor-monitor__summary strong {
  color: var(--gifood-ink);
}

.xd-gestor-monitor__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 10px;
}

.xd-gestor-monitor__empty {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  color: var(--gifood-muted);
  text-align: center;
}

.xd-gestor-monitor__empty i {
  margin-bottom: 10px;
  color: #9ca3af;
  font-size: 24px;
}

.xd-gestor-monitor__rider {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--gifood-border);
  border-radius: 10px;
  background: #fff;
}

.xd-gestor-monitor__rider-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
}

.xd-gestor-monitor__rider-name {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--gifood-ink);
  font-size: 14px;
  font-weight: 700;
}

.xd-gestor-monitor__rider-name i {
  color: #0284c7;
}

.xd-gestor-monitor__order-count {
  flex: 0 0 auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 700;
}

.xd-gestor-monitor__order {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 10px;
  padding: 8px 0;
  border-top: 1px solid #f0f0f0;
  font-size: 12px;
}

.xd-gestor-monitor__order strong {
  overflow: hidden;
  color: var(--gifood-ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xd-gestor-monitor__order-customer {
  overflow: hidden;
  color: var(--gifood-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xd-gestor-monitor__order-status {
  grid-column: 1 / -1;
  color: #475569;
  font-weight: 600;
}

/* Loja = vendas do dia (não financeiro) */
.xd-loja-dia-toolbar {
  display: none;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  width: 100%;
  margin: 0 0 14px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

html.xd-loja-dia-open .xd-loja-dia-toolbar {
  display: flex !important;
}

.xd-loja-dia-toolbar__title {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.xd-loja-dia-toolbar__title strong {
  font-size: 15px;
  color: #111827;
}

.xd-loja-dia-toolbar__title span {
  font-size: 12px;
  color: #6b7280;
}

.xd-loja-dia-toolbar__print {
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  background: #111827;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

html.xd-loja-dia-open #aba-caixa .caixa-kpi-grid {
  display: grid !important;
}

html.xd-loja-dia-open #aba-caixa .caixa-abertura-card,
html.xd-loja-dia-open #btnAcaoAbrirCaixa,
html.xd-loja-dia-open #btnAcaoFecharCaixa {
  display: none !important;
}

.xd-gifood-card--pendente {
  border-style: dashed;
  border-color: #f0a8ae;
}

.xd-gifood-card--pendente .xd-gifood-card__timer {
  background: #ffe8ea;
  color: var(--gifood-red);
}

.xd-gifood-card--critical {
  border-color: var(--gifood-red);
}

.xd-gifood-card__code--critical {
  display: inline-block;
  padding: 2px 6px;
  border: 2px solid var(--gifood-red);
  border-radius: 8px;
  color: var(--gifood-red);
}

.xd-gifood-card__timer.is-critical {
  background: #ffe8ea;
  color: var(--gifood-red);
  font-weight: 800;
}

.xd-gifood-status-alert {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 900;
}

.xd-gifood-status-alert--ok {
  background: #eef8f1;
  color: #1f6b3a;
}

.xd-gifood-status-alert--critical {
  background: #ffe8ea;
  color: var(--gifood-red);
}

.xd-gifood-status-alert--pendente {
  background: #fff7e6;
  color: #9a6700;
}

.xd-gestor-painel__retorno {
  margin: 8px 0;
  padding: 9px 10px;
  border: 1px solid #f1d49a;
  border-left: 3px solid #d97706;
  border-radius: 9px;
  background: #fffaf0;
  color: #475569;
}

.xd-gestor-painel__retorno-mensagem {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.xd-gestor-painel__retorno-mensagem > i {
  margin-top: 2px;
  color: #b45309;
}

.xd-gestor-painel__retorno-mensagem h4 {
  margin: 0 0 4px;
  color: #7c4a03;
  font-size: 12px;
  font-weight: 800;
}

.xd-gestor-painel__retorno-mensagem p {
  margin: 3px 0 0;
  color: #475569;
  font-size: 11px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.xd-gestor-painel__retorno-acoes {
  margin-top: 7px;
}

.xd-gifood-status-alert--cancel {
  background: #f3f4f6;
  color: #6b7280;
}

.xd-gestor-painel__obs-box {
  margin-top: 12px;
  padding: 12px;
  border-radius: 10px;
  background: #f8f8f8;
  border: 1px solid var(--gifood-border);
}

.xd-gestor-painel__obs-box h4 {
  margin: 0 0 6px;
  font-size: 12px;
  color: var(--gifood-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.xd-gestor-painel__obs-box p {
  margin: 0;
  font-size: 14px;
  color: var(--gifood-ink);
  white-space: pre-wrap;
}

html.xd-gestor-oficial #xdGestorPainelAba.xd-gestor-dock {
  background: #fff;
  border: 1px solid var(--gifood-border);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

html.xd-gestor-oficial #xdGestorPainelAba.xd-gestor-dock.is-open {
  display: flex !important;
}

html.xd-gestor-oficial #xdGestorPainelAba.xd-gestor-dock .xd-gestor-modal-dialog__inner {
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  flex: 1;
}

html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-modal-dialog__head,
html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-painel-aba__head {
  flex: 0 0 auto;
}

html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-modal-dialog__body,
html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-painel-aba__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  scrollbar-width: thin;
}

html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-modal-dialog__foot {
  flex: 0 0 auto;
  border-top: 1px solid var(--gifood-border);
  background: #fff;
}

html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-painel-aba__head {
  background: #fff;
  border-bottom: 1px solid var(--gifood-border);
}

html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-painel-aba__head::after {
  display: none !important;
  content: none !important;
}

html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-painel-aba__cliente {
  color: #111827 !important;
  font-weight: 800;
}

html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-painel-aba__hora {
  color: #475569 !important;
}

html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-painel-aba__codigo,
html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-order-code {
  color: #ea1d2c !important;
  font-weight: 900;
}

html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-painel-aba__meta,
html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-card__origem--delivery {
  background: #1d4ed8 !important;
  color: #fff !important;
  font-weight: 800;
  letter-spacing: 0.04em;
}

html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-drawer__field > span {
  color: #64748b;
  font-weight: 700;
}

html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-drawer__field > strong {
  color: #0f172a;
  font-weight: 800;
}

html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-modal-dialog__etapa {
  display: none !important;
}

html.xd-gestor-oficial .xd-gifood-status-alert {
  font-weight: 900;
  font-size: 13px;
}

html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-modal-dialog__etapa--st-localizando,
html.xd-gestor-oficial .xd-gifood-status-alert--localizando {
  color: #b91c1c !important;
  background: #fee2e2 !important;
}

html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-modal-dialog__etapa--st-aceito,
html.xd-gestor-oficial .xd-gifood-status-alert--aceito {
  color: #a16207 !important;
  background: #fef3c7 !important;
}

html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-modal-dialog__etapa--st-retorno,
html.xd-gestor-oficial .xd-gifood-status-alert--retorno {
  color: #1d4ed8 !important;
  background: #dbeafe !important;
}

html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-modal-dialog__etapa--st-ok,
html.xd-gestor-oficial .xd-gifood-status-alert--ok {
  color: #166534 !important;
  background: #dcfce7 !important;
}

html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-modal-dialog__etapa--st-cancel,
html.xd-gestor-oficial .xd-gifood-status-alert--cancel {
  color: #b91c1c !important;
  background: #fee2e2 !important;
}

.xd-gifood-card--st-localizando {
  border-color: #f87171 !important;
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.2);
}

.xd-gifood-card--st-aceito {
  border-color: #fbbf24 !important;
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.25);
}

.xd-gifood-card--st-retorno {
  border-color: #60a5fa !important;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.22);
}

.xd-gifood-card--st-ok {
  border-color: #4ade80 !important;
}

.xd-gifood-card--st-cancel {
  border-color: #f87171 !important;
}

.xd-gestor-wa-btn,
.xd-moto-id__wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-left: 6px;
  padding: 4px 8px;
  border-radius: 8px;
  background: #25d366;
  color: #fff !important;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none !important;
  vertical-align: middle;
}

.xd-gestor-wa-btn:hover,
.xd-moto-id__wa:hover {
  filter: brightness(0.95);
}

.xd-gestor-wa-btn i,
.xd-moto-id__wa i {
  font-size: 14px;
}

.xd-gestor-drawer__field .xd-gestor-taxa-valor {
  display: block;
  font-weight: 800;
  color: #0f172a;
}

.xd-gestor-drawer__field .xd-gestor-taxa-km {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  font-weight: 800;
  color: #166534;
}

/* X de fechar: preto no fundo branco (antes era branco invisível) */
html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-painel-aba__fechar,
html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-modal__fechar {
  color: #111827 !important;
  background: #f3f4f6 !important;
  border: 1px solid #e5e7eb;
}

html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-painel-aba__fechar:hover,
html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-modal__fechar:hover {
  color: #000 !important;
  background: #e5e7eb !important;
}

html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-modal-dialog__etapa {
  background: #f7f7f7;
  color: var(--gifood-ink);
  font-weight: 600;
}

html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-drawer__btn--primary,
html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-card__btn--primary {
  background: var(--gifood-green) !important;
  border-color: var(--gifood-green) !important;
  color: #fff !important;
}

html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-drawer__btn--danger,
html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-card__btn--reject {
  background: #fff !important;
  border: 1px solid var(--gifood-red) !important;
  color: var(--gifood-red) !important;
}

@media (max-width: 800px) {
  #xdGestorIfoodKanban.xd-gifood-kanban--quadros > .xd-gifood-col,
  #xdGestorIfoodKanban.xd-gifood-kanban--quadros .xd-gifood-left > .xd-gifood-col,
  #xdGestorIfoodKanban.xd-gifood-kanban--quadros .xd-gifood-right > .xd-gifood-col {
    flex-basis: calc(50% - 4px);
  }
}

@media (max-width: 1100px) {
  #xdGestorIfoodKanban.xd-gifood-kanban--quadros-horizontal {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  #xdGestorIfoodKanban.xd-gifood-kanban--expedicao,
  #xdGestorIfoodKanban.xd-gifood-kanban--quadros {
    display: flex;
    flex: 0 1 auto;
    flex-flow: column nowrap;
    overflow-x: hidden;
    overflow-y: auto;
  }

  #xdGestorIfoodKanban.xd-gifood-kanban--quadros-horizontal {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-auto-rows: 220px;
    overflow-y: auto;
  }

  #xdGestorIfoodKanban.xd-gifood-kanban--quadros-vertical {
    grid-template-rows: none;
    grid-auto-rows: 220px;
  }

  #xdGestorIfoodKanban.xd-gifood-kanban--expedicao > .xd-gifood-right,
  #xdGestorIfoodKanban.xd-gifood-kanban--expedicao > .xd-gifood-left,
  #xdGestorIfoodKanban.xd-gifood-kanban--quadros > .xd-gifood-right {
    display: contents;
  }

  #xdGestorIfoodKanban.xd-gifood-kanban--quadros > .xd-gifood-left,
  #xdGestorIfoodKanban.xd-gifood-kanban--quadros-horizontal > .xd-gifood-right,
  #xdGestorIfoodKanban.xd-gifood-kanban--quadros-horizontal > .xd-gifood-left,
  #xdGestorIfoodKanban.xd-gifood-kanban--quadros-vertical > .xd-gifood-right,
  #xdGestorIfoodKanban.xd-gifood-kanban--quadros-vertical > .xd-gifood-left {
    display: contents;
  }

  #xdGestorIfoodKanban.xd-gifood-kanban--expedicao > .xd-gifood-col,
  #xdGestorIfoodKanban.xd-gifood-kanban--expedicao .xd-gifood-left > .xd-gifood-col,
  #xdGestorIfoodKanban.xd-gifood-kanban--expedicao .xd-gifood-right > .xd-gifood-col,
  #xdGestorIfoodKanban.xd-gifood-kanban--quadros > .xd-gifood-col,
  #xdGestorIfoodKanban.xd-gifood-kanban--quadros .xd-gifood-left > .xd-gifood-col,
  #xdGestorIfoodKanban.xd-gifood-kanban--quadros .xd-gifood-right > .xd-gifood-col,
  #xdGestorIfoodKanban.xd-gifood-kanban--quadros-horizontal > .xd-gifood-col,
  #xdGestorIfoodKanban.xd-gifood-kanban--quadros-horizontal .xd-gifood-left > .xd-gifood-col,
  #xdGestorIfoodKanban.xd-gifood-kanban--quadros-horizontal .xd-gifood-right > .xd-gifood-col,
  #xdGestorIfoodKanban.xd-gifood-kanban--quadros-vertical > .xd-gifood-col,
  #xdGestorIfoodKanban.xd-gifood-kanban--quadros-vertical .xd-gifood-left > .xd-gifood-col,
  #xdGestorIfoodKanban.xd-gifood-kanban--quadros-vertical .xd-gifood-right > .xd-gifood-col {
    flex: 0 0 220px;
    height: 220px !important;
    min-height: 220px;
  }

  #xdGestorIfoodKanban.xd-gifood-kanban--expedicao .xd-gifood-col.is-collapsed,
  #xdGestorIfoodKanban.xd-gifood-kanban--quadros .xd-gifood-col.is-collapsed,
  #xdGestorIfoodKanban.xd-gifood-kanban--quadros-horizontal .xd-gifood-col.is-collapsed,
  #xdGestorIfoodKanban.xd-gifood-kanban--quadros-vertical .xd-gifood-col.is-collapsed {
    flex: 0 0 auto !important;
    height: fit-content !important;
    min-height: 0;
  }

  #xdGestorEntregadoresMonitor .xd-gestor-monitor__list {
    grid-template-columns: minmax(0, 1fr);
  }

  html.xd-gestor-oficial.xd-gestor-dock-open #aba-montar-entrega .xd-gestor-body {
    grid-template-columns: 1fr;
  }
}

/* Gestor puro: esconde PDV (abertura/sangria/mesas) — Loja = faturamento */
html.xd-gestor-sem-pdv #btnAcaoAbrirCaixa,
html.xd-gestor-sem-pdv #btnAcaoFecharCaixa,
html.xd-gestor-sem-pdv #btnAcaoNovaVenda,
html.xd-gestor-sem-pdv #btnAcaoFecharMesaReceber,
html.xd-gestor-sem-pdv #btnAcaoAdicionarMesa,
html.xd-gestor-sem-pdv #btnAcaoExcluirMesa,
html.xd-gestor-sem-pdv #caixaPainelToolbar,
html.xd-gestor-sem-pdv #caixaAberturaCard,
html.xd-gestor-sem-pdv .caixa-abertura-card,
html.xd-gestor-sem-pdv #movTipoSangria,
html.xd-gestor-sem-pdv .caixa-mov-tipo-btn--sangria,
html.xd-gestor-sem-pdv .loja-nav-caixa-item[data-caixa-tab="caixa"],
html.xd-gestor-sem-pdv .loja-nav-caixa-item[data-caixa-tab="mesas"],
html.xd-gestor-sem-pdv .caixa-kpi-card--mesa,
html.xd-gestor-sem-pdv [data-caixa-go="sangria"],
html.xd-gestor-sem-pdv .caixa-elite-status-pill,
html.xd-gestor-sem-pdv .caixa-kpi-card--gaveta,
html.xd-gestor-sem-pdv #modalMovimentacaoCaixa,
html.xd-loja-dia-open .caixa-kpi-card--gaveta {
  display: none !important;
}

/* —— Loja dia premium (sem gaveta) —— */
html.xd-loja-dia-open .xd-loja-dia-toolbar {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center !important;
  justify-content: stretch;
  gap: 12px;
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 auto !important;
  align-self: stretch !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 0 12px;
  padding: 12px 16px;
  background: #0f172a;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

html.xd-loja-dia-open #caixaActionBar,
html.xd-loja-dia-open body.caixa-nav-unificada #caixaActionBar[style*="flex"] {
  display: none !important;
}

html.xd-loja-dia-open .xd-loja-dia-toolbar__title {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

html.xd-loja-dia-open .xd-loja-dia-toolbar__center {
  grid-column: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

html.xd-loja-dia-open #xdLojaDiaToggleKpiValores {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border: 1px solid rgba(226, 232, 240, 0.35);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #f8fafc;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

html.xd-loja-dia-open .xd-loja-dia-toolbar__title strong {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f8fafc;
}

html.xd-loja-dia-open .xd-loja-dia-toolbar__title span {
  font-size: 12px;
  color: rgba(226, 232, 240, 0.72);
}

html.xd-loja-dia-open .xd-loja-dia-toolbar__print {
  grid-column: 3;
  justify-self: end;
  flex-shrink: 0;
  background: #10b981;
  color: #052e1c;
  border-radius: 10px;
  padding: 9px 14px;
  box-shadow: none;
  font-size: 12px;
}

@media (max-width: 640px) {
  html.xd-loja-dia-open .xd-loja-dia-toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "title report" "center center";
    row-gap: 10px;
  }

  html.xd-loja-dia-open .xd-loja-dia-toolbar__title { grid-area: title; }
  html.xd-loja-dia-open .xd-loja-dia-toolbar__center { grid-area: center; }
  html.xd-loja-dia-open .xd-loja-dia-toolbar__print { grid-area: report; }
}

html.xd-loja-dia-open #aba-caixa .caixa-painel-premium-board {
  padding: 4px 0 8px;
}

html.xd-loja-dia-open #aba-caixa .caixa-kpi-card--compact {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
  background: #fff;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

html.xd-loja-dia-open #aba-caixa .caixa-kpi-card--compact:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

html.xd-loja-dia-open #aba-caixa .caixa-kpi-grid--board-row-top {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

/* Esconde chips antigos amontoados / mesa / gaveta */
html.xd-loja-dia-open #aba-caixa .caixa-kpi-grid--board-row-bottom,
html.xd-loja-dia-open #aba-caixa .caixa-kpi-card--delivery,
html.xd-loja-dia-open #aba-caixa .caixa-kpi-card--ifood,
html.xd-loja-dia-open #aba-caixa .caixa-kpi-card--xfood,
html.xd-loja-dia-open #aba-caixa .caixa-kpi-card--retirada,
html.xd-loja-dia-open #aba-caixa .caixa-kpi-card--pago-online,
html.xd-loja-dia-open #aba-caixa .caixa-kpi-card--mesa {
  display: none !important;
}

html.xd-loja-dia-open #aba-caixa .caixa-historico-sub {
  font-size: 12px;
  color: #64748b;
}

html.xd-loja-dia-open #aba-caixa .caixa-historico-card {
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

html.xd-loja-dia-open #aba-caixa .caixa-historico-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Grade de canais — faturamento */
.xd-loja-dia-canais {
  display: none;
  margin: 0 0 14px;
}

html.xd-loja-dia-open .xd-loja-dia-canais {
  display: block !important;
}

.xd-loja-dia-canais__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 10px;
}

.xd-loja-dia-canais__head strong {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.xd-loja-dia-canais__head span {
  font-size: 11px;
  color: #94a3b8;
}

.xd-loja-dia-canais__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.xd-loja-canal {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "icon label"
    "icon val"
    "icon meta";
  column-gap: 12px;
  row-gap: 2px;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.xd-loja-canal:hover {
  transform: translateY(-1px);
  border-color: #cbd5e1;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.xd-loja-canal.caixa-kpi-card--canal-active,
.xd-loja-canal.is-active {
  border-color: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.18);
}

.xd-loja-canal__icon {
  grid-area: icon;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 16px;
  align-self: start;
}

.xd-loja-canal__label {
  grid-area: label;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.xd-loja-canal__val {
  grid-area: val;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  line-height: 1.15;
}

.xd-loja-canal__meta {
  grid-area: meta;
  font-size: 11px;
  color: #94a3b8;
}

.xd-loja-canal__plus {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 12px;
}

.xd-loja-canal__plus:hover {
  background: #10b981;
  color: #052e1c;
}

.xd-loja-canal--delivery .xd-loja-canal__icon { background: #ecfdf5; color: #059669; }
.xd-loja-canal--retirada .xd-loja-canal__icon { background: #fff7ed; color: #c2410c; }
.xd-loja-canal--ifood .xd-loja-canal__icon { background: #fff1f2; color: #e11d48; }
.xd-loja-canal--xfood-del .xd-loja-canal__icon { background: #eff6ff; color: #2563eb; }
.xd-loja-canal--xfood-ret .xd-loja-canal__icon { background: #f5f3ff; color: #7c3aed; }
.xd-loja-canal--online .xd-loja-canal__icon { background: #ecfeff; color: #0e7490; }

@media (max-width: 1100px) {
  .xd-loja-dia-canais__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .xd-loja-dia-canais__grid {
    grid-template-columns: 1fr;
  }

  html.xd-loja-dia-open #aba-caixa .caixa-kpi-grid--board-row-top {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Aviso TELA EM CONSTRUÇÃO — Faturamento / Cardápios */
.xd-aviso-construcao,
#xdAvisoConstrucaoFaturamento .xd-aviso-construcao,
#xdAvisoConstrucaoCardapio .xd-aviso-construcao {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 14px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #f5a8a8;
  background: #fff1f1;
  color: #9f1d1d;
  box-shadow: 0 1px 2px rgba(159, 29, 29, 0.06);
}

.xd-aviso-construcao > i {
  flex: 0 0 auto;
  margin-top: 2px;
  font-size: 18px;
  color: #dc2626;
}

.xd-aviso-construcao__txt {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.xd-aviso-construcao__txt strong {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #991b1b;
}

.xd-aviso-construcao__txt span {
  font-size: 13px;
  line-height: 1.45;
  color: #b91c1c;
}

.xd-aviso-construcao__txt span strong {
  font-size: inherit;
  letter-spacing: 0;
  text-transform: none;
  color: #7f1d1d;
}

html.xd-loja-dia-open #xdAvisoConstrucaoFaturamento {
  display: block !important;
}

#xdAvisoConstrucaoCardapio {
  margin: 0 0 12px;
}
html.xd-loja-ui-v2 #aba-caixa .caixa-clientes-pane.xd-clientes-premium,
html.xd-loja-ui-v2 #aba-caixa .caixa-clientes-pane,
html.xd-gestor-sem-pdv #aba-caixa .caixa-clientes-pane {
  max-width: none !important;
  width: 100%;
  margin: 0;
  padding: 0 4px 12px;
  box-sizing: border-box;
}

html.xd-loja-ui-v2 #aba-caixa .xd-clientes-premium .xd-clientes-card,
html.xd-gestor-sem-pdv #aba-caixa .caixa-clientes-pane .caixa-clientes-card {
  width: 100%;
  max-width: none;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 18px;
  background:
    radial-gradient(120% 90% at 100% -10%, rgba(16, 185, 129, 0.10), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 14px 36px rgba(15, 23, 42, 0.07);
  overflow: hidden;
  min-height: min(68vh, 640px);
  display: flex;
  flex-direction: column;
}

html.xd-loja-ui-v2 #aba-caixa .xd-clientes-card__head,
html.xd-gestor-sem-pdv #aba-caixa .caixa-clientes-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 18px 22px;
  border-bottom: 1px solid #eef2f7;
  background: linear-gradient(180deg, #f7fffb 0%, #ffffff 100%);
}

html.xd-loja-ui-v2 #aba-caixa .xd-clientes-card__eyebrow {
  display: inline-block;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #059669;
}

html.xd-loja-ui-v2 #aba-caixa .xd-clientes-card__intro h4,
html.xd-gestor-sem-pdv #aba-caixa .caixa-clientes-card__head h4 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}

html.xd-loja-ui-v2 #aba-caixa .xd-clientes-card__intro p,
html.xd-gestor-sem-pdv #aba-caixa .caixa-clientes-card__head p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #64748b;
}

html.xd-loja-ui-v2 #aba-caixa .xd-clientes-card__tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 320px;
  justify-content: flex-end;
  min-width: min(420px, 100%);
}

html.xd-loja-ui-v2 #aba-caixa .xd-clientes-search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 220px;
  max-width: 420px;
  min-width: 180px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

html.xd-loja-ui-v2 #aba-caixa .xd-clientes-search:focus-within {
  border-color: #6ee7b7;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

html.xd-loja-ui-v2 #aba-caixa .xd-clientes-search i {
  color: #94a3b8;
  font-size: 13px;
}

html.xd-loja-ui-v2 #aba-caixa .xd-clientes-search input,
html.xd-gestor-sem-pdv #aba-caixa #buscaClienteCaixa {
  flex: 1;
  border: 0 !important;
  outline: none;
  background: transparent !important;
  font-size: 14px;
  color: #0f172a;
  box-shadow: none !important;
  min-width: 0;
}

html.xd-loja-ui-v2 #aba-caixa .xd-clientes-btn-novo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(16, 185, 129, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

html.xd-loja-ui-v2 #aba-caixa .xd-clientes-btn-novo:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 10px 22px rgba(16, 185, 129, 0.34);
}

html.xd-loja-ui-v2 #aba-caixa .xd-clientes-table-wrap {
  padding: 4px 8px 12px;
  flex: 1;
  min-height: 0;
  overflow: auto;
}

html.xd-loja-ui-v2 #aba-caixa .xd-clientes-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

html.xd-loja-ui-v2 #aba-caixa .xd-clientes-table thead th {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  background: transparent;
  border-bottom: 1px solid #eef2f7;
  padding: 14px 16px;
  text-align: left;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}

html.xd-loja-ui-v2 #aba-caixa .xd-clientes-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  font-size: 14px;
  color: #334155;
}

html.xd-loja-ui-v2 #aba-caixa .xd-clientes-row:hover td {
  background: #f8fafc;
}

html.xd-loja-ui-v2 #aba-caixa .caixa-clientes-td-nome {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: #0f172a;
}

html.xd-loja-ui-v2 #aba-caixa .xd-clientes-avatar {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}

html.xd-loja-ui-v2 #aba-caixa .caixa-clientes-td-acoes {
  width: 108px;
  white-space: nowrap;
}

html.xd-loja-ui-v2 #aba-caixa .caixa-clientes-btn {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #0f172a;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

html.xd-loja-ui-v2 #aba-caixa .caixa-clientes-btn--sell {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #047857;
}

html.xd-loja-ui-v2 #aba-caixa .caixa-clientes-btn--del {
  background: #fff;
  border-color: #fecaca;
  color: #dc2626;
}

html.xd-loja-ui-v2 #aba-caixa .caixa-clientes-btn:hover {
  transform: translateY(-1px);
}

html.xd-loja-ui-v2 #aba-caixa .caixa-clientes-empty {
  padding: 64px 16px !important;
  text-align: center;
  color: #94a3b8;
  font-size: 14px;
}

html.xd-loja-ui-v2 #aba-caixa .xd-clientes-empty-premium {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 72px 20px !important;
  color: #64748b;
}

html.xd-loja-ui-v2 #aba-caixa .xd-clientes-empty-premium__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #ecfdf5;
  color: #059669;
  font-size: 22px;
  margin-bottom: 4px;
}

html.xd-loja-ui-v2 #aba-caixa .xd-clientes-empty-premium strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

html.xd-loja-ui-v2 #aba-caixa .xd-clientes-empty-premium span {
  font-size: 13px;
  color: #94a3b8;
}

/* Esconde o botão solto da action bar — o CTA fica no card */
html.xd-loja-ui-v2 #btnAcaoNovoCliente {
  display: none !important;
}

/* —— X-FOOD config premium —— */
.xd-xfood-pane .xd-xfood-hero {
  margin: 0 0 16px;
  padding: 18px 20px;
  border-radius: 18px;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(244, 63, 94, 0.16), transparent 50%),
    linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #881337 140%);
  color: #f8fafc;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}

.xd-xfood-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.xd-xfood-hero__hint {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(226, 232, 240, 0.82);
  max-width: 62ch;
}

.xd-xfood-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.xd-xfood-link {
  flex: 1 1 240px;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #a7f3d0;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xd-xfood-link-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.xd-xfood-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.xd-xfood-btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #f8fafc;
}

.xd-xfood-btn--primary {
  background: #10b981;
  color: #052e1c;
}

.xd-xfood-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.xd-xfood-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.xd-xfood-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.09);
}

.xd-xfood-card--info {
  cursor: default;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.xd-xfood-card--info:hover {
  transform: none;
}

.xd-xfood-card__icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  flex-shrink: 0;
  font-size: 18px;
}

.xd-xfood-card__icon--green { background: #ecfdf5; color: #059669; }
.xd-xfood-card__icon--blue { background: #eff6ff; color: #2563eb; }
.xd-xfood-card__icon--amber { background: #fffbeb; color: #d97706; }
.xd-xfood-card__icon--slate { background: #f1f5f9; color: #475569; }

.xd-xfood-card__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.xd-xfood-card__body strong {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.xd-xfood-card__body span {
  font-size: 12px;
  line-height: 1.4;
  color: #64748b;
}

.xd-xfood-card__chev {
  color: #cbd5e1;
  font-size: 12px;
}

@media (max-width: 900px) {
  .xd-xfood-grid {
    grid-template-columns: 1fr;
  }

  html.xd-loja-dia-open #aba-caixa .caixa-kpi-grid--board-row-top {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html.xd-loja-ui-v2 #aba-caixa .xd-clientes-card__head {
    flex-direction: column;
    align-items: stretch;
  }

  html.xd-loja-ui-v2 #aba-caixa .xd-clientes-card__tools {
    justify-content: stretch;
    min-width: 0;
    width: 100%;
  }

  html.xd-loja-ui-v2 #aba-caixa .xd-clientes-search {
    max-width: none;
  }

  html.xd-loja-ui-v2 #aba-caixa .xd-clientes-btn-novo {
    flex: 1 1 auto;
    justify-content: center;
  }
}

  html.xd-gestor-oficial body.loja-painel {
    --xd-loja-rail-width: 47px;
    --xd-loja-topbar-height: 47px;
  }

  html.xd-gestor-oficial body.loja-painel .loja-main {
    padding-left: 0 !important;
  }

  html.xd-gestor-oficial body.loja-painel .loja-main > .painel-section,
  html.xd-gestor-oficial body.loja-painel .loja-main > .mapa-wrapper.global-map {
    width: calc(100% - var(--xd-loja-rail-width)) !important;
    margin-left: var(--xd-loja-rail-width) !important;
    box-sizing: border-box !important;
  }

  html.xd-gestor-oficial body.loja-painel .painel-header-nav {
    height: var(--xd-loja-topbar-height) !important;
    min-height: var(--xd-loja-topbar-height) !important;
    padding: 0 10px 0 8px !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
    overflow: visible !important;
  }

  html.xd-gestor-oficial body.loja-painel .header-brand-loja {
    flex: 0 0 auto !important;
    gap: 8px !important;
  }

  html.xd-gestor-oficial body.loja-painel .loja-perfil-media-top,
  html.xd-gestor-oficial body.loja-painel .loja-perfil-media-top img {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
  }

  html.xd-gestor-oficial body.loja-painel .header-brand-text {
    display: flex !important;
    flex: 0 1 auto !important;
    align-items: center !important;
    gap: 8px !important;
  }

  html.xd-gestor-oficial body.loja-painel #nomeFantasia {
    max-width: 120px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
  }

  html.xd-gestor-oficial body.loja-painel .topbar-relogio {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    color: #16a34a !important;
    font-weight: 800 !important;
    font-variant-numeric: tabular-nums;
  }

  html.xd-gestor-oficial body.loja-painel .painel-header-nav .loja-nav {
    position: fixed !important;
    z-index: 1490 !important;
    top: var(--xd-loja-topbar-height) !important;
    right: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    width: var(--xd-loja-rail-width) !important;
    min-width: var(--xd-loja-rail-width) !important;
    max-width: var(--xd-loja-rail-width) !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 8px 4px 52px !important;
    display: flex !important;
    flex: 0 0 var(--xd-loja-rail-width) !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 5px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    background: #111827 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  html.xd-gestor-oficial body.loja-painel #lojaNavCaixaUnificada[hidden] {
    display: none !important;
  }

  html.xd-gestor-oficial body.loja-painel #lojaNavCaixaUnificada:not([hidden]) {
    display: contents !important;
  }

  html.xd-gestor-oficial body.loja-painel .painel-header-nav .loja-nav > button,
  html.xd-gestor-oficial body.loja-painel .loja-nav-caixa-item {
    position: relative !important;
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 38px !important;
    border: 0 !important;
    border-radius: 11px !important;
    background: transparent !important;
    color: #94a3b8 !important;
    font-size: 16px !important;
    box-shadow: none !important;
  }

  html.xd-gestor-oficial body.loja-painel .painel-header-nav .loja-nav > button.active,
  html.xd-gestor-oficial body.loja-painel .loja-nav-caixa-item.active {
    background: #064e3b !important;
    color: #a7f3d0 !important;
  }

  html.xd-gestor-oficial body.loja-painel .loja-nav-label,
  html.xd-gestor-oficial body.loja-painel .loja-nav-drop-caret,
  html.xd-gestor-oficial body.loja-painel .loja-nav-alert-badge {
    display: none !important;
  }

  html.xd-gestor-oficial body.loja-painel .loja-nav-drop {
    position: relative !important;
    width: 38px !important;
    flex: 0 0 38px !important;
  }

  html.xd-gestor-oficial body.loja-painel .loja-nav-drop-panel {
    position: fixed !important;
    z-index: 1510 !important;
    left: calc(var(--xd-loja-rail-width) + 4px) !important;
    top: auto !important;
    bottom: 8px !important;
    min-width: 190px !important;
  }

  html.xd-gestor-oficial body.loja-painel .topbar-actions {
    margin-left: auto !important;
    gap: 8px !important;
  }

  html.xd-gestor-oficial body.loja-painel .loja-saldo-top {
    min-width: 82px;
    padding: 4px 11px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    background: #dcfce7;
    color: #047857;
    line-height: 1.05;
  }

  html.xd-gestor-oficial body.loja-painel .loja-saldo-top small {
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
  }

  html.xd-gestor-oficial body.loja-painel .loja-saldo-top strong {
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
  }

  html.xd-gestor-oficial body.loja-painel #btnInstallApp {
    display: none !important;
  }

  html.xd-gestor-oficial body.loja-painel .btn-sair-loja-top {
    position: fixed !important;
    z-index: 1510 !important;
    left: 7px !important;
    bottom: 7px !important;
    width: 33px !important;
    min-width: 33px !important;
    height: 36px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    background: #111827 !important;
    color: #fb7185 !important;
    font-size: 0 !important;
  }

  html.xd-gestor-oficial body.loja-painel .btn-sair-loja-top i {
    font-size: 15px !important;
  }

  html.xd-gestor-oficial body.loja-aba-gestor-premium .mapa-wrapper.global-map {
    display: none !important;
  }

.xd-gestor-modal-dialog__inner--preparo .xd-gestor-modal-dialog__body {
  padding: 14px;
  background: #f8fafc;
}

.xd-gestor-modal-dialog__inner--preparo .xd-gifood-status-alert {
  min-height: 42px;
  margin: 0 0 12px;
  padding: 10px 14px;
  border: 1px solid #f4d28a;
  border-left: 4px solid #d99016;
  border-radius: 10px;
  background: #fff8e8 !important;
  color: #80530c !important;
  font-size: 14px;
  font-weight: 800;
}

.xd-gestor-modal-dialog__inner--preparo .xd-gestor-painel__endereco {
  margin: 0 0 12px;
  padding: 12px 14px;
  border: 1px solid #b9e5c8;
  border-radius: 10px;
  background: #effaf3;
  color: #12643a;
  font-size: 13px;
  line-height: 1.5;
}

.xd-gestor-modal-dialog__inner--preparo .xd-gestor-painel__grid {
  gap: 9px;
  margin-top: 0;
}

.xd-gestor-modal-dialog__inner--preparo .xd-gestor-drawer__field {
  min-height: 58px;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  border-color: #e2e8f0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.035);
}

.xd-gestor-modal-dialog__inner--preparo .xd-gestor-drawer__field > span {
  color: #64748b;
  font-size: 10px;
  letter-spacing: 0.06em;
}

.xd-gestor-modal-dialog__inner--preparo .xd-gestor-drawer__field > strong {
  color: #172033;
  font-size: 13px;
  line-height: 1.4;
}

.xd-gestor-modal-dialog__inner--preparo .xd-gestor-painel__itens-wrap {
  margin-top: 14px;
}

.xd-gestor-modal-dialog__inner--preparo .xd-gestor-painel__itens-titulo {
  margin-bottom: 8px;
  color: #334155;
  font-size: 11px;
}

.xd-gestor-modal-dialog__inner--preparo .xd-gestor-painel__itens {
  gap: 7px;
  padding: 11px 13px;
  border-color: #e2e8f0;
  border-radius: 10px;
}

.xd-gestor-modal-dialog__inner--preparo .xd-gestor-painel__itens li {
  color: #334155;
  font-size: 13px;
}

.xd-gestor-modal-dialog__inner--preparo .xd-gestor-seg--delivery {
  margin-top: 12px;
  padding: 11px 13px;
  border-radius: 10px;
  font-size: 13px;
}

.xd-gestor-modal-dialog__inner .xd-gestor-modal-dialog__foot {
  padding: 10px 12px;
  background: #fff;
}

html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-modal-dialog__inner .xd-gestor-painel__acoes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}

html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-modal-dialog__inner .xd-gestor-painel__acoes > button,
html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-modal-dialog__inner .xd-gestor-painel__acoes .xd-gestor-print-wrap {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  flex: none;
}

html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-modal-dialog__inner .xd-gestor-painel__acoes > button,
html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-modal-dialog__inner .xd-gestor-painel__acoes .xd-gestor-print-wrap > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #dbe3ec;
  border-radius: 11px;
  background: #fff;
  color: #334155;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.06);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  white-space: normal;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-modal-dialog__inner .xd-gestor-painel__acoes > button:hover,
html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-modal-dialog__inner .xd-gestor-painel__acoes .xd-gestor-print-wrap > button:hover {
  border-color: #b8c5d5;
  background: #f8fafc;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.1);
  transform: translateY(-1px);
}

html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-modal-dialog__inner .xd-gestor-painel__acoes > button:focus-visible,
html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-modal-dialog__inner .xd-gestor-painel__acoes .xd-gestor-print-wrap > button:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.28);
  outline-offset: 2px;
}

html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-modal-dialog__inner .xd-gestor-painel__acoes > button.xd-gestor-drawer__btn--ok,
html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-modal-dialog__inner .xd-gestor-painel__acoes > button.xd-gestor-drawer__btn--primary,
html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-modal-dialog__inner .xd-gestor-painel__acoes > button.xd-gestor-card__btn--ok,
html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-modal-dialog__inner .xd-gestor-painel__acoes > button.xd-gestor-card__btn--primary {
  border-color: #16803c;
  background: #16803c;
  color: #fff;
  box-shadow: 0 3px 8px rgba(22, 128, 60, 0.2);
}

html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-modal-dialog__inner .xd-gestor-painel__acoes > button.xd-gestor-drawer__btn--ok:hover,
html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-modal-dialog__inner .xd-gestor-painel__acoes > button.xd-gestor-drawer__btn--primary:hover,
html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-modal-dialog__inner .xd-gestor-painel__acoes > button.xd-gestor-card__btn--ok:hover,
html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-modal-dialog__inner .xd-gestor-painel__acoes > button.xd-gestor-card__btn--primary:hover {
  border-color: #126b32;
  background: #126b32;
}

html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-modal-dialog__inner .xd-gestor-painel__acoes > button.xd-gestor-drawer__btn--danger,
html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-modal-dialog__inner .xd-gestor-painel__acoes > button.xd-gestor-drawer__btn--reject,
html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-modal-dialog__inner .xd-gestor-painel__acoes > button.xd-gestor-card__btn--reject {
  border-color: #fecaca !important;
  background: #fff7f7 !important;
  color: #b91c1c !important;
  box-shadow: none !important;
}

html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-modal-dialog__inner .xd-gestor-painel__acoes > button.xd-gestor-drawer__btn--danger:hover,
html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-modal-dialog__inner .xd-gestor-painel__acoes > button.xd-gestor-drawer__btn--reject:hover,
html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-modal-dialog__inner .xd-gestor-painel__acoes > button.xd-gestor-card__btn--reject:hover {
  border-color: #fca5a5 !important;
  background: #feecec !important;
}

html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-modal-dialog__inner .xd-gestor-painel__acoes > button:last-child:nth-child(odd),
html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-modal-dialog__inner .xd-gestor-painel__acoes .xd-gestor-print-wrap:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-modal-dialog__inner .xd-gestor-print-wrap {
  position: relative;
}

html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-modal-dialog__inner .xd-gestor-print-menu {
  position: absolute;
  z-index: 20;
  right: 0;
  bottom: calc(100% + 6px);
  left: 0;
  display: grid;
  gap: 4px;
  min-width: 150px;
  padding: 6px;
  border: 1px solid #dbe3ec;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.16);
}

html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-modal-dialog__inner .xd-gestor-print-menu[hidden] {
  display: none !important;
}

html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-modal-dialog__inner .xd-gestor-print-menu__item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 10px;
  border: 0;
  border-radius: 7px;
  background: #f8fafc;
  color: #1e293b;
  font-size: 14px;
  text-align: left;
  white-space: nowrap;
}

html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-modal-dialog__inner .xd-gestor-print-menu__item:hover {
  background: #eef2f7;
}

@media (max-width: 560px) {
  .xd-gestor-modal-dialog__inner--preparo .xd-gestor-modal-dialog__body {
    padding: 10px;
  }

  .xd-gestor-modal-dialog__inner--preparo .xd-gestor-painel__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-modal-dialog__inner .xd-gestor-painel__acoes {
    gap: 7px;
  }
}

#xdGestorPainelAba .xd-gestor-painel__acoes > button,
#xdGestorPainelAba .xd-gestor-painel__acoes .xd-gestor-print-wrap > button {
  min-height: 42px;
  padding: 8px 10px;
  font-size: 14px !important;
  line-height: 1.25;
}

#xdGestorPainelAba .xd-gestor-painel__acoes .xd-gestor-print-menu__item {
  min-height: 40px;
  font-size: 14px !important;
}

html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-painel__acoes {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}

html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-painel__acoes > button,
html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-painel__acoes .xd-gestor-print-wrap,
html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-painel__acoes .xd-gestor-print-wrap > button {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 44px;
}

html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-painel__acoes > button,
html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-painel__acoes .xd-gestor-print-wrap > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid #dbe3ec;
  border-radius: 10px;
  background: #fff;
  color: #334155;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.06);
  font-size: 14px !important;
  font-weight: 700;
  line-height: 1.2;
  white-space: normal;
}

html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-painel__acoes > button.xd-gestor-card__btn--radar {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
}

html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-painel__acoes > button.xd-gestor-card__btn--reject {
  border-color: #fecaca;
  background: #fff7f7;
  color: #b91c1c;
}

html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-painel__acoes > button:last-child:nth-child(odd),
html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-painel__acoes .xd-gestor-print-wrap:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

html.xd-loja-ui-v2 #xdV2SaldoChip {
  min-height: 40px;
  gap: 9px;
  padding: 5px 13px 5px 7px;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px;
  background: #fff !important;
  color: #172033 !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08) !important;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

html.xd-loja-ui-v2 #xdV2SaldoChip:hover {
  border-color: #86c99c !important;
  background: #fff !important;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.1) !important;
  transform: translateY(-1px);
}

html.xd-loja-ui-v2 #xdV2SaldoChip:focus-visible {
  outline: 3px solid rgba(22, 128, 60, 0.24);
  outline-offset: 2px;
}

html.xd-loja-ui-v2 #xdV2SaldoChip > i {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 9px;
  background: #eaf6ed;
  color: #16803c !important;
  font-size: 14px;
}

html.xd-loja-ui-v2 #xdV2SaldoChip .xd-v2-saldo__meta {
  gap: 2px;
}

html.xd-loja-ui-v2 #xdV2SaldoChip .xd-v2-saldo__meta small {
  color: #64748b !important;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.07em;
}

html.xd-loja-ui-v2 #xdV2SaldoChip #saldoCredito {
  color: #172033 !important;
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

html.xd-loja-ui-v2 #xdV2SaldoChip[data-saldo-level="low"] {
  border: 2px solid #ef4444 !important;
  background: #fff !important;
  color: #172033 !important;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.16), 0 2px 6px rgba(15, 23, 42, 0.08) !important;
}

html.xd-loja-ui-v2 #xdV2SaldoChip[data-saldo-level="low"] > i {
  background: #fee2e2;
  color: #dc2626 !important;
}

html.xd-loja-ui-v2 #xdV2SaldoChip[data-saldo-level="low"] .xd-v2-saldo__meta small {
  color: #b91c1c !important;
}

html.xd-loja-ui-v2 #xdV2SaldoChip[data-saldo-level="low"] #saldoCredito {
  color: #b91c1c !important;
}

html.xd-loja-ui-v2 #xdV2SaldoChip[data-saldo-level="mid"] .xd-v2-saldo__meta small,
html.xd-loja-ui-v2 #xdV2SaldoChip[data-saldo-level="mid"] #saldoCredito,
html.xd-loja-ui-v2 #xdV2SaldoChip[data-saldo-level="high"] .xd-v2-saldo__meta small,
html.xd-loja-ui-v2 #xdV2SaldoChip[data-saldo-level="high"] #saldoCredito {
  color: #172033 !important;
}

html.xd-loja-ui-v2 #xdV2SaldoChip[data-saldo-level="mid"] {
  border-color: #ead9aa !important;
  background: #fff !important;
}

html.xd-loja-ui-v2 #xdV2SaldoChip[data-saldo-level="mid"] > i {
  background: #fff7df;
  color: #a56a13 !important;
}

html.xd-loja-ui-v2 #xdV2SaldoChip[data-saldo-level="high"] {
  border-color: #b9dfc2 !important;
  background: #fff !important;
}

html.xd-loja-ui-v2 #xdV2SaldoChip[data-saldo-level="high"] > i {
  background: #eaf6ed;
  color: #16803c !important;
}

html.xd-gestor-oficial body.loja-painel .loja-saldo-top {
  min-height: 36px;
  min-width: 0;
  padding: 4px 11px 4px 7px;
  flex-direction: row;
  gap: 8px;
  border-color: #dce8df;
  border-radius: 11px;
  background: #fff;
  color: #172033;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.07);
}

html.xd-gestor-oficial body.loja-painel .loja-saldo-top > i {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border-radius: 8px;
  background: #eaf6ed;
  color: #16803c;
  font-size: 13px;
}

html.xd-gestor-oficial body.loja-painel .loja-saldo-top small {
  color: #64748b;
  font-size: 9px;
  letter-spacing: 0.07em;
}

html.xd-gestor-oficial body.loja-painel .loja-saldo-top strong {
  color: #172033;
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-painel__retorno {
  margin: 4px 0;
  padding: 6px 7px;
}

html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-painel__retorno-mensagem h4 {
  margin-bottom: 3px;
  font-size: 12px !important;
  line-height: 1.3;
}

html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-painel__retorno-mensagem p {
  margin-top: 2px;
  font-size: 12px !important;
  line-height: 1.35;
}

html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-painel__retorno-acoes > button {
  min-height: 36px !important;
  padding: 5px 7px !important;
  font-size: 12px !important;
  line-height: 1.15;
}

html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-painel__acoes > button.xd-gestor-card__btn--radar,
html.xd-gestor-oficial #xdGestorPainelAba .xd-gestor-painel__acoes > button.xd-gestor-card__btn--ghost {
  min-height: 38px !important;
  gap: 5px;
  padding: 5px 7px;
  font-size: 12px !important;
  line-height: 1.15;
}
