.voxelfix-page .publication-header .hero-body {
  padding-bottom: 2.25rem;
}

.voxelfix-page .voxelfix-status {
  color: #777;
  margin-top: 0.6rem;
}

.voxelfix-page .voxelfix-affiliations {
  margin-top: 0.85rem;
}

.voxelfix-page .voxelfix-affiliations .author-block {
  margin: 0.1rem 0.45rem;
}

.voxelfix-page .voxelfix-contributions {
  color: #666;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.9rem;
  gap: 0.2rem 1rem;
  justify-content: center;
  margin-top: 0.45rem;
}

.voxelfix-page .voxelfix-links {
  margin-top: 0.75rem;
  padding-bottom: 0;
}

.voxelfix-page .voxelfix-links .button:focus-visible,
.voxelfix-page .catalog-controls select:focus-visible,
.voxelfix-page .catalog-controls button:focus-visible,
.voxelfix-page .viewer-shell button:focus-visible,
.voxelfix-page .viewer-shell input:focus-visible,
.voxelfix-page .viewer-shell canvas:focus-visible {
  outline: 3px solid #55c2ff;
  outline-offset: 3px;
}

.voxelfix-page .voxelfix-teaser .hero-body {
  padding-top: 0;
}

.voxelfix-page .voxelfix-figure {
  margin: 0 auto;
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

.voxelfix-page .voxelfix-figure img {
  display: block;
  height: auto;
  max-width: 100%;
  width: 100%;
}

.voxelfix-page .voxelfix-caption {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0.9rem auto 0;
  max-width: 900px;
  text-align: justify;
}

.voxelfix-page .voxelfix-section-intro {
  color: #555;
  margin: -0.75rem auto 2rem;
  max-width: 760px;
}

.voxelfix-page .voxelfix-subtitle {
  color: #555;
  margin: -0.8rem 0 2.25rem;
}

.voxelfix-page .voxelfix-table-figure img {
  margin-left: auto;
  margin-right: auto;
  max-width: 880px;
}

.voxelfix-page .voxelfix-table-narrow img {
  max-width: 720px;
}

.voxelfix-page .voxelfix-divider {
  background: #dbdbdb;
  border: 0;
  height: 1px;
  margin: 2.5rem auto;
  max-width: 900px;
}

.voxelfix-page #viewer {
  overflow: hidden;
}

.voxelfix-page .section.hero > .container {
  min-width: 0;
  width: 100%;
}

.voxelfix-page .catalog-controls {
  align-items: end;
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 8px 8px 0 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(180px, 1fr) minmax(220px, 1fr) minmax(240px, 1.15fr);
  padding: 1rem;
}

.voxelfix-page .catalog-field {
  display: grid;
  gap: 0.35rem;
}

