/* ═══════════════════════════════════════
   EXTRATO
═══════════════════════════════════════ */
.ext-cliente-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1.5px dashed var(--rule2);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  padding: 8px 0;
  margin-bottom: 18px;
  outline: none;
  transition: border-color 0.15s;
}
.ext-cliente-input:focus { border-bottom-color: var(--brand); border-bottom-style: solid; }
.ext-cliente-input::placeholder { color: var(--ink3); font-weight: 400; }

/* Recibo — fundo branco fixo pra impressão/captura, cores hex diretas
   (nada de oklch aqui: ver limparStylesheetOklch em extrato.js). */
#extrato-render {
  background: #ffffff;
  color: #1a1a2e;
  border-radius: 18px;
  padding: 30px;
  font-family: var(--font-sans);
  box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 10px 30px rgba(0,0,0,.08);
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
  border: 1px solid rgba(0,0,0,.05);
}
.ext-logo { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: #1a1a2e; margin-bottom: 2px; }
.ext-subtitle { font-size: 12px; color: #6b7280; margin-bottom: 24px; }
.ext-meta { display: flex; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.ext-meta-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: #9ca3af; margin-bottom: 3px; }
.ext-meta-val { font-size: 15px; font-weight: 600; color: #1a1a2e; }
.ext-divider { border: none; border-top: 1px dashed #d1d5db; margin: 18px 0; }

.ext-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ext-table { width: 100%; min-width: 460px; border-collapse: collapse; font-size: 13px; }
.ext-table th { padding: 8px 10px; text-align: left; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #9ca3af; border-bottom: 1px solid #e5e7eb; white-space: nowrap; }
.ext-table td { padding: 11px 10px; border-bottom: 1px solid #f3f4f6; color: #374151; white-space: nowrap; }
.ext-table td.mono { font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 500; }
.ext-table tr.linha-atraso td { color: #b8451f; }
.ext-total-row td { background: #1a1a2e !important; color: #fff !important; font-weight: 700 !important; padding: 13px 10px !important; border: none !important; }
.ext-total-row td.mono { font-family: 'JetBrains Mono', monospace; font-size: 14px; }
.ext-footer-note { font-size: 10px; color: #9ca3af; text-align: center; margin-top: 20px; }
.ext-empty { text-align: center; padding: 44px 20px; color: #9ca3af; font-size: 14px; }

@media (max-width: 420px) {
  #extrato-render { padding: 20px 16px; border-radius: 14px; }
  .ext-logo { font-size: 19px; }
  .ext-meta-val { font-size: 14px; }
  .ext-table th, .ext-table td { padding: 8px 7px; }
}

@media (min-width: 1200px) { #extrato-render { max-width: 720px; } }
