/* Fruit Fly Neuron Reconstruction keeps its own illustration and evaluation examples. */
.track-fruit-fly-neuron-reconstruction .track-path {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 42px;
  color: var(--muted);
  font-size: 13px;
}

.track-fruit-fly-neuron-reconstruction .track-intro {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: 44px;
  margin-bottom: 42px;
}

.content-page .track-fruit-fly-neuron-reconstruction h1 {
  margin: 0 0 18px;
  font-size: 46px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: normal;
}

.track-fruit-fly-neuron-reconstruction .track-deck {
  max-width: 55ch;
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.4;
}

.track-fruit-fly-neuron-reconstruction .track-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 22px;
  font-size: 13px;
}

.track-fruit-fly-neuron-reconstruction .track-links a,
.track-fruit-fly-neuron-reconstruction .fly-section-copy sup a,
.track-fruit-fly-neuron-reconstruction .method-references a {
  color: var(--link);
}

.track-fruit-fly-neuron-reconstruction .method-references a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.track-fruit-fly-neuron-reconstruction #task-details > section {
  border-block-end: 0;
}

.track-fruit-fly-neuron-reconstruction #task-details > section > h2 {
  padding-inline-start: 0;
  border-inline-start: 0;
}

.track-fruit-fly-neuron-reconstruction .fly-section-copy [hidden] {
  display: none !important;
}

.track-fruit-fly-neuron-reconstruction .fly-guide .real-data {
  margin-block: 20px 24px;
  padding: 0;
  border: 0;
}

.track-fruit-fly-neuron-reconstruction .fly-guide .real-data-pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.track-fruit-fly-neuron-reconstruction .fly-guide .real-data p {
  margin: 8px 0 0;
}

.track-fruit-fly-neuron-reconstruction .fly-model-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: start;
  gap: 32px;
  padding-block: 20px;
  border-block-start: 1px solid var(--line);
}

.track-fruit-fly-neuron-reconstruction .fly-stage-copy h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: normal;
}

.track-fruit-fly-neuron-reconstruction .fly-stage-copy p {
  margin: 0 0 12px;
  color: var(--ink);
}

.track-fruit-fly-neuron-reconstruction .fly-stage-copy dl {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 4px 12px;
  margin: 0;
}

.track-fruit-fly-neuron-reconstruction .fly-stage-copy dt {
  color: var(--muted);
}

.track-fruit-fly-neuron-reconstruction .fly-stage-copy dd {
  margin: 0;
}

.track-fruit-fly-neuron-reconstruction .fly-teaching-visual {
  max-inline-size: 340px;
  margin: 0 auto;
}

.track-fruit-fly-neuron-reconstruction .fly-diagram-frames {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.track-fruit-fly-neuron-reconstruction .fly-teaching-visual figcaption {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}

.content-page .track-fruit-fly-neuron-reconstruction #fly-method .fly-stage-diagram .display-math {
  margin-block: 4px 0;
}

.track-fruit-fly-neuron-reconstruction .fly-em-example {
  position: relative;
  flex: 1 1 0;
  min-inline-size: 0;
  max-inline-size: 180px;
  overflow: hidden;
  border-radius: 5px;
  aspect-ratio: 4 / 3;
}

.track-fruit-fly-neuron-reconstruction .fly-em-example img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.track-fruit-fly-neuron-reconstruction .fly-em-example svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.track-fruit-fly-neuron-reconstruction .fly-visual-arrow {
  color: var(--muted);
  font-size: 24px;
}

.track-fruit-fly-neuron-reconstruction .fly-shape-illustration {
  display: block;
  width: 100%;
  height: auto;
}

.track-fruit-fly-neuron-reconstruction .fly-task-table table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
}

.track-fruit-fly-neuron-reconstruction .fly-task-table :is(th, td) {
  background: transparent;
  border-block-end: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.track-fruit-fly-neuron-reconstruction .fly-task-table tbody th {
  font-weight: 500;
}

@media(max-width:1050px) {
  .track-fruit-fly-neuron-reconstruction .track-intro {
    grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
    gap: 26px;
  }
}

@media(max-width:800px) {
  .track-fruit-fly-neuron-reconstruction .track-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .track-fruit-fly-neuron-reconstruction .track-deck {
    font-size: 22px;
  }

  .track-fruit-fly-neuron-reconstruction .fly-model-stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
}

@media(max-width:720px) {
  .content-page .track-fruit-fly-neuron-reconstruction h1 {
    font-size: 34px;
  }
}

@media(max-width:360px) {
  .track-fruit-fly-neuron-reconstruction #task-details #fly-windows :is(th, td) {
    padding-inline: 5px;
  }

  .track-fruit-fly-neuron-reconstruction #fly-windows td:last-child {
    overflow-wrap: anywhere;
  }
}
