:root {
  --ink: #262a31;
  --muted: #626975;
  --blue: #245bc4;
  --blue-soft: #edf3ff;
  --line: #e0e4ea;
  --wash: #f7f8fa;
  --green: #18734a;
  --radius: 12px;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  background: #fff;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: var(--blue);
}
a:hover {
  color: #163d89;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #86aef6;
  outline-offset: 4px;
}
button:disabled {
  opacity: 0.35;
  cursor: default;
}
[hidden] {
  display: none !important;
}
.site-width {
  max-width: 1100px !important;
}
.reading-width {
  max-width: 800px !important;
}
.section {
  padding: 5rem 1.5rem;
}
.section-intro {
  max-width: 760px;
  margin: 0 auto 2.5rem;
}
.section-intro > p:last-child {
  color: var(--muted);
  font-size: 17px;
}
.title {
  color: var(--ink);
  line-height: 1.22;
}
.title.is-3 {
  font-size: 2rem;
  font-family: "Google Sans", "Noto Sans", sans-serif;
  font-weight: 700;
  margin-bottom: 1.1rem;
}
.title.is-4 {
  font-size: 1.35rem;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 0.7rem;
}
.small-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
}
.skip-link {
  clip-path: inset(100%);
  position: fixed;
  top: -100px;
  left: 15px;
  z-index: 100;
  background: white;
  padding: 10px;
}
.skip-link:focus {
  clip-path: none;
  top: 10px;
}
.site-nav {
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1160px;
  margin: auto;
  padding: 0 30px;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
}
.loop-mark {
  color: var(--blue);
  font-family: Arial, sans-serif;
  font-size: 35px;
  line-height: 1;
}
.nav-links {
  display: flex;
  gap: 27px;
  font-size: 13px;
}
.nav-links a {
  color: var(--muted);
}
.nav-links a:hover {
  color: var(--blue);
}
.publication-header .hero-body {
  padding: 3.1rem 1.5rem 2.7rem;
}
.project-name {
  font-family: "Google Sans", "Noto Sans", sans-serif;
  color: var(--blue);
  font-size: 42px;
  line-height: 1.2;
  letter-spacing: -1.5px;
  font-weight: 700;
  margin-bottom: 0.85rem;
}
.publication-title.title.is-1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.17;
  letter-spacing: -1.25px;
  max-width: 1000px;
  margin: 0 auto 1.3rem;
}
.hero-description {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
  margin: 1rem auto 1.6rem;
}
.publication-authors {
  margin: 1.4rem 0 0.25rem;
}
.publication-affiliations {
  font-size: 15px;
  color: var(--muted);
}
.publication-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.publication-links .button {
  gap: 15px;
  font-size: 14px;
  padding: 0 22px;
  height: 42px;
}
.button.is-dark {
  background: #303238;
}
.button.is-dark:hover {
  background: #1d2027;
}
.secondary-link {
  border-color: var(--line);
  background: #fff;
}
.teaser-section {
  padding: 0 24px 2.5rem;
}
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 13px;
}
.teaser-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  gap: 12px;
  transition: transform 0.15s;
}
.teaser-item:hover {
  transform: translateY(-4px);
  color: var(--blue);
}
.teaser-item img {
  display: block;
  width: 100%;
  height: 153px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 7px;
}
.teaser-caption {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  max-width: 760px;
  margin: 1.8rem auto 0;
}
.teaser-caption strong {
  color: var(--ink);
}
.abstract-section {
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}
.content p {
  line-height: 1.85;
}
.abstract-section .content {
  font-size: 15px;
}
.explorer-section {
  background: var(--wash);
  border-top: 1px solid #eceef2;
  border-bottom: 1px solid #eceef2;
}
.filter-bar {
  display: grid;
  grid-template-columns: 1.5fr 1.2fr 1fr 1fr;
  gap: 14px;
}
.filter-bar label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.filter-bar label > span {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
}
.filter-bar input,
.filter-bar select {
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #cfd5de;
  border-radius: 7px;
  background: white;
  color: var(--ink);
  height: 43px;
  font-size: 12px;
}
.filter-bar input::placeholder {
  color: #7b8492;
}
.explorer-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 15px 0;
  font-size: 12px;
  color: var(--muted);
}
.text-button {
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 12px;
  padding: 5px 0;
  text-underline-offset: 3px;
}
.text-button:hover {
  text-decoration: underline;
}
.question-viewer {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  overflow: hidden;
  box-shadow: 0 4px 20px #202e4610;
}
.viewer-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}
.experiment-label {
  color: var(--blue);
  font-weight: 600;
}
.replay-label {
  color: var(--green);
  white-space: nowrap;
}
.replay-label > span {
  font-weight: bold;
  margin-right: 4px;
}
.viewer-body {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
}
.visual-column {
  padding: 20px 20px 14px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.image-stage {
  background: #fff;
  border: 0;
  width: 100%;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  border-radius: 7px;
  overflow: hidden;
}
.image-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.enlarge-hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 10px;
  color: var(--muted);
  background: #ffffffed;
  box-shadow: 0 1px 5px #0001;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.sample-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  font-size: 11px;
  color: var(--muted);
}
.sample-buttons {
  display: flex;
  gap: 7px;
}
.sample-buttons button {
  width: 30px;
  height: 30px;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 11px;
  color: var(--muted);
}
.sample-buttons button[aria-pressed="true"] {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}
.image-note {
  font-size: 10px;
  color: var(--muted);
  text-align: center;
  margin-top: 12px;
}
.question-column {
  padding: 26px 26px 20px;
  min-width: 0;
}
.world-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 13px;
}
.world-tags span {
  font-size: 10px;
  border-radius: 4px;
  padding: 3px 7px;
  background: var(--wash);
  color: var(--muted);
}
.world-tags span:empty {
  display: none;
}
.question-column h3 {
  margin-bottom: 18px;
}
.question-column blockquote {
  font-size: 13px;
  line-height: 1.8;
  margin-top: 7px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 310px;
  overflow-y: auto;
  padding-right: 7px;
}
.answer-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
}
.answer-controls .button {
  font-size: 12px;
  height: 37px;
  padding: 0 17px;
}
.answer-box {
  margin-top: 16px;
  background: #f0f8f3;
  border: 1px solid #d6e8dd;
  border-radius: 8px;
  padding: 14px 16px;
}
.answer-box strong {
  display: block;
  font-size: 20px;
  color: var(--green);
  overflow-wrap: anywhere;
}
.answer-box p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 6px;
}
.copy-status {
  font-size: 10px;
  color: var(--muted);
  min-height: 16px;
  margin: 3px 0;
}
.source-details {
  border-top: 1px solid var(--line);
  padding-top: 13px;
  font-size: 11px;
  color: var(--muted);
}
.source-details summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 11px;
}
.source-details p {
  margin: 10px 0;
}
.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.record-id {
  overflow-wrap: anywhere;
  font-family: monospace;
  font-size: 10px;
}
.browse-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 25px 0 13px;
}
.browse-header h3 {
  font-size: 13px;
  font-weight: 600;
}
.browse-pagination {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  color: var(--muted);
}
.browse-pagination button {
  width: 28px;
  height: 28px;
  line-height: 1;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: white;
}
.world-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.world-card {
  padding: 8px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 8px;
  text-align: left;
  min-width: 0;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.world-card:hover {
  border-color: #9bb8ed;
  box-shadow: 0 2px 8px #1e376b0a;
}
.world-card[aria-pressed="true"] {
  border: 2px solid var(--blue);
  padding: 7px;
  background: #f8fbff;
}
.world-card img {
  width: 100%;
  height: 94px;
  object-fit: contain;
  display: block;
  background: #fff;
  border-radius: 3px;
}
.world-card .card-title {
  display: block;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.45;
  margin-top: 9px;
  min-height: 29px;
  color: var(--ink);
}
.world-card .card-type {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.4;
}
.selection-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 21px;
  max-width: 930px;
  line-height: 1.8;
}
.loading-state,
.empty-state {
  padding: 65px 20px;
  text-align: center;
  color: var(--muted);
}
.empty-state h3 {
  font-weight: 600;
  color: var(--ink);
}
.verification-diagram {
  display: grid;
  grid-template-columns: 1fr 1.8fr 1fr;
  align-items: center;
  gap: 22px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.diagram-origin,
.diagram-check {
  text-align: center;
}
.diagram-origin h3,
.diagram-check h3,
.program-box h3 {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 5px;
}
.diagram-origin p,
.diagram-check p,
.program-box p {
  font-size: 11px;
  color: var(--muted);
}
.diagram-icon {
  display: block;
  color: var(--muted);
  font-family: monospace;
  font-size: 32px;
  margin-bottom: 8px;
}
.program-path {
  display: flex;
  align-items: center;
  gap: 16px;
}
.path-arrow {
  color: #9ba5b3;
  font-size: 20px;
}
.program-box {
  flex: 1;
  padding: 15px 20px;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.program-box .small-label {
  font-size: 9px;
}
.inverse-box {
  background: var(--blue-soft);
  border-color: #ceddfb;
}
.inverse-box .small-label {
  color: var(--blue);
}
.render-step {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 12px 34px;
  font-size: 10px;
  color: var(--muted);
}
.pixel-pill {
  font-size: 9px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1px 7px;
}
.check-symbol {
  display: block;
  font-size: 36px;
  font-family: monospace;
  letter-spacing: -4px;
  color: var(--green);
  margin-bottom: 12px;
}
.figure-caption {
  max-width: 870px;
  margin: 20px auto 0;
  font-size: 12px;
  text-align: center;
  color: var(--muted);
}
.loop-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 45px;
}
.loop-steps > div {
  border-top: 2px solid var(--line);
  padding-top: 15px;
}
.loop-steps span {
  font-size: 11px;
  color: var(--blue);
  font-weight: 700;
}
.loop-steps h3 {
  font-size: 13px;
  font-weight: 600;
  margin: 6px 0;
}
.loop-steps p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
.results-section {
  border-top: 1px solid var(--line);
}
.result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.result-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.result-card > .small-label {
  font-size: 9px;
  letter-spacing: 0.05em;
  min-height: 16px;
}
.result-number {
  font-family: "Google Sans", sans-serif;
  font-size: 38px;
  letter-spacing: -1.3px;
  color: var(--blue);
  font-weight: 700;
  line-height: 1.2;
  margin: 22px 0 14px;
}
.result-number span {
  font-size: 20px;
  color: #8a929e;
  font-weight: 400;
  letter-spacing: 0;
}
.result-card h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}
.result-card p:not(.small-label):not(.result-number) {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
.result-card .result-footnote {
  font-size: 10px !important;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 14px;
}
.results-detail {
  margin-top: 40px;
}
.results-detail .column > p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.85;
}
.table-container {
  margin-top: 20px;
}
.adaptation-table {
  font-size: 11px;
  white-space: nowrap;
}
.adaptation-table caption {
  text-align: left;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 10px;
}
.adaptation-table td,
.adaptation-table th {
  vertical-align: middle;
  padding: 10px 7px;
}
.adaptation-table thead th {
  font-size: 10px;
  color: var(--muted);
  font-weight: 500;
}
.adaptation-table tbody th {
  font-weight: 500;
}
.gain {
  color: var(--green);
  font-weight: 600;
}
.results-detail .small-note {
  font-size: 10px !important;
}
.resources-section {
  background: var(--wash);
}
.resources-section p {
  font-size: 14px;
  color: var(--muted);
}
.resource-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
  font-size: 13px;
}
#citation-block {
  margin-top: 35px;
}
#citation-block pre {
  font-size: 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.footer {
  padding: 2.5rem 1.5rem;
  background: #fff;
}
.footer p {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 8px;
}
.footer strong {
  color: var(--ink);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 12px;
  width: min(1000px, 94vw);
  max-height: 94dvh;
  padding: 20px;
  overflow: auto;
  color: var(--ink);
}
dialog::backdrop {
  background: #182233bb;
  backdrop-filter: blur(4px);
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 16px;
}
.dialog-heading h2 {
  font-size: 16px;
  font-weight: 600;
}
.dialog-heading button {
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  font-size: 24px;
  line-height: 1;
  width: 34px;
  height: 34px;
}
#dialog-image {
  width: 100%;
  height: 65dvh;
  object-fit: contain;
}
#dialog-question {
  font-size: 13px;
  margin: 15px auto 0;
  max-width: 780px;
  white-space: pre-wrap;
}
@media (min-width: 1400px) {
  .site-width {
    max-width: 1140px !important;
  }
  .teaser-item img {
    height: 164px;
  }
}
@media (max-width: 1000px) {
  .publication-title.title.is-1 {
    font-size: 36px;
  }
  .teaser-grid {
    gap: 9px;
  }
  .teaser-item img {
    height: 125px;
  }
  .teaser-item {
    font-size: 9px;
  }
  .filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .image-stage {
    height: 340px;
  }
  .question-column {
    padding: 22px 20px;
  }
  .world-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .world-card img {
    height: 110px;
  }
  .world-card .card-title {
    min-height: 0;
  }
  .verification-diagram {
    gap: 12px;
    padding: 22px;
  }
  .program-path {
    gap: 8px;
  }
  .program-box {
    padding: 12px;
  }
  .result-grid {
    gap: 14px;
  }
  .result-card {
    padding: 20px;
  }
  .result-card > .small-label {
    min-height: 28px;
  }
}
@media (max-width: 700px) {
  html {
    scroll-padding-top: 20px;
  }
  .section {
    padding: 3.3rem 20px;
  }
  .site-nav {
    height: auto;
    min-height: 62px;
    padding: 12px 20px;
    gap: 14px;
  }
  .wordmark {
    font-size: 14px;
  }
  .loop-mark {
    font-size: 27px;
  }
  .nav-links {
    gap: 14px;
    font-size: 10px;
  }
  .publication-header .hero-body {
    padding: 2.6rem 20px 2rem;
  }
  .project-name {
    font-size: 34px;
  }
  .publication-title.title.is-1 {
    font-size: 29px;
    letter-spacing: -0.7px;
    line-height: 1.22;
  }
  .desktop-break {
    display: none;
  }
  .hero-description {
    font-size: 16px;
  }
  .publication-links .button {
    font-size: 12px;
    height: 40px;
    padding: 0 18px;
  }
  .teaser-section {
    padding: 0 20px 1rem;
  }
  .teaser-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 10px;
  }
  .teaser-item img {
    height: 115px;
  }
  .teaser-item {
    font-size: 9px;
    gap: 8px;
  }
  .teaser-caption {
    font-size: 12px;
    margin-top: 25px;
  }
  .title.is-3 {
    font-size: 26px;
  }
  .section-intro > p:last-child {
    font-size: 14px;
  }
  .section-intro br {
    display: none;
  }
  .abstract-section {
    padding-top: 2rem;
  }
  .abstract-section .content {
    font-size: 14px;
    text-align: left !important;
  }
  .filter-bar {
    gap: 12px;
  }
  .filter-bar input,
  .filter-bar select {
    font-size: 11px;
    padding: 9px;
    height: 41px;
  }
  .filter-bar label > span {
    font-size: 10px;
  }
  .viewer-topline {
    padding: 12px 15px;
    font-size: 9px;
  }
  .viewer-body {
    grid-template-columns: 1fr;
  }
  .visual-column {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 16px;
  }
  .image-stage {
    height: 320px;
  }
  .question-column {
    padding: 22px;
  }
  .question-column blockquote {
    max-height: none;
    font-size: 13px;
  }
  .sample-controls {
    font-size: 10px;
  }
  .question-column h3 {
    font-size: 20px;
  }
  .world-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .world-card img {
    height: 108px;
  }
  .world-card .card-title {
    font-size: 11px;
    min-height: 32px;
  }
  .world-card .card-type {
    font-size: 9px;
  }
  .selection-note {
    font-size: 10px;
  }
  .verification-diagram {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .diagram-origin p,
  .diagram-check p {
    font-size: 12px;
  }
  .diagram-origin {
    padding-bottom: 8px;
  }
  .diagram-icon {
    font-size: 25px;
    margin-bottom: 3px;
  }
  .diagram-paths {
    max-width: 400px;
    width: 100%;
    margin: auto;
  }
  .diagram-check {
    border-top: 1px solid var(--line);
    padding-top: 15px;
    margin-top: 8px;
  }
  .check-symbol {
    font-size: 25px;
    margin-bottom: 3px;
  }
  .program-box {
    padding: 15px;
  }
  .program-path {
    gap: 14px;
  }
  .render-step {
    margin: 10px 33px;
  }
  .loop-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .result-grid {
    grid-template-columns: 1fr;
  }
  .result-card > .small-label {
    min-height: 0;
  }
  .result-card {
    padding: 24px;
  }
  .result-number {
    margin: 15px 0;
  }
  .result-card p:not(.small-label):not(.result-number) {
    font-size: 13px;
  }
  .result-card h3 {
    font-size: 16px;
  }
  .results-detail.columns.is-variable {
    margin-top: 28px;
    margin-left: 0;
    margin-right: 0;
  }
  .results-detail.columns.is-variable > .column {
    padding-left: 0;
    padding-right: 0;
  }
  .figure-caption {
    font-size: 11px;
  }
  .resource-links {
    font-size: 12px;
  }
  .footer p {
    font-size: 10px;
  }
  #dialog-image {
    height: 50dvh;
  }
  .dialog-heading h2 {
    font-size: 14px;
  }
  #dialog-question {
    font-size: 12px;
  }
}
@media (max-width: 380px) {
  .site-nav {
    padding: 12px 14px;
  }
  .nav-links {
    gap: 10px;
    font-size: 9px;
  }
  .section {
    padding-left: 14px;
    padding-right: 14px;
  }
  .publication-title.title.is-1 {
    font-size: 26px;
  }
  .teaser-item img {
    height: 94px;
  }
  .question-column {
    padding: 18px;
  }
  .answer-controls {
    gap: 10px;
  }
  .answer-controls .button {
    font-size: 11px;
  }
  .image-stage {
    height: 280px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
@media print {
  .site-nav,
  .filter-bar,
  .explorer-status,
  .browse-header,
  .world-grid,
  .sample-buttons,
  .answer-controls,
  .enlarge-hint,
  .source-details,
  .publication-links {
    display: none !important;
  }
  .section {
    padding: 25px 0;
  }
  .question-viewer,
  .result-card,
  .verification-diagram {
    break-inside: avoid;
  }
  .viewer-body {
    grid-template-columns: 1fr 1fr;
  }
  .image-stage {
    height: 300px;
  }
  .footer {
    padding: 15px;
  }
  .explorer-section,
  .resources-section {
    background: #fff;
  }
}

.copy-status {
  overflow-wrap: anywhere;
}

.publication-links .resource-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}
