/* Transações: leitura de extrato com filtros explícitos e ações persistentes. */
body.trans-skeu { --sk-ink-dim: #526174; background: #f3f5f7; }
body.trans-skeu .app-body { background: #f3f5f7; }
body.trans-skeu .main { max-width: 1400px; padding: 32px; background: transparent; }
body.trans-skeu .main > *, body.trans-skeu .resumo-card { animation: none; }
body.trans-skeu .page-header { gap: 20px; align-items: center; margin-bottom: 28px; }
body.trans-skeu .page-title { font-family: inherit; font-size: 30px; font-weight: 700; letter-spacing: -1px; text-shadow: none; }
body.trans-skeu .page-sub { margin-top: 7px; color: #526174; line-height: 1.5; }
body.trans-skeu .page-header__actions { display: flex; gap: 8px; flex-wrap: wrap; }
body.trans-skeu .btn { min-height: 42px; border-radius: 8px; box-shadow: none; white-space: nowrap; }
body.trans-skeu .btn--primary { background: var(--primary); color: white; }
body.trans-skeu .btn--primary:hover { background: var(--primary-h); box-shadow: none; }
body.trans-skeu .btn--ghost { background: white; border: 1px solid #cbd5df; color: #344457; }
body.trans-skeu .btn--ghost:hover { background: #edf3f8; }
body.trans-skeu .month-bar { margin-bottom: 20px; gap: 10px; }
body.trans-skeu .month-nav { padding: 4px; background: white; border: 1px solid #dce3ea; border-radius: 9px; box-shadow: none; }
body.trans-skeu .month-nav__label { border: 0; background: transparent; font: 600 15px/1.5 'Inter', sans-serif; padding: 6px 12px; }
body.trans-skeu :is(.month-nav__btn, .month-today) { min-height: 36px; background: white; border: 1px solid #dce3ea; border-radius: 7px; box-shadow: none; color: #344457; }
body.trans-skeu :is(.month-nav__btn, .month-today):hover { background: #edf3f8; border: 1px solid #cbd5df; box-shadow: none; }
body.trans-skeu .resumo-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; background: white; border: 1px solid #dce3ea; border-radius: 12px; margin-bottom: 24px; overflow: hidden; }
body.trans-skeu .resumo-card { min-width: 0; padding: 24px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
body.trans-skeu .resumo-card + .resumo-card { border-left: 1px solid #e2e8f0; }
body.trans-skeu .resumo-card:hover { transform: none; box-shadow: none; }
body.trans-skeu .resumo-card__bar { display: none; }
body.trans-skeu .resumo-card__lbl { font: 500 12px/1.5 'Inter', sans-serif; letter-spacing: 0; text-transform: none; color: #526174; }
body.trans-skeu .resumo-card__val { font-size: clamp(22px, 2.4vw, 32px); font-weight: 650; letter-spacing: -.8px; margin-top: 8px; overflow-wrap: anywhere; }
body.trans-skeu .resumo-card__val small { color: #526174; font-size: 14px; margin-right: 5px; }
body.trans-skeu .rc-saldo { background: #f8fafc; }
body.trans-skeu .rc-saldo .resumo-card__val.neg { color: var(--danger); }
body.trans-skeu .filtros-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 28px; }
body.trans-skeu .trans-filter { min-width: 0; display: flex; flex-direction: column; gap: 7px; }
body.trans-skeu .trans-filter > span { font-size: 12px; font-weight: 600; color: #526174; }
body.trans-skeu .filtro-sel { width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px; border: 1px solid #cbd5df; border-radius: 8px; background: white; box-shadow: none; color: #344457; font-size: 14px; }
body.trans-skeu .filtro-sel:focus { box-shadow: none; }
body.trans-skeu .trans-day { margin-bottom: 26px; }
body.trans-skeu .trans-day__head { padding: 0 2px 10px; gap: 12px; flex-wrap: wrap; }
body.trans-skeu .trans-day__date { font: 600 13px/1.5 'Inter', sans-serif; text-transform: none; letter-spacing: 0; }
body.trans-skeu .trans-day__sum { font-weight: 500; color: #526174; }
body.trans-skeu .trans-list { background: white; border: 1px solid #dce3ea; border-radius: 10px; box-shadow: none; }
body.trans-skeu .trans-row { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto 80px; padding: 18px 20px; gap: 14px; border-bottom: 1px solid #e8edf2; box-shadow: none; }
body.trans-skeu .trans-row:hover { background: #f8fafc; transform: none; }
body.trans-skeu .trans-row.pendente { opacity: 1; }
body.trans-skeu .trans-icon { width: 38px; height: 38px; border-radius: 9px; box-shadow: none; }
body.trans-skeu .trans-icon--receita { background: #e9f5ed; color: #166534; }
body.trans-skeu .trans-icon--despesa { background: #fceeed; color: #b42318; }
body.trans-skeu .trans-icon--transferencia { background: #eaf2f8; color: #0d5b8f; }
body.trans-skeu .trans-icon--caixinha { background: #f0ebfa; color: #6d28d9; }
body.trans-skeu .trans-desc { white-space: normal; overflow: visible; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
body.trans-skeu .trans-edit { max-width: 100%; padding: 0; border: 0; background: transparent; text-align: left; color: #1e293b; font: 600 14px/1.5 'Inter', sans-serif; cursor: pointer; overflow-wrap: anywhere; }
body.trans-skeu .trans-edit:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
body.trans-skeu .trans-sub { color: #526174; line-height: 1.6; margin-top: 4px; overflow-wrap: anywhere; }
body.trans-skeu .trans-pend-tag { font: 500 10px/1.5 'Inter', sans-serif; text-transform: none; letter-spacing: 0; background: #fff3df; color: #92400e; }
body.trans-skeu .trans-amount { font-size: 15px; font-weight: 650; white-space: nowrap; }
body.trans-skeu .trans-actions { opacity: 1; gap: 8px; }
body.trans-skeu .trans-act { width: 36px; height: 36px; border: 1px solid transparent; background: transparent; box-shadow: none; color: #526174; }
body.trans-skeu .trans-act:hover { background: #eaf2f8; border: 1px solid #cbd5df; box-shadow: none; }
body.trans-skeu .trans-act--danger:hover { background: #fceeed; color: #b42318; }
body.trans-skeu :is(.dia-filtro, .conta-saldo-bar, .empty-state) { box-shadow: none; border-radius: 10px; border: 1px solid #dce3ea; background: white; }
body.trans-skeu .conta-saldo-bar { border-left: 3px solid var(--csb-cor); }
body.trans-skeu .dia-filtro__clear { background: #edf3f8; color: var(--primary); box-shadow: none; }
body.trans-skeu .main :is(button, select):focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
@media (max-width: 1000px) {
  body.trans-skeu .page-header { align-items: flex-start; flex-direction: column; }
  body.trans-skeu .trans-row { grid-template-columns: 38px minmax(0, 1fr) auto; }
  body.trans-skeu .trans-actions { grid-column: 2 / -1; justify-content: flex-end; }
}
@media (max-width: 560px) {
  body.trans-skeu .main { padding: 24px 16px 88px; }
  body.trans-skeu .resumo-cards { grid-template-columns: 1fr; }
  body.trans-skeu .resumo-card { padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
  body.trans-skeu .resumo-card + .resumo-card { border-left: 0; border-top: 1px solid #e2e8f0; }
  body.trans-skeu .resumo-card__val { margin: 0; font-size: 23px; }
  body.trans-skeu .filtros-row { grid-template-columns: 1fr; gap: 12px; }
  body.trans-skeu .filtro-sel { font-size: 16px; }
  body.trans-skeu .trans-row { grid-template-columns: 32px minmax(0, 1fr); padding: 16px; gap: 10px; }
  body.trans-skeu .trans-icon { width: 32px; height: 32px; align-self: start; }
  body.trans-skeu .trans-amount { grid-column: 2; text-align: left; }
  body.trans-skeu .trans-actions { grid-column: 2; margin-top: -2px; }
}
@media (prefers-reduced-motion: reduce) {
  body.trans-skeu .main * { animation: none !important; transition: none !important; }
}