.voxelfix-page .catalog-field > span,
.voxelfix-page .viewer-eyebrow {
  color: #59635e;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.voxelfix-page .catalog-field select {
  appearance: none;
  background-color: #fff;
  background-image: linear-gradient(45deg, transparent 50%, #39413d 50%), linear-gradient(135deg, #39413d 50%, transparent 50%);
  background-position: calc(100% - 17px) 19px, calc(100% - 12px) 19px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
  border: 1px solid #b9c0bc;
  border-radius: 5px;
  color: #17201b;
  font: inherit;
  min-height: 44px;
  padding: 0.55rem 2.25rem 0.55rem 0.75rem;
  width: 100%;
}

.voxelfix-page .catalog-field select:disabled {
  background-color: #f4f4f4;
  color: #777;
  cursor: progress;
}

.voxelfix-page .catalog-status {
  align-items: center;
  color: #5b655f;
  display: flex;
  font-size: 0.82rem;
  gap: 0.75rem;
  justify-content: flex-end;
  min-height: 44px;
  text-align: right;
}

.voxelfix-page .catalog-status::before {
  background: #8d9791;
  border-radius: 50%;
  content: "";
  flex: 0 0 auto;
  height: 8px;
  width: 8px;
}

.voxelfix-page .catalog-status.loading::before {
  animation: voxelfix-pulse 1.2s ease-in-out infinite;
  background: #f7b731;
}

.voxelfix-page .catalog-status.positive::before {
  background: #48c774;
}

.voxelfix-page .catalog-status.error::before {
  background: #f14668;
}

.voxelfix-page .catalog-status button,
.voxelfix-page .class-legend-section header button {
  background: #fff;
  border: 1px solid #9fa9a3;
  border-radius: 999px;
  color: #25302a;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  min-height: 44px;
  padding: 0.4rem 0.85rem;
}

.voxelfix-page .scene-metrics {
  background: #17201b;
  border-left: 1px solid #17201b;
  border-right: 1px solid #17201b;
  color: #fff;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 1rem;
}

.voxelfix-page .scene-metrics[hidden] {
  display: none;
}

.voxelfix-page .scene-metrics > div {
  align-items: baseline;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  display: flex;
  gap: 0.65rem;
  justify-content: center;
  padding: 0.8rem 1rem;
}

.voxelfix-page .scene-metrics > div:last-child {
  border-right: 0;
}

.voxelfix-page .scene-metrics small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.69rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.voxelfix-page .scene-metrics strong {
  font-size: 1.05rem;
}

.voxelfix-page .scene-metrics strong.positive {
  color: #7de7a0;
}

.voxelfix-page .scene-metrics strong.negative {
  color: #ff8d86;
}

.voxelfix-page .viewer-shell {
  background: #0d1411;
  border: 1px solid #0d1411;
  border-radius: 0 0 8px 8px;
  color: #f5f8f6;
  padding: 1rem;
}

.voxelfix-page .viewer-toolbar {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.voxelfix-page .segmented-control {
  background: #18211d;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  display: inline-flex;
  padding: 3px;
}

.voxelfix-page .mode-button {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.68);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  min-height: 44px;
  padding: 0.5rem 0.9rem;
}

.voxelfix-page .mode-button:hover {
  color: #fff;
}

.voxelfix-page .mode-button.active {
  background: #fff;
  color: #17201b;
}

.voxelfix-page .viewer-options {
  align-items: center;
  display: flex;
  gap: 0.75rem;
}

.voxelfix-page .check-control {
  align-items: center;
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  display: flex;
  font-size: 0.78rem;
  gap: 0.45rem;
  min-height: 44px;
  white-space: nowrap;
}

.voxelfix-page .check-control input {
  accent-color: #55c2ff;
  height: 18px;
  width: 18px;
}

.voxelfix-page .icon-button {
  align-items: center;
  background: #18211d;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.voxelfix-page .icon-button:hover {
  background: #25302a;
}

.voxelfix-page .canvas-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.voxelfix-page .viewport-card {
  background: #111a16;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 6px;
  min-width: 0;
  overflow: hidden;
}

.voxelfix-page .viewport-card.featured {
  border-color: rgba(85, 194, 255, 0.65);
  box-shadow: inset 0 0 0 1px rgba(85, 194, 255, 0.14);
}

.voxelfix-page .viewport-card header {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 0.65rem;
  min-height: 64px;
  padding: 0.75rem;
}

.voxelfix-page .viewport-card header > span {
  align-items: center;
  background: rgba(255, 255, 255, 0.09);
  border-radius: 4px;
  color: #91a199;
  display: flex;
  flex: 0 0 auto;
  font-size: 0.7rem;
  font-weight: 800;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.voxelfix-page .viewport-card.featured header > span {
  background: #55c2ff;
  color: #0d1411;
}

.voxelfix-page .viewport-card header div {
  display: grid;
  min-width: 0;
}

.voxelfix-page .viewport-card header strong {
  color: #fff;
  font-size: 0.85rem;
}

.voxelfix-page .viewport-card header small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.66rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.voxelfix-page .viewport-card canvas {
  aspect-ratio: 1 / 1;
  cursor: grab;
  display: block;
  height: auto;
  touch-action: none;
  width: 100%;
}

.voxelfix-page .viewport-card canvas:active {
  cursor: grabbing;
}

.voxelfix-page .canvas-hint {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.62rem;
  min-height: 32px;
  padding: 0.45rem 0.7rem;
  text-align: center;
}

.voxelfix-page .canvas-hint span {
  color: #55c2ff;
  margin: 0 0.2rem;
}

.voxelfix-page .viewer-message {
  background: #3b1720;
  border: 1px solid rgba(255, 103, 121, 0.5);
  border-radius: 5px;
  color: #ffc1ca;
  display: none;
  font-size: 0.8rem;
  margin-top: 0.75rem;
  padding: 0.75rem;
}

.voxelfix-page .viewer-message.visible {
  display: block;
}

.voxelfix-page .viewer-message[data-type="info"] {
  background: #102a35;
  border-color: rgba(85, 194, 255, 0.45);
  color: #b9e8ff;
}

.voxelfix-page .comparison-footer {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1rem;
}

.voxelfix-page .stat-strip {
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.voxelfix-page .stat-strip > div {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  padding: 0.1rem 0.9rem;
}

.voxelfix-page .stat-strip > div:first-child {
  padding-left: 0;
}

.voxelfix-page .stat-strip > div:last-child {
  border-right: 0;
}

.voxelfix-page .stat-strip span {
  color: #fff;
  font-size: 1.08rem;
  font-weight: 700;
}

.voxelfix-page .stat-strip small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.6rem;
  line-height: 1.25;
}

.voxelfix-page .legend {
  display: flex;
  flex: 0 1 410px;
  flex-wrap: wrap;
  gap: 0.45rem 0.8rem;
  justify-content: flex-end;
}

.voxelfix-page .legend-item {
  align-items: center;
  color: rgba(255, 255, 255, 0.64);
  display: inline-flex;
  font-size: 0.64rem;
  gap: 0.35rem;
}

.voxelfix-page .legend-swatch {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 2px;
  display: inline-block;
  height: 10px;
  width: 10px;
}

.voxelfix-page .class-legend-section {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 1rem;
  padding-top: 1rem;
}

.voxelfix-page .class-legend-section > header {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.voxelfix-page .class-legend-section h3 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin: 0.1rem 0;
}

.voxelfix-page .class-legend-section p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  margin: 0;
}

.voxelfix-page .class-legend-section header button {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  min-width: 88px;
}

.voxelfix-page .class-legend-section header button:disabled {
  cursor: default;
  opacity: 0.42;
}

.voxelfix-page .class-legend {
  display: grid;
  gap: 0.45rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 1rem;
}

.voxelfix-page .class-key {
  align-items: center;
  background: #151f1a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  display: grid;
  font: inherit;
  gap: 0 0.45rem;
  grid-template-columns: 12px minmax(0, 1fr);
  min-height: 48px;
  padding: 0.45rem 0.55rem;
  text-align: left;
}

.voxelfix-page .class-key:hover {
  border-color: rgba(85, 194, 255, 0.65);
}

.voxelfix-page .class-key > i {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 2px;
  grid-row: 1 / 3;
  height: 12px;
  width: 12px;
}

.voxelfix-page .class-key strong {
  font-size: 0.68rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.voxelfix-page .class-key small {
  color: rgba(255, 255, 255, 0.43);
  font-size: 0.57rem;
  white-space: nowrap;
}

.voxelfix-page .class-key.absent {
  opacity: 0.4;
}

.voxelfix-page .class-key.hidden-class {
  opacity: 0.42;
}

.voxelfix-page .class-key.hidden-class > i {
  filter: grayscale(1);
}

@keyframes voxelfix-pulse {
  0%, 100% { opacity: 0.45; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.1); }
}

@media screen and (max-width: 1023px) {
  .voxelfix-page .canvas-grid {
    grid-template-columns: 1fr;
  }

  .voxelfix-page .viewport-card canvas {
    aspect-ratio: 16 / 8;
    min-height: 300px;
  }

  .voxelfix-page .class-legend {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media screen and (max-width: 768px) {
  .voxelfix-page .voxelfix-caption {
    font-size: 0.88rem;
    text-align: left;
  }

  .voxelfix-page .voxelfix-table-figure {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding-bottom: 0.35rem;
  }

  .voxelfix-page .voxelfix-table-figure::before {
    color: #6a6a6a;
    content: "Swipe to view all columns →";
    display: block;
    font-size: 0.72rem;
    left: 0;
    margin-bottom: 0.4rem;
    position: sticky;
    width: 100%;
  }

  .voxelfix-page .voxelfix-table-figure img {
    min-width: 620px;
  }

  .voxelfix-page .voxelfix-table-figure figcaption {
    min-width: 0;
    width: 100%;
  }

  .voxelfix-page .catalog-controls {
    grid-template-columns: 1fr;
  }

  .voxelfix-page .catalog-status {
    justify-content: flex-start;
    text-align: left;
  }

  .voxelfix-page .scene-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .voxelfix-page .scene-metrics > div:nth-child(2) {
    border-right: 0;
  }

  .voxelfix-page .scene-metrics > div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .voxelfix-page .viewer-toolbar,
  .voxelfix-page .comparison-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .voxelfix-page .segmented-control {
    border-radius: 6px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .voxelfix-page .mode-button {
    border-radius: 4px;
    line-height: 1.15;
    padding-left: 0.45rem;
    padding-right: 0.45rem;
  }

  .voxelfix-page .viewer-options {
    justify-content: space-between;
  }

  .voxelfix-page .viewport-card canvas {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  .voxelfix-page .stat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .voxelfix-page .stat-strip > div {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.65rem;
  }

  .voxelfix-page .stat-strip > div:first-child {
    padding-left: 0.65rem;
  }

  .voxelfix-page .stat-strip > div:nth-child(2) {
    border-right: 0;
  }

  .voxelfix-page .stat-strip > div:nth-child(n + 3) {
    border-bottom: 0;
  }

  .voxelfix-page .legend {
    flex-basis: auto;
    justify-content: flex-start;
  }

  .voxelfix-page .class-legend {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 480px) {
  .voxelfix-page .viewer-shell,
  .voxelfix-page .catalog-controls {
    padding: 0.7rem;
  }

  .voxelfix-page .scene-metrics {
    padding: 0 0.7rem;
  }

  .voxelfix-page .scene-metrics > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.1rem;
  }

  .voxelfix-page .class-legend-section > header {
    align-items: flex-start;
    flex-direction: column;
  }

  .voxelfix-page .class-legend-section header button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .voxelfix-page .catalog-status.loading::before {
    animation: none;
  }
}
