/* Nova conta a pagar — componente responsivo, sem dependência do layout das páginas. */
#ncOverlay.nc-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9700;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 2.5vw, 32px);
  background: rgba(2, 9, 18, .9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

#ncOverlay *,
#ncOverlay *::before,
#ncOverlay *::after {
  box-sizing: border-box;
}

#ncSheet.nc-sheet {
  display: flex !important;
  flex-direction: column !important;
  width: min(1120px, 100%) !important;
  max-width: 1120px !important;
  height: min(920px, calc(100dvh - clamp(24px, 5vw, 64px))) !important;
  max-height: 920px !important;
  min-width: 0 !important;
  margin: auto !important;
  overflow: hidden !important;
  border: 1px solid color-mix(in srgb, var(--border) 64%, transparent) !important;
  border-radius: 16px !important;
  background: var(--bg) !important;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .5);
}

#ncSheet > .nc-sheet-head {
  flex: 0 0 auto;
  padding: 15px clamp(18px, 2vw, 28px) !important;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

#ncSheet .nc-sheet-handle {
  width: 44px;
  height: 4px;
  margin: 0 auto 11px;
  border-radius: 999px;
  background: var(--border-bright);
}

#ncSheet .nc-sheet-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

#ncTitulo {
  font-size: clamp(18px, 1.35vw, 23px) !important;
  line-height: 1.2;
}

#ncSheet .nc-sheet-close {
  flex: 0 0 40px;
  width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  border: 1px solid var(--border) !important;
  border-radius: 11px !important;
  background: var(--surface3) !important;
  color: var(--text-muted) !important;
  cursor: pointer;
}

#ncSheet .nc-sheet-body {
  display: grid !important;
  flex: 1 1 auto;
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  align-content: start;
  gap: 14px 16px !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: clamp(16px, 2vw, 26px) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

#ncSheet .nc-sheet-body > div {
  grid-column: 1 / -1;
  min-width: 0 !important;
  max-width: 100% !important;
}

#ncSheet .nc-valor-compra-row {
  grid-column: span 6 !important;
  grid-row: 2;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 14px !important;
}

#ncSheet .nc-valor-compra-row > div,
#ncSheet .nc-venc-parcelas-row > div {
  min-width: 0 !important;
}

#ncSheet .nc-category-section {
  grid-column: span 6 !important;
  grid-row: 2 / span 3;
  min-width: 0 !important;
  padding: 14px !important;
  border: 0;
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface2) 76%, var(--surface));
}

#ncSheet .nc-category-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px);
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

#ncSheet .nc-category-title {
  margin: 0 !important;
}

#ncSheet #ncCatBusca {
  width: 100% !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 8px 12px !important;
  font-size: 13px !important;
  border-radius: 10px !important;
}

#ncSheet #ncCatGrid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
  max-height: clamp(230px, 31vh, 360px);
  padding: 1px 3px 1px 1px;
  overflow-x: hidden;
  overflow-y: auto;
}

#ncSheet #ncCatGrid .nc-cat-card {
  position: relative;
  width: 100%;
  min-width: 0 !important;
  min-height: 58px;
  padding: 9px 11px !important;
  appearance: none;
  border-radius: 11px !important;
  font-family: inherit;
  font-size: 13px !important;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
}

#ncSheet #ncCatGrid .nc-cat-card.nc-sel {
  padding-right: 36px !important;
  border: 1.5px solid #6366f1 !important;
  background: #eef0ff !important;
  color: #272c78 !important;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, .1) !important;
}

#ncSheet #ncCatGrid .nc-cat-card.nc-sel::after {
  content: '✓';
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #6366f1;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

#ncSheet #ncCatGrid .nc-cat-card.nc-split-selected {
  border-color: #aeb2f4 !important;
  background: #f4f5ff !important;
  color: #3d438b !important;
}

#ncSheet #ncCatGrid .nc-cat-card[hidden] {
  display: none !important;
}

#ncSheet #ncCatGrid .nc-cat-card span {
  min-width: 0;
  overflow-wrap: anywhere;
}

#ncSheet .nc-selected-category {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
}

