/* ===================================================================
   AUDITORIA DE CONTRASTE — LIGHT MODE (dark já estava ok)
   Direction B: hero agora é flat/neutro (não mais verde), ownership sem matiz.
   Restam aqui só os resgates de legibilidade puros (--usd, count/ícone).
   =================================================================== */
/* USD: mesma família do acento nos DOIS temas (dark deriva de --accent em 08-modals-mobile.css;
   era verde só no claro — auditoria 2026-07-07). --accent-text (#0066d6) passa AA no card branco. */
:root[data-theme="light"] { --usd: var(--accent-text); --usd-bg: color-mix(in oklab, var(--accent) 9%, transparent); --usd-strong: color-mix(in oklab, var(--accent) 30%, transparent); }
/* gain/neg caem no --gain/--loss semânticos (hero agora é neutro, não verde) */
/* Chips acento-sobre-soft (Orçamento / Categorias): #007aff no fundo soft lia 2.97:1 no
   claro — texto desce pro azul-texto AA da mesma família (auditoria 2026-07-07). */
:root[data-theme="light"] .btn-budget { color: var(--accent-text); }
/* Direction B: ownership é rótulo, não matiz. Os chips de dono (antes William ciano /
   Flavia rosa / Louise verde) ficam neutros no light — texto ink-2, legível sobre o
   card, sem identidade de cor por pessoa. (Os .exp-owner-opt do modal saíram: o
   segmented unificado já é neutro nos dois temas — auditoria 2026-07-07.) */
:root[data-theme="light"] .exp-owner-chip.exp-owner-william { color: var(--ink-2) !important; }
:root[data-theme="light"] .exp-owner-chip.exp-owner-flavia  { color: var(--ink-2) !important; }
:root[data-theme="light"] .exp-owner-chip.exp-owner-louise  { color: var(--ink-2) !important; }


/* Fechar do modal de cotação FX — era 20x20 inline, o menor alvo de toque do app */
.fx-modal-close { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; display: grid; place-items: center; background: none; border: none; color: var(--ink-3); font-size: 20px; line-height: 1; cursor: pointer; border-radius: 9px; transition: all .15s ease; }
.fx-modal-close:hover { background: var(--bg-elevated-2); color: var(--ink); }

.fx-extra {
  font-family: 'Geist Mono', monospace;
  font-size: 10px; color: var(--usd); margin-top: 4px;
  display: flex; gap: var(--sp-2); align-items: center;
}
.fx-edit-btn {
  width: 30px; height: 30px; border-radius: 8px;
  background: transparent; border: 1px solid rgba(255,255,255,0.08);
  color: var(--ink-3); cursor: pointer;
  display: grid; place-items: center;
  flex-shrink: 0; justify-self: end; align-self: center;
  transition: all .18s ease;
}
.fx-edit-btn:hover { border-color: var(--usd-strong); color: var(--usd); }
.fx-add-hint {
  display: block; width: 100%;
  background: transparent; border: 1px dashed var(--usd-strong);
  color: var(--usd); font-size: var(--fs-caption); padding: var(--sp-3);
  border-radius: 12px; margin-top: 10px; cursor: pointer;
  font-family: 'Inter', sans-serif; font-weight: 500;
  transition: all .15s ease;
}
.fx-add-hint:hover { background: var(--usd-bg); }
.fx-modal-rate {
  margin-top: 14px; font-size: var(--fs-micro); color: var(--text-dim);
  font-family: 'Geist Mono', monospace;
  padding: 10px 12px; background: var(--usd-bg);
  border: 1px solid var(--usd-strong); border-radius: 10px;
}
.fx-modal-rate b { color: var(--usd); font-weight: 700; }
.fx-modal-rate-date { display: block; font-size: 9px; color: var(--text-faint); margin-top: 3px; letter-spacing: .03em; }
