:root {
  /* Prepress studio paper & ink palette */
  --bg: #f5f7f8;
  --surface: #ffffff;
  --surface-subtle: #eef2f3;
  --ink: #10161a;
  --text: #27323a;
  --muted: #52606b;
  --border: #d5dde0;
  --border-soft: #e6ecef;

  /* Press Teal accent */
  --accent: #0f6d66;
  --accent-hover: #0b5751;
  --accent-soft: #edf7f6;
  --accent-ring: rgba(15, 109, 102, 0.22);

  /* Semantic verdict tones */
  --good: #116b43;
  --good-soft: #ecfdf3;
  --good-border: #a7f3d0;
  --soft: #92400e;
  --soft-soft: #fffbeb;
  --soft-border: #fde68a;
  --low: #b42318;
  --low-soft: #fef3f2;
  --low-border: #fecaca;
  --error: #b42318;

  /* 3-step body typography scale (h1 and navbar wordmark exempt) */
  --text-heading: 1.375rem;
  --text-body: 1rem;
  --text-sm: 0.875rem;

  --radius: 12px;
  --radius-lg: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- top bar ---------- */
.site-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 247, 248, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}

.bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-mark {
  display: block;
  flex-shrink: 0;
}

.bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 500;
  white-space: nowrap;
  transition: color 160ms var(--ease);
}

.site-nav a:hover { color: var(--ink); }

.lang-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding-left: 1rem;
  border-left: 1px solid var(--border);
}

.lang-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 500;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  white-space: nowrap;
  transition: color 160ms var(--ease), background-color 160ms var(--ease);
}

.lang-flag {
  font-size: 0.95em;
  line-height: 1;
}

.lang-nav a:hover {
  color: var(--ink);
  background: var(--surface-subtle);
}

.lang-nav a[aria-current="page"] {
  color: var(--accent);
  font-weight: 700;
  background: var(--accent-soft);
}

/* ---------- headings & base typography ---------- */
.page-head {
  padding: 2.25rem 0 1.5rem;
}

h1 {
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  color: var(--ink);
}

h2 {
  font-size: var(--text-heading);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: var(--ink);
}

h3 {
  font-size: var(--text-body);
  font-weight: 600;
  line-height: 1.4;
  margin: 1.5rem 0 0.4rem;
  color: var(--ink);
}

h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  margin: 1.25rem 0 0.5rem;
  color: var(--muted);
}

p { margin: 0 0 0.9rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); }
a:hover { color: var(--accent-hover); }

.lede {
  color: var(--muted);
  font-size: var(--text-body);
  max-width: 60ch;
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  z-index: 30;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 0.75rem; }

/* ---------- unified workbench ---------- */
.tool {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(16, 22, 26, 0.04), 0 12px 32px -14px rgba(16, 22, 26, 0.08);
  overflow: hidden;
}

@media (min-width: 860px) {
  .tool {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: stretch;
  }
}

.tool-form {
  padding: 1.5rem;
  background: var(--surface);
  min-width: 0;
}

.results {
  padding: 1.5rem;
  background: #fbfcfd;
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

@media (min-width: 860px) {
  .tool-form { padding: 1.75rem; }
  .results {
    padding: 1.75rem;
    border-top: 0;
    border-left: 1px solid var(--border-soft);
  }
}

/* ---------- drop zone ---------- */
.drop {
  position: relative;
  margin-bottom: 0.5rem;
}

.drop input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.drop-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
  padding: 2rem 1.25rem;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
  transition: border-color 180ms var(--ease), background-color 180ms var(--ease), transform 180ms var(--ease);
}

.drop-icon {
  color: var(--accent);
  margin-bottom: 0.15rem;
  transition: transform 180ms var(--ease);
}

.drop-title {
  display: block;
  font-weight: 600;
  font-size: var(--text-body);
  color: var(--ink);
}

.drop-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