#ncSheet .nc-selected-category-label {
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .35px;
  text-transform: uppercase;
}

#ncSheet .nc-selected-category-empty {
  color: #8a94a6;
  font-size: 12px;
}

#ncSheet .nc-selected-category-chip {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  padding: 7px 8px 7px 9px;
  align-items: center;
  gap: 7px;
  border: 1px solid #d7d9ff;
  border-radius: 8px;
  background: #f0f1ff;
  color: #272c78;
  font-size: 12px;
  font-weight: 600;
}

#ncSheet .nc-selected-category-chip > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#ncSheet .nc-selected-category-chip > button {
  display: grid;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #5960c7;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
}

#ncSheet .nc-selected-category-chip > button:hover {
  background: rgba(99, 102, 241, .1);
}

#ncSheet .nc-split-category-row {
  display: flex;
  margin: 0 0 10px;
  justify-content: flex-end;
}

#ncSheet .nc-split-category-row .btn {
  min-height: 32px !important;
  padding: 5px 9px !important;
  font-size: 11px !important;
}

#ncSheet .nc-split-panel {
  margin: 0 0 10px;
  padding: 11px;
  border: 1px solid #d7d9ff;
  border-radius: 10px;
  background: #f8f9ff;
}

#ncSheet .nc-split-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

#ncSheet .nc-split-panel-head strong {
  color: #272c78;
  font-size: 11px;
  letter-spacing: .3px;
  text-transform: uppercase;
}

#ncSheet .nc-split-panel-head button,
#ncSheet .nc-split-add {
  padding: 0;
  border: 0;
  background: transparent;
  color: #5960c7;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
}

#ncSheet .nc-split-lines {
  display: grid;
  gap: 7px;
}

#ncSheet .nc-split-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px 24px;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border: 1px solid #e1e5ec;
  border-radius: 8px;
  background: #fff;
}

#ncSheet .nc-split-category-name {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
  color: #252d3d;
  font-size: 12px;
  font-weight: 600;
}

#ncSheet .nc-split-category-name span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#ncSheet .nc-split-line input {
  width: 100% !important;
  height: 34px !important;
  min-height: 34px !important;
  padding: 6px 8px !important;
  text-align: right;
  font-size: 12px !important;
}

#ncSheet .nc-split-line > button {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8b94a5;
  cursor: pointer;
  font-size: 17px;
}

#ncSheet .nc-split-add {
  margin-top: 8px;
}

#ncSheet .nc-split-empty {
  padding: 6px;
  color: #7b8495;
  font-size: 11px;
}

#ncSheet .nc-split-totals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 9px;
}

#ncSheet .nc-split-totals span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 6px 7px;
  border-radius: 7px;
  background: #eef1f6;
  color: #737e91;
  font-size: 9px;
}

#ncSheet .nc-split-totals strong {
  margin-top: 2px;
  color: #252d3d;
  font-size: 11px;
}

#ncSheet .nc-split-totals .complete { background: #edf8f1; color: #39724e; }
#ncSheet .nc-split-totals .pending { background: #fff7e7; color: #8a641c; }
#ncSheet .nc-split-totals .exceeded { background: #fff0f0; color: #a84444; }

#confirmacaoSistemaOverlay:has(.nc-payable-confirmation) .nc-confirm-split {
  display: grid;
  grid-template-columns: minmax(110px, .8fr) minmax(0, 1.2fr);
  gap: 10px;
  padding: 9px 0;
}

#confirmacaoSistemaOverlay:has(.nc-payable-confirmation) .nc-confirm-split > span {
  color: #6f7a8c;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .3px;
}

#confirmacaoSistemaOverlay:has(.nc-payable-confirmation) .nc-confirm-split > div > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 3px 0;
}

#confirmacaoSistemaOverlay:has(.nc-payable-confirmation) .nc-confirm-split strong,
#confirmacaoSistemaOverlay:has(.nc-payable-confirmation) .nc-confirm-split b {
  color: #242b3a;
  font-size: 12px;
  font-weight: 600;
  opacity: 1;
  -webkit-text-fill-color: #242b3a;
}

