/* Financiamentos: contratos e parcelas no mesmo tema claro das demais abas. */
body.financ-skeu { --sk-ink-dim: #526174; background: #f3f5f7; }
body.financ-skeu .app-body { background: #f3f5f7; }
body.financ-skeu .main { max-width: 1400px; padding: 32px; background: transparent; }
body.financ-skeu .main > * { animation: none; }
body.financ-skeu .page-header { align-items: center; gap: 20px; margin-bottom: 28px; }
body.financ-skeu .page-title { font-family: inherit; font-size: 30px; font-weight: 700; letter-spacing: -1px; text-shadow: none; white-space: normal; overflow-wrap: anywhere; }
body.financ-skeu .page-sub { color: #526174; margin-top: 7px; line-height: 1.5; }
body.financ-skeu .btn { min-height: 42px; border-radius: 8px; box-shadow: none; white-space: nowrap; }
body.financ-skeu .btn--primary { background: var(--primary); color: white; }
body.financ-skeu .btn--primary:hover { background: var(--primary-h); box-shadow: none; }
body.financ-skeu .btn--ghost { background: white; color: #344457; border: 1px solid #cbd5df; box-shadow: none; }
body.financ-skeu .btn--ghost:hover { background: #edf3f8; box-shadow: none; }
body.financ-skeu .financ-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
body.financ-skeu .financ-card { position: relative; min-width: 0; min-height: 290px; padding: 24px; gap: 20px; background: white; border: 1px solid #dce3ea; border-radius: 12px; box-shadow: 0 2px 3px rgb(15 23 42 / 2%); }
body.financ-skeu .financ-card:hover { transform: none; border-color: #aebfce; box-shadow: 0 3px 10px rgb(15 23 42 / 6%); }
body.financ-skeu .financ-card:active { box-shadow: none; }
body.financ-skeu .financ-badge { font: 600 11px/1.5 'Inter', sans-serif; text-transform: none; letter-spacing: 0; border-radius: 5px; background: #eaf2f8; color: #0d5b8f; box-shadow: none; }
body.financ-skeu .financ-card__title { font-size: 19px; line-height: 1.4; font-weight: 650; }
body.financ-skeu .financ-open { border: 0; background: transparent; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; overflow-wrap: anywhere; }
body.financ-skeu .financ-open::after { content: ''; position: absolute; inset: 0; border-radius: 12px; }
body.financ-skeu .financ-open:focus-visible { outline: none; }
body.financ-skeu .financ-open:focus-visible::after { outline: 3px solid var(--primary); outline-offset: 3px; }
body.financ-skeu .financ-card__meta { color: #526174; font-size: 12px; line-height: 1.6; }
body.financ-skeu .financ-card__title + .financ-card__meta { margin-top: 5px; }
body.financ-skeu .financ-progress { height: 5px; background: #e7edf2; box-shadow: none; }
body.financ-skeu .financ-progress > span { background: var(--primary); box-shadow: none; }
body.financ-skeu .financ-card__stats { gap: 16px; }
body.financ-skeu .financ-stat { padding: 0; background: transparent; border-radius: 0; box-shadow: none; min-width: 0; }
body.financ-skeu .financ-stat small { color: #526174; font-size: 12px; margin-bottom: 7px; }
body.financ-skeu .financ-stat strong { font-size: 23px; font-weight: 650; letter-spacing: -.6px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
body.financ-skeu .financ-card .financ-card__stats { display: flex; flex-direction: column; gap: 12px; }
body.financ-skeu .financ-card .financ-stat { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
body.financ-skeu .financ-card .financ-stat small { margin: 0; }
body.financ-skeu .financ-card .financ-stat strong { text-align: right; }
body.financ-skeu .financ-card .financ-stat + .financ-stat strong { font-size: 18px; color: #526174; }
body.financ-skeu .financ-card__footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid #e2e8f0; margin-top: auto; }
body.financ-skeu .financ-card__footer .financ-card__meta > span { display: block; }
body.financ-skeu .financ-open-hint { color: var(--primary); font-size: 12px; font-weight: 600; white-space: nowrap; }
body.financ-skeu .main > .financ-card__stats { padding: 24px; background: white; border: 1px solid #dce3ea; border-radius: 12px; gap: 24px; }
body.financ-skeu .main > .financ-card__stats strong { font-size: 21px; }
body.financ-skeu .parc-list { border: 1px solid #dce3ea; border-radius: 12px; background: white; box-shadow: none; }
body.financ-skeu .parc-row { padding: 18px 20px; border-color: #e8edf2; box-shadow: none; }
body.financ-skeu .parc-row--head { background: #f8fafc; padding-top: 12px; padding-bottom: 12px; }
body.financ-skeu .parc-row--head > div { font-size: 12px; text-transform: none; letter-spacing: 0; color: #526174; font-weight: 600; }
body.financ-skeu .parc-row__venc { line-height: 1.6; overflow-wrap: anywhere; }
body.financ-skeu .parc-row__venc small { font-size: 12px; color: #526174; }
body.financ-skeu .parc-row__valor { font-size: 15px; font-variant-numeric: tabular-nums; line-height: 1.8; }
body.financ-skeu .parc-status { display: inline-block; padding: 2px 7px; border-radius: 5px; font-size: 10px; font-weight: 600; box-shadow: none; }
body.financ-skeu .parc-row__btn { min-height: 38px; padding: 8px 14px; border: 1px solid transparent; background: var(--primary); box-shadow: none; }
body.financ-skeu .parc-row__btn:hover { background: var(--primary-h); }
body.financ-skeu .parc-row__btn--undo { background: white; border-color: #cbd5df; color: #526174; }
body.financ-skeu .parc-row__btn--undo:hover { background: #edf3f8; }
body.financ-skeu .empty-state { background: white; border: 1px solid #dce3ea; border-radius: 12px; box-shadow: none; }
body.financ-skeu .main button:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
@media (max-width: 1100px) and (min-width: 641px) {
  body.financ-skeu .parc-row { grid-template-columns: 24px minmax(100px, 1fr) 100px 75px 75px 80px; padding: 14px 12px; gap: 8px; }
}
@media (max-width: 560px) {
  body.financ-skeu .main { padding: 24px 16px 88px; }
  body.financ-skeu .page-header { align-items: flex-start; flex-direction: column; }
  body.financ-skeu .page-title { font-size: 26px; }
  body.financ-skeu .financ-card { padding: 20px; }
  body.financ-skeu .financ-stat strong { font-size: 21px; }
  body.financ-skeu .financ-card__footer { flex-wrap: wrap; }
  body.financ-skeu .main > .financ-card__stats { padding: 20px; gap: 20px; }
  body.financ-skeu .parc-row { padding: 16px 12px; grid-template-columns: 20px minmax(0, 1fr) auto auto; }
}
@media (prefers-reduced-motion: reduce) {
  body.financ-skeu .main * { animation: none !important; transition: none !important; }
}
