/* V6.4.0 — accents semânticos por grupo, partilhados por toda a aplicação. */
.gf-themed{--gf-accent:#667085;--gf-accent-soft:#f2f4f7;--gf-accent-surface:#f9fafb;--gf-accent-text:#475467}
.gf-themed .gf-icon{color:var(--gf-accent)}

@media(max-width:820px){
  /* Categorias */
  #categories .gf-cat-group.gf-themed{border-color:color-mix(in srgb,var(--gf-accent) 18%,#eaecf0)}
  #categories .gf-cat-group.gf-themed .gf-cat-group-head{background:var(--gf-accent-surface)}
  #categories .gf-cat-group.gf-themed .gf-cat-group-icon{background:var(--gf-accent-soft);color:var(--gf-accent)}
  :is(#categories .gf-cat-group-chip.gf-themed,#rules .gf-rule-group-chip.gf-themed){border-color:color-mix(in srgb,var(--gf-accent) 18%,#eaecf0)}
  :is(#categories .gf-cat-group-chip.gf-themed .gf-cat-chip-icon,#rules .gf-rule-group-chip.gf-themed .gf-rule-chip-icon){background:var(--gf-accent-soft);color:var(--gf-accent)}
  :is(#categories .gf-cat-group-chip.gf-themed.active,#rules .gf-rule-group-chip.gf-themed.active){background:var(--gf-accent-soft);border-color:var(--gf-accent);color:var(--gf-accent-text)}
  #categories .gf-cat-item.gf-themed{box-shadow:inset 3px 0 0 color-mix(in srgb,var(--gf-accent) 72%,transparent)}
  #categories .gf-cat-item.gf-themed .gf-cat-item-icon{background:var(--gf-accent-soft);color:var(--gf-accent)}

  /* Movimentos */
  #transactions tr.gf-themed{position:relative;box-shadow:inset 3px 0 0 var(--gf-accent),0 1px 2px rgba(16,24,40,.04)}
  #transactions tr.gf-themed td:nth-child(4)::before{color:var(--gf-accent-text)}
  #transactions tr.gf-themed .tx-cat{border-color:color-mix(in srgb,var(--gf-accent) 26%,#d0d5dd);background:var(--gf-accent-surface)}

  /* Dashboard */
  #dashboard .progress-row.gf-themed{border-radius:10px;padding-left:8px!important;padding-right:8px!important;background:linear-gradient(90deg,var(--gf-accent-surface),transparent 72%)}
  #dashboard .progress-row.gf-themed .progress-label strong{color:var(--gf-accent-text)}
  #dashboard .gf-group-summary.gf-themed{border-radius:12px;padding-left:10px!important;padding-right:10px!important;background:var(--gf-accent-surface);box-shadow:inset 3px 0 0 var(--gf-accent)}
  #dashboard .gf-group-summary.gf-themed>div:first-child strong{color:var(--gf-accent-text)}
}
