.report-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.report-actions .button { font-size: 14px; height: auto; min-height: 38px; padding: 10px 13px; }
.report-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.report-card { display: flex; flex-direction: column; align-items: flex-start; padding: 22px; border: 1px solid var(--line); border-radius: 9px; background: white; min-width: 0; }
.report-card > svg { color: var(--teal); width: 25px; height: 25px; margin-bottom: 16px; }
.report-card .eyebrow { color: var(--teal-dark); font-size: 12px; margin: 0 0 8px; }
.report-card h3, .report-package h3 { margin: 0; font-size: 19px; }
.report-card > p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 12px 0 22px; }
.report-card .report-actions { margin-top: auto; }
.report-package, .proposal-milestone { display: flex; justify-content: space-between; align-items: center; gap: 22px; border: 1px solid var(--line); border-radius: 9px; padding: 20px 22px; margin-top: 18px; background: #f0f6f3; }
.report-package p, .proposal-milestone p { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 6px 0 0; }
.report-package .report-actions, .proposal-milestone > button { flex-shrink: 0; }
.proposal-milestone { max-width: 1220px; width: calc(100% - 56px); margin: 24px auto 0; }
.equipment-heading > #equipmentReportActions { flex-shrink: 0; }
.proposal-milestone strong { font-size: 17px; }
.guide-report { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 16px; }
.guide-report h3 { margin: 0; font-size: 17px; }
.guide-report p { font-size: 14px; line-height: 1.6; color: var(--muted); }
.reports-dialog { width: min(1120px, calc(100vw - 36px)); }
.reports-body { padding: 4px 24px 20px; }
.reports-intro { font-size: 16px; line-height: 1.6; color: var(--muted); }
.reports-intro strong { color: var(--ink); }
.reports-footnote { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 20px 0 0; }
.report-preview-dialog { width: min(1110px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); height: calc(100dvh - 24px); background: #e7eeeb; }
.report-preview-toolbar { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 22px; background: var(--paper); border-bottom: 1px solid var(--line); }
.report-preview-toolbar h2 { font-size: 20px; margin: 6px 0 0; }
.report-back { border: 0; background: transparent; padding: 0; color: var(--teal-dark); font-size: 14px; cursor: pointer; }
.report-preview-status { padding: 14px 22px 0; margin: 0; color: var(--muted); font-size: 14px; text-align: center; }
.report-preview-status.is-error { color: #a72d2d; }
.report-preview-pages { padding: 20px; display: grid; justify-items: center; gap: 26px; }
.report-preview-pages figure { width: min(100%, 816px); margin: 0; }
.report-preview-pages canvas { display: block; width: 100%; height: auto; background: white; box-shadow: 0 2px 12px #203c3024; }
.report-preview-pages figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); text-align: center; }
.walk-report { margin-top: 24px; }
.report-source-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
@media (max-width: 520px) {
  [data-mode="guided"] .topbar { grid-template-columns: minmax(110px, 1fr) auto; padding-inline: 10px; }
  [data-mode="guided"] .brand-button { min-width: 0; gap: 7px; }
  [data-mode="guided"] .topbar-actions { gap: 6px; }
  [data-mode="guided"] .topbar-actions .button { padding-inline: 8px; }
  [data-mode="guided"] #saveButton > svg { display: none; }
}
@media (max-width: 800px) {
  .report-cards { grid-template-columns: 1fr; }
  .report-card { padding: 18px; }
  .report-package, .proposal-milestone, .report-preview-toolbar { align-items: flex-start; flex-direction: column; gap: 14px; }
  .report-preview-toolbar { padding: 14px 16px; }
  .report-preview-toolbar .report-actions { width: 100%; }
  .report-preview-toolbar .icon-button { margin-left: auto; }
  .report-preview-pages { padding: 12px; }
  .reports-body { padding: 4px 18px 18px; }
}
@media print {
  @page { size: letter; margin: 0; }
  body.report-printing { height: auto !important; overflow: visible !important; background: white !important; }
  body.report-printing > :not(#reportPreviewDialog) { display: none !important; }
  body.report-printing #reportPreviewDialog { display: block; position: static; inset: auto; width: 100%; height: auto; max-height: none; max-width: none; overflow: visible; border: 0; padding: 0; margin: 0; background: white; box-shadow: none; }
  body.report-printing #reportPreviewDialog::backdrop { display: none; }
  body.report-printing .report-preview-toolbar, body.report-printing .report-preview-status, body.report-printing figcaption { display: none; }
  body.report-printing .report-preview-pages { display: block; padding: 0; }
  body.report-printing .report-preview-pages figure { width: 100%; break-after: page; break-inside: avoid; margin: 0; }
  body.report-printing .report-preview-pages figure:last-child { break-after: auto; }
  body.report-printing .report-preview-pages canvas { width: 100%; box-shadow: none; }
}