#confirmacaoSistemaOverlay:has(.nc-payable-confirmation) .nc-confirm-split b { white-space: nowrap; }
#confirmacaoSistemaOverlay:has(.nc-payable-confirmation) .nc-confirm-split-total { margin-top: 3px; border-top: 1px solid #e1e5ec; }

/* Conferência do lançamento de contas a pagar, sem afetar outros modais. */
#confirmacaoSistemaOverlay:has(.nc-payable-confirmation) .modal {
  overflow: hidden;
  border-color: #e1e5ed;
  background: #f8f9fc;
  box-shadow: 0 16px 42px rgba(31, 41, 55, .16);
}

#confirmacaoSistemaOverlay:has(.nc-payable-confirmation) .modal-header {
  border-bottom-color: #e4e8f0;
  background: #f8f9fc;
}

#confirmacaoSistemaOverlay:has(.nc-payable-confirmation) .modal-header h3 {
  color: #182033;
  font-size: 16px;
  font-weight: 700;
}

#confirmacaoSistemaOverlay:has(.nc-payable-confirmation) #confirmacaoSistemaSubtitle {
  color: #687386 !important;
  font-size: 12px !important;
}

#confirmacaoSistemaOverlay:has(.nc-payable-confirmation) .modal-body {
  background: #f8f9fc;
}

#confirmacaoSistemaOverlay:has(.nc-payable-confirmation) .nc-confirm-line {
  border-bottom-color: #e4e8f0;
}

#confirmacaoSistemaOverlay:has(.nc-payable-confirmation) .nc-confirm-line span {
  color: #737e91;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .3px;
}

#confirmacaoSistemaOverlay:has(.nc-payable-confirmation) .nc-confirm-line strong {
  color: #252d3d;
  font-size: 13px;
  font-weight: 600;
}

#confirmacaoSistemaOverlay:has(.nc-payable-confirmation) .modal-footer {
  justify-content: flex-end;
  border-top: 1px solid #e1e5ed;
  background: #f3f5f9;
}

#confirmacaoSistemaOverlay:has(.nc-payable-confirmation) #confirmacaoSistemaCancelar {
  border: 1px solid #d5dae4 !important;
  background: #fff !important;
  color: #4b5565 !important;
}

#confirmacaoSistemaOverlay:has(.nc-payable-confirmation) #confirmacaoSistemaCancelar:hover {
  border-color: #c4cad6 !important;
  background: #f8f9fc !important;
}

#confirmacaoSistemaOverlay:has(.nc-payable-confirmation) #confirmacaoSistemaConfirmar {
  border-color: #5b5fef !important;
  background: #5b5fef !important;
  color: #fff !important;
}

#confirmacaoSistemaOverlay:has(.nc-payable-confirmation) #confirmacaoSistemaConfirmar:hover {
  border-color: #4d51d8 !important;
  background: #4d51d8 !important;
}

#confirmacaoSistemaOverlay .confirmacao-sistema-fechar {
  width: 32px !important;
  min-width: 32px !important;
  height: 32px !important;
  min-height: 32px !important;
  padding: 0 !important;
  border-radius: 8px !important;
  font-size: 20px !important;
  line-height: 1 !important;
}

#ncSheet .nc-cat-empty {
  grid-column: 1 / -1;
  padding: 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

#ncSheet .nc-venc-parcelas-row {
  grid-column: span 6 !important;
  grid-row: 3;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

#ncSheet .nc-vencimento-wrap {
  grid-column: 1 / 4 !important;
  grid-row: 4;
  min-width: 0 !important;
}

#ncSheet #ncModoParcelasWrap {
  grid-column: 4 / 7 !important;
  grid-row: 4;
  min-width: 0 !important;
  padding: 13px !important;
  border-radius: 12px !important;
}

#ncSheet .nc-due-days-field,
#ncSheet .nc-installments-field,
#ncSheet .nc-vencimento-wrap {
  display: flex;
  flex-direction: column;
}

#ncSheet .nc-due-days-field > div:first-child,
#ncSheet .nc-installments-field > div:first-child,
#ncSheet .nc-vencimento-wrap .nc-label-action-row {
  display: flex !important;
  min-height: 34px !important;
  margin: 0 0 6px !important;
  align-items: center !important;
}

