/* v49 — Movimento do caixa mais claro (Caixa > Movimento) */
.amv-hint { margin: .15rem 0 0; font-size: .75rem; color: var(--ink-soft, #5d4a6e); min-height: 1em; }
.amv-pag { margin-bottom: 1rem; }
.amv-pag__l { display: flex; flex-wrap: wrap; gap: .4rem; }
.amv-pag__c { padding: .35rem .7rem; border: 1px solid var(--line, #ece4f3); border-radius: 10px; font-size: .88rem; }
.amv-v { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto 96px; gap: .75rem; align-items: start; padding: .7rem .2rem; border-bottom: 1px solid var(--line, #f1ebf6); font-size: .9rem; }
.amv-v__h b { display: block; font-size: .95rem; }
.amv-v__h small, .amv-v__it small, .amv-dim { color: var(--ink-soft, #5d4a6e); }
.amv-v__h small { font-size: .72rem; }
.amv-v__it { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.amv-v__it > span { overflow-wrap: anywhere; }
.amv-v__it b { font-weight: 600; }
.amv-v__tot { text-align: right; font-size: .95rem; }
.amv-fp { justify-self: start; padding: .15rem .55rem; border-radius: 8px; background: #e5edff; color: #1d4ed8; font-size: .78rem; font-weight: 600; white-space: nowrap; }
.amv-fp--din { background: #e8f6ee; color: #17703f; }
.amv-fp--fiado { background: #fdf0d9; color: #8a4b08; }
@media (max-width: 576px) {
  .amv-v { grid-template-columns: minmax(0, 1fr) auto; gap: .3rem .6rem; }
  .amv-v__h { display: flex; gap: .5rem; align-items: baseline; }
  .amv-v__it { grid-column: 1 / -1; grid-row: 2; }
  .amv-fp { grid-column: 1; grid-row: 3; }
  .amv-v__tot { grid-column: 2; grid-row: 1; }
}

/* v50 — Fechamento do caixa (prefixo afc-) */
.afc-sub { margin: -.25rem 0 1rem; font-size: .85rem; color: var(--ink-soft, #5d4a6e); }
.afc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 1.25rem; align-items: start; }
.afc-esq, .afc-dir { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.afc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.afc-card { background: var(--surface-alt, #f7f4fa); border-radius: 14px; padding: .7rem .85rem; display: flex; flex-direction: column; }
.afc-card span { font-size: .8rem; color: var(--ink-soft, #5d4a6e); }
.afc-card b { font-size: 1.1rem; }
.afc-verde { color: #17703f; }
.afc-laranja { color: #a35b00; }
.afc-box { border: 1px solid var(--line, #ece4f3); border-radius: 16px; padding: 1rem; display: flex; flex-direction: column; gap: .75rem; }
.afc-h { font-family: Poppins, sans-serif; font-size: 1rem; font-weight: 700; margin: 0; }
.afc-fp { display: flex; flex-direction: column; gap: .3rem; }
.afc-fp__l { display: flex; justify-content: space-between; gap: .5rem; font-size: .9rem; }
.afc-dim { color: var(--ink-soft, #5d4a6e); font-weight: 400; }
.afc-bar { height: 8px; border-radius: 4px; background: #efe6f8; overflow: hidden; }
.afc-bar__f { height: 8px; border-radius: 4px; background: #7c2fcf; }
.afc-bar__f--din { background: #17703f; }
.afc-sem { font-size: .82rem; margin: 0; }
.afc-tot { display: flex; justify-content: space-between; padding-top: .6rem; border-top: 1px solid var(--line, #f1ebf6); }
.afc-obs { display: flex; flex-direction: column; gap: .35rem; font-size: .85rem; font-weight: 600; margin: 0; }
.afc-gav { background: #f3e8ff; border-radius: 18px; padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: .5rem; }
.afc-lin { display: flex; justify-content: space-between; font-size: .9rem; }
.afc-lin--tot { padding-top: .5rem; margin-top: .1rem; border-top: 1px solid #ddc9f2; align-items: baseline; }
.afc-lin--tot b:last-child { font-size: 1.25rem; }
.afc-cont { display: flex; flex-direction: column; gap: .35rem; font-size: .85rem; font-weight: 700; margin: .4rem 0 0; }
.afc-cont .form-control { height: 52px; border: 2px solid #7c2fcf; border-radius: 12px; font-size: 1.35rem; font-weight: 700; background: #fff; }
.afc-aviso { display: flex; gap: .65rem; align-items: center; padding: .7rem .8rem; border-radius: 12px; }
.afc-aviso i { font-size: 1.35rem; }
.afc-aviso b { display: block; font-size: .95rem; }
.afc-aviso small { font-size: .78rem; }
.afc-aviso--vazio { background: #fff; color: #4a2a66; }
.afc-aviso--ok { background: #e8f6ee; color: #17703f; }
.afc-aviso--sobra { background: #e5edff; color: #1d4ed8; }
.afc-aviso--falta { background: #fdecee; color: #a3243a; }
.afc-nota { margin: 0; padding: .75rem .85rem; border: 1px solid var(--line, #ece4f3); border-radius: 14px; font-size: .82rem; color: var(--ink-soft, #5d4a6e); }
.afc-nota b { color: var(--ink, #261238); }
.btn.afc-fechar { background: #c2273d; border-color: #c2273d; color: #fff; font-weight: 700; }
.btn.afc-fechar:hover, .btn.afc-fechar:focus-visible { background: #a01f33; border-color: #a01f33; color: #fff; }
@media (max-width: 760px) {
  .afc-grid { grid-template-columns: 1fr; }
  .afc-dir { order: -1; }
}
