/* The Statements page (pages/statements.js). Print or save as PDF is the browser's own: on paper only the
   statement is kept, in black on white, without the header, the menu, the buttons or the footer. */
@media print {
  .site-header, .site-footer, .skip, button, .mobile-menu, .next-payment, .tabbar { display: none !important; }
  body, main, .card, .section { background: #fff !important; color: #000 !important; box-shadow: none !important; }
  .card { border: 1px solid #999 !important; break-inside: avoid; }
  a { color: #000 !important; text-decoration: none; }
  .status, .sub-note, .quiet, .figure-label { color: #333 !important; }
}

/* A month's detail: its button, figures and cards spaced as the page's sections are. */
.statement > .form-actions { margin: -0.5rem 0 1rem; }
.statement > .card, .statement > .figures + .card { margin-top: 1rem; }

/* Doc 170 card 8: the next payment from impact.com, mockup/doc170/doc170.css's figure and timeline. */
.next-payment { margin-bottom: 1rem; }
.next-payment .big { display: block; margin-top: .8rem; font: 400 clamp(2.6rem, 4.6vw, 3.9rem)/.92 var(--austin); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.next-payment p { margin: .8rem 0 0; color: var(--lead); }
.timeline { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1.6rem 0 1.4rem; padding: 0; list-style: none; }
.timeline::before { position: absolute; top: 5px; right: 16%; left: 0; height: 2px; background: rgba(209, 221, 255, .16); content: ""; }
.timeline li { position: relative; padding-top: 1.6rem; color: var(--muted); font-size: .82rem; line-height: 1.4; }
.timeline li::before { position: absolute; top: 0; left: 0; width: 12px; height: 12px; border-radius: 50%; background: #29324a; box-shadow: 0 0 0 4px rgba(10, 17, 34, .9); content: ""; }
.timeline li.done::before { background: var(--teal); }
.timeline li.now::before { background: var(--azure); box-shadow: 0 0 0 4px rgba(50, 95, 255, .25); }
.timeline strong { display: block; margin-bottom: .3rem; color: #fff; font: 400 1.35rem/1.05 var(--austin); letter-spacing: -.012em; }
@media (max-width: 560px) {
  .timeline { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; padding-left: 1.6rem; }
  .timeline::before { top: 6px; bottom: 1.2rem; left: 5px; right: auto; width: 2px; height: auto; }
  .timeline li { padding-top: 0; }
  .timeline li::before { top: .2rem; left: -1.6rem; }
}