.drop:hover .drop-label,
.drop.is-over .drop-label {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.drop.is-over .drop-label {
  transform: scale(0.992);
}

.drop:hover .drop-icon,
.drop.is-over .drop-icon {
  transform: translateY(-2px);
}

.drop input:focus-visible + .drop-label {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
}

.paste-hint {
  margin-bottom: 1.25rem;
}

/* ---------- form controls ---------- */
.field {
  margin-bottom: 1.25rem;
  min-width: 0;
}

.field label {
  display: block;
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.u-label {
  font-weight: 400;
  color: var(--muted);
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: "";
  position: absolute;
  right: 0.85rem;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 1.75px solid var(--muted);
  border-bottom: 1.75px solid var(--muted);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

select {
  width: 100%;
  max-width: 100%;
  text-overflow: ellipsis;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  font-size: var(--text-body);
  padding: 0.65rem 2.25rem 0.65rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}

select:hover { border-color: #aebbc1; }
select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-ring);
}

.hint {
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--muted);
  margin: 0.4rem 0 0;
}

.paste-hint {
  margin: 0.45rem 0 1.35rem;
}

/* ---------- segmented radio control ---------- */
.group {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.group > legend {
  font-weight: 600;
  font-size: var(--text-sm);
  padding: 0;
  margin-bottom: 0.45rem;
  color: var(--ink);
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0.25rem;
  gap: 0.25rem;
  background: var(--surface-subtle);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
}

.choice {
  position: relative;
}

.choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}

.choice label {
  display: block;
  text-align: center;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
  transition: background-color 160ms var(--ease), color 160ms var(--ease), box-shadow 160ms var(--ease);
}

.choice input:checked + label {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(16, 22, 26, 0.08);
}

.choice input:focus-visible + label {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.width-field {
  margin-top: 0.9rem;
  margin-bottom: 0;
}

.input-unit {
  position: relative;
  display: flex;
  align-items: center;
}

input[type="number"] {
  width: 100%;
  font: inherit;
  font-variant-numeric: tabular-nums;
  padding: 0.6rem 2.5rem 0.6rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}

input[type="number"]:hover { border-color: #aebbc1; }
input[type="number"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-ring);
}

input[aria-invalid="true"] {
  border-color: var(--error);
}

.unit-suffix {
  position: absolute;
  right: 0.85rem;
  font-size: var(--text-sm);
  color: var(--muted);
  pointer-events: none;
}

.error {
  font-size: var(--text-sm);
  color: var(--error);
  font-weight: 600;
  margin: 0.35rem 0 0;
}
.error:empty { display: none; }

/* ---------- results pane ---------- */
.results-head {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 1.25rem;
}

.results-head h2 {
  font-size: var(--text-body);
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.summary {
  margin: 0;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.results-body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* example state */
.example-proof {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.example-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--muted);
  margin: 0;
}

/* result items separated cleanly without nested card borders */
.result-item + .result-item {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.result-item h3 {
  margin: 0 0 0.85rem;
  font-size: var(--text-body);
  font-weight: 700;
  color: var(--ink);
  word-break: break-word;
}

/* DPI meter */
.dpi-meter {
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: var(--surface);
  margin-bottom: 1rem;
}

.dpi-meter-good { background: var(--good-soft); border-color: var(--good-border); }
.dpi-meter-soft { background: var(--soft-soft); border-color: var(--soft-border); }
.dpi-meter-low  { background: var(--low-soft); border-color: var(--low-border); }

.dpi-meter-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.dpi-big {
  font-size: var(--text-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.dpi-meter-good .dpi-big { color: var(--good); }
.dpi-meter-soft .dpi-big { color: var(--soft); }
.dpi-meter-low .dpi-big  { color: var(--low); }

.dpi-unit {
  font-size: var(--text-sm);
  font-weight: 600;
}

.dpi-target {
  font-size: var(--text-sm);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.dpi-track {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: rgba(16, 22, 26, 0.08);
  overflow: visible;
}

.dpi-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--accent);
  transition: width 220ms var(--ease);
}

.dpi-meter-good .dpi-fill { background: var(--good); }
.dpi-meter-soft .dpi-fill { background: #d97706; }
.dpi-meter-low .dpi-fill  { background: var(--low); }

.dpi-mark {
  position: absolute;
  top: -3px;
  bottom: -3px;
  width: 2px;
  background: var(--ink);
  border-radius: 2px;
  opacity: 0.55;
}

.verdict-line {
  margin: 0.65rem 0 0;
  font-size: var(--text-sm);
  color: var(--text);
}

.verdict-word {
  font-weight: 700;
  margin-right: 0.35rem;
}

.dpi-meter-good .verdict-word { color: var(--good); }
.dpi-meter-soft .verdict-word { color: var(--soft); }
.dpi-meter-low .verdict-word  { color: var(--low); }

/* facts list */
.facts {
  margin: 0;
  display: grid;
}

.facts div {
  display: grid;
  grid-template-columns: minmax(9.5rem, 42%) 1fr;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: var(--text-sm);
}

.facts div:last-child { border-bottom: 0; }

.facts dt {
  color: var(--muted);
}

.facts dd {
  margin: 0;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.muted {
  color: var(--muted);
  font-size: var(--text-sm);
}

.note {
  font-size: var(--text-sm);
  color: var(--muted);
  margin-top: 0.75rem;
}

.warn {
  margin: 1rem 0 0;
  padding: 0.75rem 1rem 0.75rem 1.75rem;
  border-radius: 10px;
  background: var(--soft-soft);
  border: 1px solid var(--soft-border);
  color: var(--soft);
  font-size: var(--text-sm);
}

.warn li { margin-bottom: 0.35rem; }
.warn li:last-child { margin-bottom: 0; }

/* ---------- demand-test next tools ---------- */
.next-tools {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-soft);
}

.next-tools h3 {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 0.65rem;
}

.next-list {
  display: grid;
  gap: 0.5rem;
}

@media (min-width: 560px) {
  .next-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.next-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  text-align: left;
  font: inherit;
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 1.35;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 160ms var(--ease), background-color 160ms var(--ease), color 160ms var(--ease);
}

.next-btn:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-hover);
}

.next-state {
  flex-shrink: 0;
  color: var(--muted);
  font-weight: 600;
}

.next-btn:hover .next-state { color: var(--accent); }

/* ---------- feedback dialog ---------- */
.dialog {
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--text);
  width: min(460px, calc(100vw - 2rem));
  box-shadow: 0 20px 50px -16px rgba(16, 22, 26, 0.25);
}

.dialog::backdrop {
  background: rgba(16, 22, 26, 0.45);
  backdrop-filter: blur(2px);
}

.dialog-box {
  padding: 1.5rem;
}

.dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.6rem;
}

.dialog-head h2 {
  font-size: var(--text-heading);
  margin: 0;
}

.dialog-close {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 140ms var(--ease), color 140ms var(--ease);
}

.dialog-close:hover {
  background: var(--surface-subtle);
  color: var(--ink);
}

.dialog-desc {
  color: var(--muted);
  margin: 0 0 1.1rem;
}

.dialog textarea {
  width: 100%;
  font: inherit;
  font-size: var(--text-body);
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  resize: vertical;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}

.dialog textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-ring);
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: #aebbc1;
  background: var(--bg);
}