#ncSheet .nc-installments-field > div:first-child,
#ncSheet .nc-vencimento-wrap .nc-label-action-row {
  justify-content: space-between !important;
}

#ncSheet .nc-sheet-body [style*="text-transform:uppercase"] {
  font-size: clamp(11px, .72vw, 13px) !important;
  line-height: 1.2;
  letter-spacing: .45px !important;
}

#ncSheet .nc-sheet-body input {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: 48px !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 10px 12px !important;
  border-radius: 11px !important;
  font-size: clamp(14px, .95vw, 17px) !important;
}

#ncSheet input[type="date"] {
  text-align: center;
}

#ncSheet input[type="date"]::-webkit-date-and-time-value,
#ncSheet input[type="date"]::-webkit-datetime-edit {
  min-width: 0;
  padding: 0;
  text-align: center;
}

#ncSheet #ncFornSel {
  min-height: 64px;
  border-radius: 12px !important;
}

#ncSheet #ncFornSelNome {
  font-size: clamp(15px, 1vw, 19px) !important;
}

#ncSheet .nc-use-provider-due,
#ncSheet #ncToggleParcelado {
  flex: 0 0 auto;
  white-space: nowrap;
}

#ncSheet .nc-sheet-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

#ncSheet .nc-sheet-actions .btn {
  min-height: 46px !important;
  border-radius: 11px !important;
  font-size: clamp(13px, .82vw, 15px) !important;
}

#ncSheet .nc-sheet-footer {
  flex: 0 0 auto;
  padding: 12px clamp(16px, 2vw, 26px) calc(12px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 -6px 18px rgba(0, 0, 0, .1);
}

#ncSheet .nc-sheet-footer #ncMsg:empty {
  display: none;
}

#ncSheet .nc-sheet-footer #ncMsg:not(:empty) {
  margin: 0 0 8px;
}

@media (max-width: 900px) {
  #ncOverlay.nc-overlay {
    padding: 0;
    align-items: stretch;
  }

  #ncSheet.nc-sheet {
    width: 100% !important;
    max-width: none !important;
    height: 100dvh !important;
    max-height: none !important;
    border: 0 !important;
    border-radius: 0 !important;
  }

  #ncSheet .nc-sheet-body {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    padding: 15px clamp(14px, 3.5vw, 22px) calc(18px + env(safe-area-inset-bottom, 0px)) !important;
  }

  #ncSheet .nc-sheet-body > div,
  #ncSheet .nc-category-section {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
  }

  #ncSheet .nc-valor-compra-row,
  #ncSheet .nc-venc-parcelas-row {
    grid-column: 1 / -1 !important;
  }

  #ncSheet .nc-vencimento-wrap,
  #ncSheet #ncModoParcelasWrap {
    grid-column: span 1 !important;
    grid-row: auto !important;
  }

  #ncSheet #ncCatGrid {
    max-height: none;
  }
}

