.v111-report-center { min-width: 0; }
.v111-report-center > .month-nav { margin-bottom: 1rem; }
.range-controls { margin-bottom: 1rem; }
.report-range-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1.3fr; gap: .75rem; align-items: end; margin-bottom: .9rem; }
.comparison-toggle { align-self: stretch; min-height: 48px; padding: .65rem; border: 1px solid var(--line); border-radius: 12px; background: #0b1220; }
.report-page { min-width: 0; margin: 1rem 0; }
.report-cover { padding: clamp(1.25rem, 4vw, 2.25rem); }
.report-kicker { color: var(--gold); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .55rem; }
.report-period { font-size: clamp(1.05rem, 3vw, 1.35rem); color: var(--muted); }
.report-quality-line { display: flex; flex-wrap: wrap; gap: .55rem 1rem; color: var(--muted); font-size: .82rem; margin-top: .9rem; }
.report-table-wrap { margin: .75rem 0 1rem; }
.comparison-table, .monthly-comparison-table, .debt-report-table { min-width: 680px; }
.comparison-direction { display: grid; gap: .15rem; font-weight: 700; }
.comparison-direction small { color: var(--muted); font-weight: 400; }
.comparison-direction.better { color: var(--green); }
.comparison-direction.worse { color: var(--red); }
.comparison-direction.flat { color: var(--muted); }
.report-grid-page { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.report-grid-page > .card { min-width: 0; }
.health-print-score { display: grid; justify-items: end; }
.health-print-score strong { font-size: 2rem; line-height: 1; }
.health-print-score span { color: var(--muted); }
.goal-report-grid { display: grid; gap: .65rem; margin: 1rem 0; }
.goal-report-row { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(180px, 1.4fr) auto; gap: .8rem; align-items: center; border-bottom: 1px solid rgba(148,163,184,.16); padding-bottom: .65rem; }
.goal-report-row > div:first-child { display: grid; gap: .2rem; }
.goal-report-row span { color: var(--muted); font-size: .82rem; }
.health-report-lower, .meeting-report-grid { margin-top: 1rem; }
.meeting-report-grid ul, .report-page ul, .report-page ol { line-height: 1.55; padding-left: 1.25rem; }
.report-wins { border-color: rgba(74,222,128,.45); }
.report-risks { border-color: rgba(251,113,133,.45); }
.report-actions { border-color: rgba(96,165,250,.45); }
.v111-report-center .card,
.v111-report-center .grid,
.v111-report-center label,
.v111-report-center input,
.v111-report-center select,
.v111-report-center button { min-width: 0; max-width: 100%; }
.v111-report-center p,
.v111-report-center li,
.v111-report-center .section-meta,
.v111-report-center button { overflow-wrap: anywhere; }

@media (max-width: 980px) {
  .report-range-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report-grid-page { grid-template-columns: minmax(0, 1fr); }
  .goal-report-row { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .report-range-grid { grid-template-columns: minmax(0, 1fr); }
  .comparison-toggle { min-height: 0; }
  .health-print-score { justify-items: start; }
  .report-quality-line { display: grid; }
}

@media print {
  @page { size: letter portrait; margin: .45in; }
  html, body { background: #fff !important; color: #111 !important; font-family: Arial, sans-serif; }
  body { font-size: 10pt; }
  .app-shell { width: 100%; max-width: none; margin: 0; padding: 0; }
  .topbar, .primary-nav, .screen-only, .month-nav, .toast, .v111-report-center > .section-title-row { display: none !important; }
  #main, .section.active, .v111-report-center { display: block !important; margin: 0; padding: 0; }
  .printable-report { display: block !important; }
  .report-page { break-after: page; page-break-after: always; break-inside: auto; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: #fff !important; color: #111 !important; }
  .report-page:last-of-type { break-after: auto; page-break-after: auto; }
  .report-page > .card, .report-page.card, .report-page article { break-inside: avoid; page-break-inside: avoid; box-shadow: none; background: #fff !important; color: #111 !important; border-color: #bbb !important; }
  .report-grid-page { display: grid !important; grid-template-columns: 1fr 1fr; gap: .25in; }
  .meeting-report-grid, .health-report-lower { grid-template-columns: 1fr 1fr !important; }
  .report-metrics { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: .1in; }
  .report-metrics span, .summary-box, .note { background: #fff !important; color: #111 !important; border-color: #bbb !important; }
  .section-title-row p, .card p, .report-period, .health-print-score span, .goal-report-row span, .comparison-direction small { color: #444 !important; }
  .table-wrap { overflow: visible; border-color: #bbb; background: #fff; }
  .ledger { min-width: 0 !important; width: 100%; font-size: 8pt; }
  .ledger th, .ledger td { padding: .14in .08in; color: #111 !important; border-color: #ccc; }
  .ledger th { color: #333 !important; }
  .bar-track { background: #eee !important; border: 1px solid #ccc; }
  .bar-fill { background: #666 !important; }
  .goal-progress { background: #eee !important; border: 1px solid #ccc; }
  .goal-progress span { background: #555 !important; }
  .comparison-direction.better, .comparison-direction.worse, .comparison-direction.flat { color: #111 !important; }
  h1, h2, h3, h4 { color: #111 !important; break-after: avoid; page-break-after: avoid; }
  a { color: #111 !important; text-decoration: none; }
}