.dialog-email {
  margin-top: 0.85rem;
}

.dialog-email span {
  color: var(--ink);
  font-weight: 500;
}

/* ---------- editorial guide ---------- */
.guide {
  margin-top: 4rem;
}

.guide-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem 2.5rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

@media (min-width: 820px) {
  .guide-section {
    grid-template-columns: minmax(0, 17rem) minmax(0, 1fr);
    align-items: start;
  }
}

.guide-aside,
.guide-content {
  min-width: 0;
}

.guide-aside h2 {
  margin: 0;
}

.guide-content {
  max-width: 65ch;
}

.guide-section-wide .guide-content {
  max-width: none;
}

.guide-section-wide .guide-content > p {
  max-width: 65ch;
}

.guide ul, .guide ol {
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}

.guide li {
  margin-bottom: 0.45rem;
}

.steps-list {
  list-style: none;
  padding-left: 0;
  counter-reset: step;
}

.steps-list li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 1.35rem 1fr;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
}

.steps-list li::before {
  content: counter(step) ".";
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

/* ---------- pixel table ---------- */
.table-wrap {
  margin: 1.25rem 0 0.75rem;
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: var(--text-sm);
  font-variant-numeric: tabular-nums;
}

caption {
  text-align: left;
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--ink);
  padding: 0.85rem 1rem 0.65rem;
  border-bottom: 1px solid var(--border-soft);
}

th, td {
  text-align: left;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: top;
}

tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background-color 140ms var(--ease); }
tbody tr:hover { background: var(--bg); }

thead th {
  color: var(--muted);
  font-weight: 600;
  background: var(--bg);
}

th.num-col,
td:nth-child(3),
td:nth-child(4) {
  text-align: right;
  white-space: nowrap;
}

td:first-child {
  font-weight: 500;
  color: var(--ink);
}

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 1.5rem;
}

.faq-item {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-soft);
}

.faq-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.faq-item h3 {
  margin: 0 0 0.45rem;
}

/* ---------- footer ---------- */
.site-foot {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding: 2rem 0 3rem;
  font-size: var(--text-sm);
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 760px) {
  .site-foot {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: 2rem;
  }
  .site-foot p:first-child { max-width: 58ch; }
  .foot-meta { white-space: nowrap; }
}

/* ---------- small screens ---------- */
@media (max-width: 720px) {
  .site-nav { display: none; }
  .lang-nav { border-left: 0; padding-left: 0; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 1rem; }
  .page-head { padding: 1.5rem 0 1.25rem; }
  .tool-form, .results { padding: 1.15rem; }
  .drop-label { padding: 1.5rem 1rem; }
  .facts div { grid-template-columns: 1fr; gap: 0.15rem; }
  .guide { margin-top: 2.75rem; }
  .guide-section { padding: 1.75rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  body { background: #fff; font-size: 11pt; }
  .wrap { max-width: none; padding: 0; }
  .site-bar, .skip-link, .lede, .tool-form, .guide, .site-foot, noscript { display: none !important; }
  .tool { display: block; border: 0; box-shadow: none; }
  .results { border: 0; padding: 0; background: #fff; }
  .result-item { break-inside: avoid; }
}