@media (max-width: 560px) {
  #ncOverlay.nc-overlay {
    width: 100vw !important;
    max-width: 100vw !important;
    padding: 8px !important;
    overflow-x: clip !important;
  }

  #ncSheet.nc-sheet {
    width: calc(100vw - 16px) !important;
    min-width: 0 !important;
    max-width: calc(100vw - 16px) !important;
    height: calc(100dvh - 16px) !important;
    max-height: calc(100dvh - 16px) !important;
    margin: 0 !important;
    border: 1px solid var(--border) !important;
    border-radius: 16px !important;
  }

  #ncSheet > .nc-sheet-head {
    padding: 12px 15px !important;
  }

  #ncSheet .nc-sheet-handle {
    margin-bottom: 9px;
  }

  #ncSheet .nc-sheet-body {
    display: flex !important;
    flex-direction: column !important;
    gap: 11px !important;
    padding: 13px 14px calc(18px + env(safe-area-inset-bottom, 0px)) !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  #ncSheet #ncFornSel{width:100%!important;min-width:0!important;min-height:52px!important;padding:9px 11px!important;gap:8px!important}
  #ncSheet #ncFornSel>div{min-width:0!important;overflow:hidden!important}
  #ncSheet #ncFornSelNome{display:-webkit-box;min-width:0!important;overflow:hidden!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow-wrap:anywhere;font-size:14px!important;line-height:1.25!important}
  #ncSheet #ncFornSel>button{flex:0 0 34px!important;width:34px!important;height:34px!important;padding:0!important}

  #ncSheet .nc-sheet-footer {
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  }

  #ncSheet .nc-valor-compra-row,
  #ncSheet .nc-venc-parcelas-row {
    display: grid !important;
    width: 100% !important;
    gap: 11px !important;
  }

  #ncSheet .nc-valor-compra-row {
    grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr) !important;
    gap: 8px !important;
  }

  #ncSheet .nc-valor-compra-row > div {
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  #ncSheet .nc-venc-parcelas-row {
    grid-template-columns: 1fr !important;
  }

  #ncSheet #ncValor,
  #ncSheet #ncDataCompra {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 7px 8px !important;
  }

  #ncSheet #ncValor {
    font-size: 13px !important;
  }

  #ncSheet #ncDataCompra {
    -webkit-appearance: none;
    appearance: none;
    font-size: clamp(10px, 3.05vw, 13px) !important;
    line-height: 1 !important;
    text-align: center !important;
  }

  #ncSheet #ncDataCompra::-webkit-date-and-time-value,
  #ncSheet #ncDataCompra::-webkit-datetime-edit {
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    text-align: center !important;
  }

  #ncSheet .nc-category-section {
    width: 100% !important;
    padding: 12px !important;
  }

  #ncSheet .nc-category-head {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  #ncSheet .nc-selected-category {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  #ncSheet .nc-split-line {
    grid-template-columns: minmax(0, 1fr) 24px;
  }

  #ncSheet .nc-split-line input {
    grid-column: 1;
    grid-row: 2;
  }

  #ncSheet .nc-split-line > button {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  #ncSheet .nc-split-totals {
    grid-template-columns: 1fr;
  }

  #confirmacaoSistemaOverlay:has(.nc-payable-confirmation) .nc-confirm-split {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  #confirmacaoSistemaOverlay:has(.nc-payable-confirmation) .nc-confirm-split > div > div {
    align-items: flex-start;
  }

  #ncSheet #ncCatGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  #ncSheet #ncCatGrid .nc-cat-card {
    min-height: 56px;
    padding: 8px !important;
    font-size: 10.5px !important;
  }

  #ncSheet #ncCatGrid .nc-cat-card img,
  #ncSheet #ncCatGrid .nc-cat-card svg {
    flex: 0 0 27px;
    width: 27px !important;
    height: 27px !important;
  }

  #ncSheet .nc-vencimento-wrap,
  #ncSheet #ncModoParcelasWrap {
    width: 100% !important;
  }

  #ncSheet .nc-sheet-body input {
    height: 46px !important;
    min-height: 46px !important;
    font-size: 14px !important;
  }

  #ncSheet .nc-vencimento-wrap .nc-label-action-row {
    gap: 8px;
  }

  #ncSheet .nc-use-provider-due {
    max-width: 46%;
    padding-inline: 8px !important;
    font-size: 10px !important;
  }
}

@media (max-width: 390px) {
  #ncSheet .nc-valor-compra-row{grid-template-columns:1fr!important}
}

@media (max-width: 370px) {
  #ncSheet .nc-sheet-body {
    padding-inline: 10px !important;
  }

  #ncSheet #ncCatGrid {
    grid-template-columns: 1fr !important;
  }

  #ncSheet .nc-valor-compra-row {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }

  #ncSheet #ncValor,
  #ncSheet #ncDataCompra {
    padding-inline: 6px !important;
  }

  #ncSheet .nc-sheet-actions {
    grid-template-columns: 1fr !important;
  }

  #ncSheet .nc-sheet-actions #ncBtnCancelar {
    grid-column: 1 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #ncOverlay *,
  #ncOverlay *::before,
  #ncOverlay *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
