/* Acerte Aqui creditor portal, based on the approved screenshot. */
body { background: #f4f7f8; color: #173f4d; }
main { max-width: 1220px; margin-right: auto; padding: 34px 32px; }
.app-header { align-items: center; gap: 24px; margin-bottom: 28px; }
.app-header h1 { color: #173f4d; font-size: clamp(25px, 3vw, 34px); line-height: 1.2; letter-spacing: -.8px; }
.app-header p { color: #667f89; line-height: 1.6; }
.header-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
main .paper, main .detail, main .portfolio-detail, main .report-chart,
main .report-table-wrap, main .portfolio-step {
  border: 1px solid #dce6ea;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 5px 20px rgba(23, 63, 77, .045);
}
main .report-kpis, main .portfolio-amounts { gap: 12px; }
main .report-kpis article, main .portfolio-amounts article,
#creditor-summary article {
  background: #fff;
  border: 1px solid #dce6ea;
  border-radius: 16px;
  padding: 22px 18px;
  box-shadow: 0 5px 20px rgba(23, 63, 77, .045);
}
main .report-kpis strong, main .portfolio-amounts strong { color: #173f4d; }
main .report-kpis span, main .portfolio-amounts span { color: #647d87; }
main .portfolio-steps { gap: 0; padding: 12px 0; border-bottom: 1px solid #dce6ea; background: #fff; }
main .portfolio-step {
  box-shadow: none;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  min-height: 76px;
  background: #fff;
}
main .portfolio-step[aria-pressed="true"] {
  color: #173f4d;
  background: #effbfc;
  border-color: #00adbd;
}
main .portfolio-step:focus-visible { outline: 3px solid #007986; outline-offset: -4px; }
main .portfolio-detail { margin-top: 0; padding: 28px; }
main .portfolio-detail h3 { color: #173f4d; font-size: 23px; }
main .portfolio-filters, main .report-filters {
  padding: 20px;
  border: 1px solid #dce6ea;
  border-radius: 14px;
  background: #fff;
}
main input, main select { border-radius: 8px; border-color: #c3d3d9; }
main table { border-collapse: collapse; width: 100%; }
main th { background: #f5f8f9; color: #607b86; font-weight: 600; }
main th, main td { padding: 14px 16px; border-bottom: 1px solid #e4ecef; }
main .report-notice { padding: 12px 16px; background: #e9f9fb; border: 1px solid #bcecf1; border-radius: 10px; color: #315763; }
@media (max-width: 900px) {
  main { padding: 24px 18px; }
  .app-header { align-items: flex-start; flex-direction: column; }
  main .report-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  main { padding: 20px 12px; }
  main .report-kpis { grid-template-columns: 1fr; }
  main .portfolio-detail { padding: 20px 16px; }
  main .portfolio-steps { overflow-x: auto; }
}
