/* Nexo Finanças — polish v78: only text that users type, selected icons, and
   shadow breathing room in the mobile filters. Profile is intentionally excluded. */

/* Text users enter follows the mobile "Buscar transações" field (#344255).
   Placeholders remain their original lighter tint. */
#app#app :is(
 input:not([type="hidden"],[type="file"],[type="checkbox"],[type="radio"],[type="range"],[type="color"],[type="button"],[type="submit"],[type="reset"]),
 textarea,[contenteditable="true"]
):not(:is(.profile-settings *, .nexo-profile-bottom-sheet *, #profileForm *)),
#form#form :is(
 input:not([type="hidden"],[type="file"],[type="checkbox"],[type="radio"],[type="range"],[type="color"],[type="button"],[type="submit"],[type="reset"]),
 textarea,[contenteditable="true"]
),
#mobile-filters-dialog #mobile-filters-form :is(input:not([type="hidden"],[type="file"],[type="checkbox"],[type="radio"],[type="range"],[type="color"],[type="button"],[type="submit"],[type="reset"]),textarea) {
 color:var(--text-primary)!important;
 caret-color:#344255;
}
/* Placeholders are intentionally untouched to retain each field's existing tint. */

/* The notice bell and the bare privacy eye match the mobile filter icon. */
#nexo-notice-bell > svg.nexo-icon,
.shell > header #privacy > svg.nexo-icon,
#app#app :is(.overview-privacy,.analytics-toolbar>.mobile-privacy,.transaction-page-heading .mobile-privacy,.tx-desktop-privacy) > svg.nexo-icon {
 color:var(--text-secondary)!important;
 stroke:currentColor!important;
}
.shell > header .cloud-status[data-state="synced"] .cloud-status-label { color:var(--text-secondary)!important; }

/* Mobile filter fields: keep the existing glass effect and soft shadows.
   Extra scroll-area gutters prevent abrupt clipping at the edges. */
@media(max-width:800px){
 #mobile-filters-dialog #mobile-filters-form {
  box-sizing:border-box;
  padding:14px 14px 22px!important;
  margin:-14px -14px -22px!important;
  max-height:calc(100dvh - 116px);
  overflow-y:auto;
  overflow-x:hidden;
  scrollbar-width:none;
 }
 #mobile-filters-dialog #mobile-filters-form::-webkit-scrollbar {display:none}
}
