/* ============================================================================
   OrderCity — PDV "Frente de Caixa" (tela de venda do painel do lojista)
   ----------------------------------------------------------------------------
   Só apresentação. Nenhuma regra aqui mexe em dados, rotas ou funções: os
   mesmos identificadores e cliques continuam valendo.

   Estrutura: barra do topo (título + abas) · faixa do caixa (status e ações)
   · busca + categorias + grade de produtos à esquerda · venda atual com
   pagamento à direita · resumo do caixa e vendas do turno embaixo.

   Cores: sempre pelas variáveis do tema (--primary, --border, --surface…),
   então acompanha a paleta esmeralda, a azul e o modo escuro.
   ============================================================================ */

/* --------------------------------------------------------------- topo */
.pdvx-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.pdvx-top-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pdvx-top-ico {
  width: 42px; height: 42px; flex: 0 0 42px;
  border-radius: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary-soft, rgba(14, 122, 102, .10));
  color: var(--primary, #0E7A66);
}
.pdvx-top-txt { min-width: 0; }
.pdvx-top-txt h3 {
  margin: 0;
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text-dark, var(--dark, #14312B));
  line-height: 1.2;
}
.pdvx-top-sub { margin-top: 3px; font-size: .8rem; color: var(--gray, #7B8B84); font-weight: 600; }
.pdvx-top-ver { margin-top: 2px; font-size: .68rem; color: #9ca3af; }

/* abas Caixa / Salão */
.pdv-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(18,38,32,.05);
  border: 1px solid var(--border, #E4E5D9);
}
.pdv-tab-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--gray, #7B8B84);
  font-family: inherit;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .16s ease, color .16s ease, box-shadow .16s ease;
}
.pdv-tab-btn svg { width: 16px; height: 16px; flex: 0 0 auto; }
.pdv-tab-btn:hover { color: var(--primary-dark, #0A5D4E); }
.pdv-tab-btn.active {
  background: #fff;
  color: var(--primary-dark, #0A5D4E);
  box-shadow: 0 1px 2px rgba(16, 24, 40, .10);
}
.pdv-tab-btn:focus-visible { outline: 2px solid var(--ring, rgba(14, 122, 102, .35)); outline-offset: 1px; }

/* --------------------------------------------------- faixa do caixa */
.pdvx-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--border, #E4E5D9);
  border-radius: 14px;
  padding: 10px 12px 10px 16px;
  margin-bottom: 16px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}
.pdvx-status { min-width: 0; }
.pdvx-status-state { font-size: .88rem; font-weight: 700; color: var(--text-dark, #14312B); display: flex; align-items: center; gap: 6px; }
.pdvx-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: 0 0 auto; }
.pdvx-status-hint { font-size: .74rem; color: var(--gray, #7B8B84); margin-top: 2px; }
.pdvx-status-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pdvx-tool {
  display: inline-flex; align-items: center; gap: 6px;
  height: 34px;
  padding: 0 12px;
  border-radius: 9px;
  border: 1px solid var(--border, #E4E5D9);
  background: #fff;
  color: var(--text-dark, #14312B);
  font-family: inherit;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.pdvx-tool svg { flex: 0 0 auto; color: var(--primary, #0E7A66); }
.pdvx-tool:hover { background: var(--primary-soft, rgba(14, 122, 102, .07)); border-color: var(--primary, #0E7A66); }
.pdvx-tool.danger { color: #B42318; border-color: #F3C9C4; background: #FEF4F3; }
.pdvx-tool.danger svg { color: #B42318; }
.pdvx-tool.danger:hover { background: #FDE7E4; border-color: #E9A9A1; }
.pdvx-tool:focus-visible,
.pdvx-btn:focus-visible,
.pdvx-pay-btn:focus-visible,
.pdvx-link:focus-visible { outline: 2px solid var(--ring, rgba(14, 122, 102, .35)); outline-offset: 2px; }

/* ------------------------------------------------ caixa fechado */
.pdvx-closed { padding: 8px 0 24px; }
.pdvx-closed-card {
  max-width: 430px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border, #E4E5D9);
  border-radius: 20px;
  padding: 30px 26px 24px;
  text-align: center;
  box-shadow: 0 20px 40px -34px rgba(16, 40, 34, .55);
}
.pdvx-closed-ico {
  width: 58px; height: 58px;
  margin: 0 auto 14px;
  border-radius: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary-soft, rgba(14, 122, 102, .10));
  color: var(--primary, #0E7A66);
}
.pdvx-closed-card h3 { margin: 0 0 6px; font-size: 1.1rem; color: var(--text-dark, #14312B); }
.pdvx-closed-card p { margin: 0 0 18px; font-size: .86rem; line-height: 1.55; color: var(--gray, #7B8B84); }
.pdvx-lbl { display: block; text-align: left; font-size: .76rem; font-weight: 700; color: var(--gray, #7B8B84); margin-bottom: 6px; letter-spacing: .01em; }
.pdvx-money {
  display: flex; align-items: center; gap: 8px;
  height: 46px;
  padding: 0 12px;
  border: 1px solid var(--border, #E4E5D9);
  border-radius: 12px;
  background: rgba(18,38,32,.02);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.pdvx-money:focus-within { border-color: var(--primary, #0E7A66); box-shadow: 0 0 0 3px var(--primary-soft, rgba(14, 122, 102, .12)); }
.pdvx-money-cur { font-size: .8rem; font-weight: 700; color: var(--gray, #7B8B84); }
.pdvx-money input {
  flex: 1; width: 100%; min-width: 0;
  border: 0; outline: 0; background: transparent;
  font-family: inherit;
  font-size: 1rem; font-weight: 700;
  color: var(--text-dark, #14312B);
  text-align: right;
}
.pdvx-money.sm { height: 34px; width: 118px; border-radius: 9px; padding: 0 9px; }
.pdvx-money.sm input { font-size: .88rem; }
.pdvx-closed-tip { font-size: .72rem; color: #9aa8a2; margin-top: 10px; }

/* ------------------------------------------------------- layout */
.pdvx-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 384px;
  gap: 18px;
  align-items: start;
}

/* -------------------------------------------------- coluna esquerda */
.pdvx-main {
  background: #fff;
  border: 1px solid var(--border, #E4E5D9);
  border-radius: 18px;
  padding: 14px;
  min-width: 0;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}
.pdvx-search {
  display: flex; align-items: center; gap: 10px;
  height: 46px;
  padding: 0 12px;
  border: 1px solid var(--border, #E4E5D9);
  border-radius: 12px;
  background: rgba(18,38,32,.02);
  color: var(--gray, #7B8B84);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.pdvx-search:focus-within { border-color: var(--primary, #0E7A66); box-shadow: 0 0 0 3px var(--primary-soft, rgba(14, 122, 102, .12)); }
.pdvx-search svg { flex: 0 0 auto; }
.pdvx-search input {
  flex: 1; min-width: 0;
  border: 0; outline: 0; background: transparent;
  font-family: inherit;
  font-size: .92rem;
  color: var(--text-dark, #14312B);
}
.pdvx-search input::placeholder { color: #A7B3AE; }
.pdvx-kbd {
  flex: 0 0 auto;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--gray, #7B8B84);
  background: #F2F5F3;
  border: 1px solid var(--border, #E4E5D9);
  border-radius: 6px;
  padding: 3px 6px;
}

/* chips de categoria */
.pdvx-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 12px; }
.pdvx-chip {
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid var(--border, #E4E5D9);
  background: #fff;
  color: var(--text-dark, #14312B);
  font-family: inherit;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.pdvx-chip:hover { border-color: var(--primary, #0E7A66); color: var(--primary-dark, #0A5D4E); }
.pdvx-chip.active {
  background: var(--primary-soft, rgba(14, 122, 102, .12));
  border-color: var(--primary, #0E7A66);
  color: var(--primary-dark, #0A5D4E);
}

/* grade de produtos */
.pdvx-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
  grid-auto-rows: minmax(102px, auto);
  gap: 10px;
  max-height: 560px;
  overflow: auto;
  padding: 2px 2px 4px;
}
.pdvx-card {
  position: relative;
  min-height: 102px;
  display: flex;
  gap: 11px;
  align-items: stretch;
  text-align: left;
  padding: 10px;
  border: 1px solid var(--border, #E4E5D9);
  border-radius: 14px;
  background: #fff;
  font-family: inherit;
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.pdvx-card:hover {
  border-color: var(--primary, #0E7A66);
  box-shadow: 0 8px 20px -16px rgba(16, 40, 34, .55);
  transform: translateY(-1px);
}
.pdvx-card:focus-visible { outline: 2px solid var(--ring, rgba(14, 122, 102, .35)); outline-offset: 2px; }
.pdvx-card:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.pdvx-card-thumb {
  width: 54px; height: 54px;
  flex: 0 0 54px;
  border-radius: 12px;
  overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(18,38,32,.045);
  color: var(--primary, #0E7A66);
  font-size: 1.05rem;
  font-weight: 800;
}
.pdvx-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdvx-card-body { display: flex; flex-direction: column; min-width: 0; flex: 1; gap: 2px; }
.pdvx-card-name {
  font-size: .84rem; font-weight: 800; line-height: 1.25;
  color: var(--text-dark, #14312B);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pdvx-card-desc {
  font-size: .7rem; line-height: 1.35; color: var(--gray, #7B8B84);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pdvx-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 4px; }
.pdvx-card-price { font-size: .86rem; font-weight: 800; color: var(--primary-dark, #0A5D4E); }
.pdvx-card-add {
  width: 26px; height: 26px; flex: 0 0 26px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary-soft, rgba(14, 122, 102, .12));
  color: var(--primary-dark, #0A5D4E);
  font-size: 1rem; font-weight: 800; line-height: 1;
  transition: background .15s ease, color .15s ease;
}
.pdvx-card:hover .pdvx-card-add { background: var(--primary, #0E7A66); color: #fff; }
.pdvx-stock {
  position: absolute; top: 7px; right: 8px;
  font-size: .6rem; font-weight: 700;
  background: #EEF2FF; color: #4338CA;
  padding: 1px 6px; border-radius: 999px;
}
.pdvx-stock.zero { background: #FEE2E2; color: #B91C1C; }
.pdvx-grid-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--gray, #7B8B84);
  font-size: .86rem;
  padding: 34px 10px;
}

/* -------------------------------------------------- coluna direita */
.pdvx-side {
  position: sticky;
  top: 16px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border, #E4E5D9);
  border-radius: 18px;
  box-shadow: 0 12px 30px -28px rgba(16, 40, 34, .7);
  overflow: hidden;
}
.pdvx-side-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 13px 14px 11px;
  border-bottom: 1px solid rgba(18,38,32,.07);
}
.pdvx-side-title { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--primary, #0E7A66); }
.pdvx-side-title h4 { margin: 0; font-size: .9rem; font-weight: 800; color: var(--text-dark, #14312B); }
.pdvx-count {
  min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary-soft, rgba(14, 122, 102, .12));
  color: var(--primary-dark, #0A5D4E);
  font-size: .72rem; font-weight: 800;
}
.pdvx-link {
  border: 0; background: transparent; padding: 2px 4px;
  color: var(--gray, #7B8B84);
  font-family: inherit; font-size: .74rem; font-weight: 700;
  cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}
.pdvx-link:hover { color: #B42318; }

.pdvx-cart { flex: 1 1 auto; min-height: 132px; max-height: 258px; overflow: auto; padding: 4px 14px; }
.pdvx-empty {
  height: 100%; min-height: 124px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  color: #A7B3AE;
  font-size: .8rem;
  text-align: center;
}
.pdvx-empty svg { opacity: .7; }
.pdvx-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(18,38,32,.05); }
.pdvx-row:last-child { border-bottom: 0; }
.pdvx-row-info { flex: 1; min-width: 0; }
.pdvx-row-nm { display: block; font-size: .82rem; font-weight: 700; color: var(--text-dark, #14312B); line-height: 1.25; }
.pdvx-row-un { display: block; font-size: .7rem; color: var(--gray, #7B8B84); margin-top: 1px; }
.pdvx-qty { display: inline-flex; align-items: center; gap: 2px; background: rgba(18,38,32,.04); border: 1px solid var(--border, #E4E5D9); border-radius: 9px; padding: 2px; }
.pdvx-qty button {
  width: 24px; height: 24px;
  border: 0; border-radius: 7px;
  background: #fff;
  color: var(--text-dark, #14312B);
  font-family: inherit; font-size: .95rem; font-weight: 700; line-height: 1;
  cursor: pointer;
}
.pdvx-qty button:hover { background: var(--primary-soft, rgba(14, 122, 102, .12)); color: var(--primary-dark, #0A5D4E); }
.pdvx-qty span { min-width: 20px; text-align: center; font-size: .78rem; font-weight: 800; }
.pdvx-row-sub { min-width: 68px; text-align: right; font-size: .82rem; font-weight: 800; color: var(--text-dark, #14312B); }

.pdvx-totals { padding: 10px 14px 4px; border-top: 1px solid rgba(18,38,32,.07); }
.pdvx-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 0; font-size: .8rem; color: var(--gray, #7B8B84); }
.pdvx-line strong { font-size: .86rem; color: var(--text-dark, #14312B); }

.pdvx-pay { padding: 8px 14px 0; }
.pdvx-pay-title { font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--gray, #7B8B84); margin-bottom: 8px; }
.pdvx-pay-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.pdvx-pay-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 40px;
  border: 1px solid var(--border, #E4E5D9);
  border-radius: 10px;
  background: #fff;
  color: var(--text-dark, #14312B);
  font-family: inherit;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.pdvx-pay-btn svg { color: var(--gray, #7B8B84); }
.pdvx-pay-btn:hover { border-color: var(--primary, #0E7A66); }
.pdvx-pay-btn.active {
  background: var(--primary-soft, rgba(14, 122, 102, .12));
  border-color: var(--primary, #0E7A66);
  color: var(--primary-dark, #0A5D4E);
}
.pdvx-pay-btn.active svg { color: var(--primary-dark, #0A5D4E); }

.pdvx-cashbox { margin-top: 10px; }
.pdvx-change { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; font-size: .78rem; color: var(--gray, #7B8B84); }
.pdvx-change strong { font-size: .92rem; font-weight: 800; color: var(--primary-dark, #0A5D4E); }

.pdvx-total {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin: 12px 14px 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(18,38,32,.035);
  border: 1px solid rgba(18,38,32,.08);
}
.pdvx-total-lbl { font-size: .78rem; font-weight: 700; color: var(--gray, #7B8B84); }
.pdvx-total-val { font-size: 1.42rem; font-weight: 800; letter-spacing: -.02em; color: var(--primary-dark, #0A5D4E); }

.pdvx-actions { display: flex; gap: 8px; padding: 12px 14px 14px; }
.pdvx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: .88rem;
  font-weight: 800;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.pdvx-btn.primary {
  flex: 1 1 auto;
  background: var(--primary, #0E7A66);
  color: #fff;
  box-shadow: 0 10px 20px -16px rgba(10, 93, 78, .95);
}
.pdvx-btn.primary:hover { background: var(--primary-dark, #0A5D4E); }
.pdvx-btn.ghost { background: #fff; border-color: var(--border, #E4E5D9); color: var(--text-dark, #14312B); }
.pdvx-btn.ghost:hover { background: rgba(18,38,32,.035); border-color: rgba(18,38,32,.22); }
.pdvx-btn.block { width: 100%; margin-top: 4px; }
.pdvx-kbd.dark {
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .28);
  color: #fff;
}

/* ------------------------------------------- resumo do caixa + vendas */
.pdvx-sums {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.pdvx-sum {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--border, #E4E5D9);
  border-radius: 14px;
}
.pdvx-sum-ico {
  width: 34px; height: 34px; flex: 0 0 34px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary-soft, rgba(14, 122, 102, .10));
  color: var(--primary, #0E7A66);
}
.pdvx-sum-lbl { font-size: .72rem; font-weight: 700; color: var(--gray, #7B8B84); }
.pdvx-sum-val { font-size: 1.06rem; font-weight: 800; color: var(--text-dark, #14312B); margin-top: 1px; }
.pdvx-sum-sub { font-size: .68rem; color: #9AA8A2; margin-top: 1px; }

.pdvx-table {
  margin-top: 14px;
  background: #fff;
  border: 1px solid var(--border, #E4E5D9);
  border-radius: 16px;
  overflow: hidden;
}
.pdvx-table-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(18,38,32,.07);
}
.pdvx-table-head h4 { margin: 0; font-size: .9rem; font-weight: 800; color: var(--text-dark, #14312B); }
.pdvx-table-sub { font-size: .72rem; color: #9AA8A2; }
.pdvx-table-wrap { overflow-x: auto; }
.pdvx-table table { width: 100%; border-collapse: collapse; }
.pdvx-table thead th {
  text-align: left;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--gray, #7B8B84);
  padding: 9px 16px;
  background: rgba(18,38,32,.025);
  border-bottom: 1px solid rgba(18,38,32,.07);
  white-space: nowrap;
}
.pdvx-table tbody td {
  padding: 11px 16px;
  font-size: .82rem;
  color: var(--text-dark, #14312B);
  border-bottom: 1px solid rgba(18,38,32,.05);
  white-space: nowrap;
}
.pdvx-table tbody tr:last-child td { border-bottom: 0; }
.pdvx-td-empty { text-align: center; color: var(--gray, #7B8B84); padding: 20px 8px !important; }

/* ------------------------------------------------------- responsivo */
@media (max-width: 1180px) {
  .pdvx-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 14px; }
  .pdvx-grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
}
@media (max-width: 1000px) {
  .pdvx-layout { grid-template-columns: minmax(0, 1fr); }
  .pdvx-side { position: static; }
  .pdvx-cart { max-height: none; }
  .pdvx-grid { max-height: 480px; }
}
@media (max-width: 720px) {
  .pdvx-top { gap: 10px; }
  .pdv-tabs { width: 100%; }
  .pdv-tab-btn { flex: 1 1 0; justify-content: center; padding: 8px 8px; font-size: .76rem; }
  .pdvx-statusbar { padding: 10px 12px; }
  .pdvx-status-tools { width: 100%; }
  .pdvx-tool { flex: 1 1 auto; justify-content: center; }
  .pdvx-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); max-height: none; }
  .pdvx-card-thumb { width: 46px; height: 46px; flex-basis: 46px; }
  .pdvx-kbd { display: none; }
  .pdvx-sums { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .pdvx-sum { padding: 10px 12px; }
  .pdvx-btn { height: 44px; font-size: .84rem; }
}
@media (max-width: 430px) {
  .pdvx-grid { grid-template-columns: minmax(0, 1fr); max-height: none; }
  .pdvx-pay-grid { gap: 6px; }
  .pdvx-pay-btn { font-size: .74rem; }
}

/* Modo escuro do painel (quando existir): mantém os cards legíveis. */
html[data-oc-theme="dark"] .pdvx-main,
html[data-oc-theme="dark"] .pdvx-side,
html[data-oc-theme="dark"] .pdvx-statusbar,
html[data-oc-theme="dark"] .pdvx-sum,
html[data-oc-theme="dark"] .pdvx-table,
html[data-oc-theme="dark"] .pdvx-closed-card,
html[data-oc-theme="dark"] .pdvx-card { background: var(--surface, #16221E); border-color: rgba(255,255,255,.10); }
html[data-oc-theme="dark"] .pdvx-total { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.08); }
html[data-oc-theme="dark"] .pdvx-search,
html[data-oc-theme="dark"] .pdvx-money { background: rgba(255,255,255,.04); }
