/* Moneva print stylesheet (loaded with media="print") */

@page {
  margin: 14mm;
}

html,
body {
  background: #fff !important;
  color: #000 !important;
  font-size: 11pt;
}

.app-sidebar,
.app-topbar,
.bottom-nav,
.site-header,
.site-footer,
.toast-region,
.offline-banner,
.skip-link,
.sheet,
.dialog,
.fab,
.page-header__actions,
.filter-bar,
.pagination,
.form-actions,
.button,
.icon-button,
.no-print {
  display: none !important;
}

.app-content,
.container {
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.card,
.stat,
.list,
.table-wrap,
.insight-card,
.budget-line {
  border: 1px solid #bbb !important;
  box-shadow: none !important;
  background: #fff !important;
  break-inside: avoid;
}

.chip,
.status-pill {
  border: 1px solid #999;
  background: #fff !important;
  color: #000 !important;
}

.progress {
  border: 1px solid #999;
  background: #eee !important;
}

.progress__bar {
  background: #555 !important;
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}

.table thead th {
  background: #eee !important;
  color: #000 !important;
}

.table--responsive thead {
  position: static;
  width: auto;
  height: auto;
  clip: auto;
}

.table--responsive tr,
.table--responsive td {
  display: table-row;
}

.table--responsive td {
  display: table-cell;
}

.table--responsive td::before {
  display: none;
}

a {
  color: #000;
  text-decoration: none;
}

a[href^="http"]::after {
  content: " (" attr(href) ")";
  font-size: 9pt;
  color: #555;
}

.money,
.stat__value {
  color: #000 !important;
}

h1,
h2,
h3 {
  break-after: avoid;
}

.print-only {
  display: block !important;
}

.print-header {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #000;
  padding-bottom: 6pt;
  margin-bottom: 12pt;
  font-size: 9pt;
}
