/* The page of findings per check: on top of site.css */

/* the link back to the main page, as on the report pages (update.py, BACK_STYLE) */
.back-bar { max-width: 900px; margin: 14px auto 0; padding: 0 16px; }
.back-to-main {
  display: inline-block; padding: 4px 12px; border: 1px solid var(--green); border-radius: 3px;
  background: #fff; color: var(--green); font-size: 0.9rem; font-weight: 600; text-decoration: none;
}
.back-to-main:hover { background: var(--green); color: #fff; }

main { max-width: 900px; }

/* the reminder at the top that every finding can be a false positive */
.warning {
  margin: 24px 0 20px; padding: 12px 16px;
  background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--green);
  border-radius: 3px;
}

/* the tabs, one per check, directly above their panel */
.tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.tabs button {
  padding: 8px 16px; border: 1px solid var(--line); border-bottom: 0; border-radius: 4px 4px 0 0;
  background: var(--bg); color: var(--green); font: inherit; font-weight: 600; cursor: pointer;
}
.tabs button[aria-selected="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.panel { margin: 0 0 40px; border-top-left-radius: 0; }
.panel h3 { margin: 22px 0 4px; font-size: 1.1rem; }

/* one finding: the sentence, the numbers, the preprint */
.findings { margin: 8px 0 0; padding: 0; list-style: none; }
.findings > li { padding: 12px 0; border-top: 1px solid var(--line); }
.sentence {
  margin: 0 0 6px; padding-left: 12px; border-left: 3px solid var(--green-light);
  overflow-wrap: anywhere;
}
.sentence mark { background: var(--green-tint); color: inherit; font-weight: 600; padding: 0 2px; }
.findings .numbers { margin: 0 0 2px; font-size: 0.92rem; }
.findings .source { margin: 0; overflow-wrap: anywhere; }
.paper-title { font-weight: 600; }

/* the reproducibility tab: per preprint, the scripts that did not run */
.panel h2.subgroup { margin-top: 32px; padding-top: 16px; border-top: 2px solid var(--line); }
.scripts { margin: 6px 0 0; padding-left: 20px; }
.scripts li { margin: 4px 0; overflow-wrap: anywhere; }
.scripts code.file { font-weight: 600; color: var(--text); }
.scripts code.message { color: var(--error); }
.scripts .missing { display: block; }
.more summary { cursor: pointer; color: var(--green); font-size: 0.92rem; margin-top: 4px; }

/* the tabs of the other checks: the check's summary, then what it flagged */
.summary { margin: 6px 0 0; font-size: 0.95rem; }
.summary p { margin: 0 0 4px; }
.summary ul { margin: 0 0 4px; padding-left: 20px; }
.scripts .sentence { margin: 4px 0 2px; }
.scripts .reference { margin: 4px 0 2px; }
.scripts .note { margin: 0 0 6px; }
.issue-kind { margin: 10px 0 0; font-weight: 600; font-size: 0.95rem; }
.panel h3.light-red { color: var(--error); }
.panel h3.light-yellow { color: #8A6A00; }
