@page {
  margin: 0.6in;
}

:root,
:root[data-theme="dark"] {
  color-scheme: light;
  --ink: #1f2933;
  --muted: #64717f;
  --subtle: #8a96a3;
  --line: #d9e0e7;
  --line-strong: #c7d0da;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --surface-tint: #eef3f7;
  --surface-contrast: #fbfcfd;
  --input-bg: #ffffff;
  --danger-surface: #fff3f0;
  --danger-text: #822d1d;
  --page: #ffffff;
  --teal: #087f8c;
  --teal-dark: #066c77;
  --coral: #c8553d;
  --green: #2d7d46;
  --amber: #b7791f;
  --highlight: #f2c94c;
  --highlight-soft: rgba(242, 201, 76, 0.16);
  --accent: var(--teal);
  --accent-soft: var(--surface-soft);
  --action-accent: var(--accent);
  --action-accent-soft: var(--accent-soft);
  --shadow-soft: none;
}

*,
*::before,
*::after {
  print-color-adjust: economy;
  -webkit-print-color-adjust: economy;
}

html,
body {
  background: #ffffff;
  color: #1f2933;
  orphans: 3;
  widows: 3;
}

.page {
  width: 100%;
  padding: 0;
  background: #ffffff;
}

.skip-link,
.control-row,
.funnel-controls,
.report-actions,
.copy-button,
.show-work summary,
.label-edit-button {
  display: none !important;
}

.panel,
.result-panel {
  border: 0;
  box-shadow: none;
  background: #ffffff;
}

.result-panel {
  padding: 0;
}

.metrics,
.result-summary,
.stats-tables,
.work-step,
.math-formula,
.work-math,
table,
thead th,
tbody tr:nth-child(even) {
  background: #ffffff;
}

.metrics,
.result-summary,
.plot,
.stats-tables,
.table-block,
.work-step,
.notes {
  break-inside: avoid;
  page-break-inside: avoid;
}

.section-heading,
.work-step h3,
.notes h2 {
  break-after: avoid;
  page-break-after: avoid;
}

.work-grid,
.stats-tables {
  display: block;
}

.work-step,
.table-block {
  margin-bottom: 14px;
}

.work-step {
  padding: 14px 0 16px;
}

.plot {
  max-width: 100%;
}

.show-work {
  margin-top: 18px;
}

.notes {
  padding-top: 8px;
}

.site-header,
.site-footer {
  display: none;
}
