/* Shared presentation for the ODDS and previous-report tools. */
.report-tool-page {
  --bg: #f6fafb;
  --paper: #fff;
  --paper-soft: #f4f9f8;
  --line: #d7e3e5;
  --line-strong: #b9cdd0;
  --ink: #102a2d;
  --muted: #52666a;
  --brand: #0b6b5f;
  --brand-hover: #07584f;
  --brand-soft: #d5f3ea;
  color: var(--ink);
  background: var(--bg);
  font-family: "Onest", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

.report-tool-page .hero,
.report-tool-page .card {
  background: var(--paper);
  border-color: var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(25, 64, 67, .04);
}

.report-tool-page h1 { font-size: clamp(1.85rem, 3vw, 2.5rem); line-height: 1.2; }
.report-tool-page :is(h1, h2, h3, label, .pill) { color: var(--ink); }
.report-tool-page .hero > p { max-width: 75ch; }
.report-tool-page :is(.hero-lead, .quick-path div) { color: var(--muted); line-height: 1.6; }
.report-tool-page .quick-path div { border-color: var(--line); }
.report-tool-page button { font: inherit; font-weight: 700; }
.report-tool-page :is(button, .link-button, summary) { min-height: 44px; }
.report-tool-page :is(.hint, .error-box) { line-height: 1.6; }
.report-tool-page .hint + .hint { margin-top: 8px; }
.report-tool-page .tab-nav { margin-top: 0; }
.report-tool-page :is(.nav-links, .tab-nav) { gap: 4px; }
.report-tool-page :is(.nav-links, .tab-nav) .link-button {
  width: auto;
  padding: 8px 10px;
  font-size: .9rem;
  font-weight: 600;
  background: transparent;
  border-color: transparent;
  color: var(--brand);
}
.report-tool-page :is(.nav-links, .tab-nav) .link-button:hover,
.report-tool-page .tab-nav [aria-current="page"] { background: var(--brand-soft); }
.report-tool-page .pill { margin-top: 0; }
.report-tool-page input[type="file"] { border-color: var(--line-strong); }
.report-tool-page :is(.grid, .form-grid) { grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.report-tool-page :is(#report-form, #reconciliation-title) { scroll-margin-top: 24px; }

.report-tool-page :is(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

@media (max-width: 1200px) {
  .report-tool-page .file-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report-tool-page .file-row > .file-cell:first-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .report-tool-page .file-row { grid-template-columns: minmax(0, 1fr); }
  .report-tool-page .shell { padding-inline: 12px; }
}

.tool-reading {
  max-width: 75ch;
  line-height: 1.7;
}

.tool-reading h3 { margin: 24px 0 12px; }
.tool-reading ol { padding-left: 1.4em; }
.tool-reading li + li { margin-top: 10px; }
