/* NFC Menu — Atualização 67
   Editor de grupos: tema noturno completo, acessível e coerente com a gestão.
   Substitui a regra da atualização 66 que impunha color-scheme: light.
*/
#nfc46-editor-dialog.nfc46-dialog {
  color-scheme: dark !important;
  background: #142940 !important;
  color: #f4f8ff !important;
  border: 1px solid #526d89 !important;
  box-shadow: 0 26px 80px rgb(1 9 21 / 66%) !important;
}
#nfc46-editor-dialog.nfc46-dialog::backdrop {
  background: rgb(3 13 27 / 78%) !important;
  backdrop-filter: blur(4px);
}
#nfc46-editor-dialog .nfc46-dialog-shell,
#nfc46-editor-dialog #nfc46-editor-body {
  background: #142940 !important;
  color: #f4f8ff !important;
}
#nfc46-editor-dialog .nfc46-dialog-head h2,
#nfc46-editor-dialog .nfc46-option-header,
#nfc46-editor-dialog .nfc46-editor-label,
#nfc46-editor-dialog label {
  color: #f4f8ff !important;
}
#nfc46-editor-dialog .nfc46-dialog-head p,
#nfc46-editor-dialog .nfc46-option-header small {
  color: #cad7e8 !important;
}
#nfc46-editor-dialog :is(input:not([type="checkbox"]), select) {
  box-sizing: border-box;
  min-width: 0;
  min-height: 46px;
  border: 1.5px solid #617e9c !important;
  border-radius: 11px !important;
  background: #0c1d32 !important;
  color: #f7faff !important;
  -webkit-text-fill-color: #f7faff !important;
  caret-color: #ffd17c !important;
  box-shadow: none !important;
  opacity: 1 !important;
}
#nfc46-editor-dialog :is(input, select)::placeholder {
  color: #b5c7dc !important;
  -webkit-text-fill-color: #b5c7dc !important;
  opacity: 1 !important;
}
#nfc46-editor-dialog :is(input, select):focus,
#nfc46-editor-dialog :is(input, select):focus-visible {
  outline: 2px solid #ffb34e !important;
  outline-offset: 2px !important;
  border-color: #ffc36f !important;
  background: #10263e !important;
}
#nfc46-editor-dialog select option {
  background: #12283f !important;
  color: #f7faff !important;
}
#nfc46-editor-dialog .nfc46-option-row {
  grid-template-columns: minmax(0, 1fr) 124px 40px;
  gap: 9px;
}
#nfc46-editor-dialog .nfc46-option-money { position: relative; min-width: 0; }
#nfc46-editor-dialog .nfc46-option-money > span {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 11px;
  transform: translateY(-50%);
  margin: 0;
  line-height: 1;
  color: #ffd17c !important;
  font-weight: 850;
  pointer-events: none;
}
#nfc46-editor-dialog .nfc46-option-money > input {
  padding-left: 43px !important;
  padding-right: 12px !important;
  text-align: right;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
#nfc46-editor-dialog input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}
#nfc46-editor-dialog input[type="number"]::-webkit-inner-spin-button,
#nfc46-editor-dialog input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
#nfc46-editor-dialog .nfc46-option-row > button[data-remove-option] {
  min-width: 40px;
  min-height: 46px;
  height: 46px !important;
  border: 1px solid #ba6b83 !important;
  border-radius: 10px !important;
  background: #42263a !important;
  color: #ffd4dc !important;
  font-size: 22px !important;
  font-weight: 850 !important;
}
#nfc46-editor-dialog .nfc46-option-row > button[data-remove-option]:hover {
  background: #5b2c44 !important;
  border-color: #e59aaf !important;
}
#nfc46-editor-dialog #nfc46-add-option {
  min-height: 47px;
  padding: 11px;
  border-radius: 11px !important;
  border: 1.5px dashed #7896b7 !important;
  background: #203d5b !important;
  color: #f2f7ff !important;
  font-size: 13px;
  font-weight: 800;
}
#nfc46-editor-dialog #nfc46-add-option:hover {
  border-color: #abc6e3 !important;
  background: #294968 !important;
}
#nfc46-editor-dialog .nfc46-dialog-footer {
  background: #0e2136 !important;
  border-top: 1px solid #4c6480 !important;
}
#nfc46-editor-dialog #nfc46-editor-cancel,
#nfc46-editor-dialog #nfc46-editor-close {
  background: #1d3855 !important;
  color: #f3f8ff !important;
  border: 1px solid #6984a0 !important;
}
#nfc46-editor-dialog #nfc46-editor-cancel:hover,
#nfc46-editor-dialog #nfc46-editor-close:hover {
  background: #294c70 !important;
}
#nfc46-editor-dialog #nfc46-save-group {
  background: #e29424 !important;
  border: 1px solid #edab49 !important;
  color: #122238 !important;
  font-weight: 850 !important;
}
#nfc46-editor-dialog #nfc46-save-group:hover { background: #f7ab3b !important; }
#nfc46-editor-dialog button:focus-visible {
  outline: 3px solid #ffc36f !important;
  outline-offset: 2px !important;
}
@media (max-width: 600px) {
  #nfc46-editor-dialog .nfc46-option-row { grid-template-columns: minmax(0, 1fr) 105px 40px; gap: 6px; }
  #nfc46-editor-dialog .nfc46-option-money > input { padding-left: 37px !important; }
  #nfc46-editor-dialog .nfc46-option-money > span { left: 7px; }
}
@media (max-width: 365px) {
  #nfc46-editor-dialog .nfc46-option-row { grid-template-columns: minmax(0, 1fr) 91px 36px; gap: 5px; }
  #nfc46-editor-dialog .nfc46-option-money > input { padding-left: 34px !important; }
  #nfc46-editor-dialog .nfc46-option-money > span { left: 6px; }
  #nfc46-editor-dialog .nfc46-option-row > button[data-remove-option] { min-width: 36px; }
}
