body {
  font-family: 'Noto Sans', sans-serif;
}

.footer .icon-link {
  color: #000;
  font-size: 25px;
}

.dnerf {
  font-variant: small-caps;
}

.publication-title {
  font-family: 'Google Sans', sans-serif;
  font-size: 2.5rem;
}

.caster-lockup {
  display: table;
  margin: 0 auto 1.15rem;
  padding-top: 18px;
}

.caster-wordmark-stack {
  display: block;
  isolation: isolate;
  position: relative;
  white-space: nowrap;
  width: max-content;
}

.caster-wordmark,
.caster-echo {
  display: block;
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  padding-left: 0.1em;
}

.caster-wordmark {
  background: linear-gradient(105deg, #ffad33 0%, #ff7a00 55%, #e85d04 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  z-index: 4;
}

.caster-echo {
  color: #ff8c1a;
  left: 0;
  position: absolute;
  top: 0;
  user-select: none;
  width: 100%;
}

.caster-echo-1 {
  opacity: 0.22;
  transform: translate(-2px, -6px);
  z-index: 3;
}

.caster-echo-2 {
  opacity: 0.12;
  transform: translate(-4px, -12px);
  z-index: 2;
}

.caster-echo-3 {
  opacity: 0.055;
  transform: translate(-6px, -18px);
  z-index: 1;
}

.publication-title-rest {
  display: block;
  font-size: 2.5rem;
  line-height: 1.125;
}

.publication-authors {
  font-family: 'Google Sans', sans-serif;
}

.author-block {
  display: inline-block;
  white-space: nowrap;
}

.link-block a {
  margin-top: 5px;
  margin-bottom: 5px;
}

.teaser .hero-body {
  padding-top: 0;
  padding-bottom: 3rem;
}

.teaser {
  font-family: 'Google Sans', sans-serif;
}

.section {
  padding: 4.5rem 1.5rem;
}

.pointcloud-section {
  background: #fff;
  padding-top: 2rem;
}

.overview-section > .container {
  margin-inline: auto;
}

#overview-title {
  width: 100%;
  margin-inline: auto;
  text-align: center;
}

.overview-figure {
  margin: 2rem 0 0;
}

.overview-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.overview-figure figcaption {
  margin-top: 2rem;
  font-size: 18px;
}

.caster-accent {
  color: #ff9900;
}

.publication-video {
  border-radius: 10px;
  height: 0;
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
  width: 100%;
}

.publication-video iframe {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.pointcloud-section > .container.is-max-desktop {
  max-width: 1200px;
}

.pointcloud-heading {
  margin: 0 auto 2rem;
  max-width: 760px;
}

.section-kicker {
  color: #e96f00;
  font-family: 'Google Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  margin: 0 0 0.55rem;
  text-transform: uppercase;
}

.pointcloud-heading .title {
  margin-bottom: 0.8rem;
}

.pointcloud-intro {
  color: #626262;
  line-height: 1.65;
  margin: 0;
}

.pointcloud-viewer {
  background: #111720;
  border: 1px solid #273241;
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(19, 25, 34, 0.16);
  color: #edf1f5;
  overflow: hidden;
}

.viewer-toolbar {
  align-items: flex-end;
  background: #171e28;
  border-bottom: 1px solid #293442;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.9rem 1rem;
}

.viewer-field {
  display: grid;
  gap: 0.28rem;
}

.viewer-field > span,
.layer-controls legend,
.viewer-timeline label {
  color: #aeb9c7;
  font-family: 'Google Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.viewer-field select {
  appearance: none;
  background: #222c38 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23dbe3ec' d='m1 1 5 5 5-5' fill-rule='evenodd'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
  border: 1px solid #394758;
  border-radius: 7px;
  color: #f4f6f8;
  font: inherit;
  min-width: 250px;
  padding: 0.55rem 2.25rem 0.55rem 0.72rem;
}

.viewer-actions {
  display: flex;
  gap: 0.5rem;
}

.viewer-button {
  align-items: center;
  background: #252f3c;
  border: 1px solid #3a4757;
  border-radius: 7px;
  color: #eef3f8;
  cursor: pointer;
  display: inline-flex;
  font: 600 0.86rem 'Google Sans', sans-serif;
  gap: 0.5rem;
  justify-content: center;
  min-height: 39px;
  padding: 0.55rem 0.85rem;
}

.viewer-button:hover:not(:disabled) {
  background: #313d4c;
}

.viewer-button:disabled,
.viewer-field select:disabled,
.viewer-timeline input:disabled {
  cursor: wait;
  opacity: 0.55;
}

.viewer-button-primary {
  background: #f18419;
  border-color: #f18419;
  color: #111720;
}

.viewer-button-primary:hover:not(:disabled) {
  background: #ff9c3b;
}

.play-icon {
  border-bottom: 5px solid transparent;
  border-left: 8px solid currentColor;
  border-top: 5px solid transparent;
  display: inline-block;
  height: 0;
  width: 0;
}

.is-playing .play-icon {
  border: 0;
  border-left: 3px solid currentColor;
  border-right: 3px solid currentColor;
  height: 10px;
  width: 9px;
}

.viewer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 235px;
  min-height: 510px;
}

.pointcloud-canvas-wrap {
  min-height: 510px;
  overflow: hidden;
  position: relative;
}

#pointcloud-canvas {
  display: block;
  height: 100%;
  inset: 0;
  position: absolute;
  touch-action: none;
  width: 100%;
}

.viewer-loading {
  align-items: center;
  background: rgba(17, 23, 32, 0.86);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  inset: 0;
  justify-content: center;
  position: absolute;
  transition: opacity 180ms ease;
  z-index: 3;
}

.viewer-loading.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.viewer-loading.is-error {
  color: #ffb4a6;
  padding: 2rem;
  text-align: center;
}

.viewer-spinner {
  animation: viewer-spin 900ms linear infinite;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  border-top-color: #ff8b1f;
  height: 28px;
  width: 28px;
}

@keyframes viewer-spin {
  to { transform: rotate(360deg); }
}

.viewer-hint,
.point-count {
  background: rgba(12, 17, 24, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  bottom: 0.75rem;
  color: #b9c3cf;
  font-size: 0.72rem;
  padding: 0.35rem 0.5rem;
  pointer-events: none;
  position: absolute;
}

.viewer-hint { left: 0.75rem; }
.point-count { right: 0.75rem; }

.viewer-sidebar {
  background: #171e28;
  border-left: 1px solid #293442;
  padding: 1rem;
}

.video-preview {
  margin-bottom: 1rem;
}

.video-preview video {
  aspect-ratio: 848 / 480;
  background: #090d12;
  border: 1px solid #303c4b;
  border-radius: 7px;
  display: block;
  object-fit: cover;
  width: 100%;
}

.video-preview > span {
  color: #8f9baa;
  display: block;
  font-size: 0.7rem;
  margin-top: 0.35rem;
  text-align: right;
}

.viewer-meta {
  border-bottom: 1px solid #2b3644;
  padding-bottom: 0.9rem;
}

.viewer-task {
  color: #fff;
  font-family: 'Google Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
}

.viewer-subtitle {
  color: #8f9baa;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

.layer-controls {
  border: 0;
  margin: 1rem 0 0;
  padding: 0;
}

.layer-controls legend {
  margin-bottom: 0.55rem;
}

.layer-controls label {
  align-items: center;
  color: #d7dee7;
  cursor: pointer;
  display: flex;
  font-size: 0.82rem;
  gap: 0.45rem;
  min-height: 28px;
}

.layer-controls input {
  accent-color: #f18419;
}

.legend-swatch {
  border-radius: 50%;
  display: inline-block;
  height: 7px;
  width: 7px;
}

.legend-scene { background: #89a8c7; }
.legend-video { background: #f0f3f7; }
.legend-tracks { background: #ffd34e; }

.track-legend {
  border-top: 1px solid #2b3644;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
}

.track-legend:empty { display: none; }

.track-key {
  align-items: center;
  color: #9eabb9;
  display: flex;
  font-size: 0.72rem;
  gap: 0.45rem;
  margin-top: 0.35rem;
}

.track-key i {
  border-radius: 50%;
  height: 7px;
  width: 7px;
}

.viewer-timeline {
  background: #171e28;
  border-top: 1px solid #293442;
  padding: 0.75rem 1rem 0.9rem;
}

.viewer-timeline label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.viewer-timeline output {
  color: #edf1f5;
  font-variant-numeric: tabular-nums;
}

.viewer-timeline input {
  accent-color: #f18419;
  cursor: pointer;
  display: block;
  margin: 0;
  width: 100%;
}

.viewer-noscript {
  background: #fff3e5;
  color: #7c430d;
  padding: 1rem;
  text-align: center;
}

/* Individual, lazily initialized task viewers. */
.pointcloud-gallery {
  display: grid;
  gap: 3.5rem;
}

.gallery-loading,
.gallery-error {
  align-items: center;
  color: #777;
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  min-height: 180px;
  text-align: center;
}

.task-viewer {
  min-width: 0;
}

.task-viewer-title {
  color: #363636;
  font: 600 1.45rem/1.25 'Google Sans', sans-serif;
  margin: 0 0 0.8rem;
  text-align: left;
}

.task-viewer-shell {
  background: #fff;
  border: 1px solid #dedfdb;
  border-radius: 11px;
  box-shadow: 0 10px 30px rgba(35, 38, 36, 0.08);
  overflow: hidden;
}

.task-viewer-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 235px;
  min-height: 475px;
}

.task-canvas-wrap {
  background: #e5e9e5;
  min-height: 475px;
  overflow: hidden;
  position: relative;
}

.task-canvas-wrap canvas {
  display: block;
  height: 100%;
  inset: 0;
  position: absolute;
  touch-action: none;
  width: 100%;
}

.task-loading {
  align-items: center;
  background: rgba(229, 233, 229, 0.94);
  color: #6b6e6b;
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  gap: 0.7rem;
  inset: 0;
  justify-content: center;
  position: absolute;
  transition: opacity 180ms ease;
  z-index: 3;
}

.task-loading .viewer-spinner,
.gallery-loading .viewer-spinner {
  border-color: rgba(70, 70, 70, 0.15);
  border-top-color: #f18419;
}

.task-loading.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.task-loading.is-error {
  color: #a23b25;
  padding: 1.5rem;
  text-align: center;
}

.task-loading.is-error .viewer-spinner {
  display: none;
}

.task-viewer-hint,
.task-point-count {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(62, 66, 63, 0.14);
  border-radius: 5px;
  bottom: 0.7rem;
  color: #606460;
  font-size: 0.7rem;
  padding: 0.32rem 0.48rem;
  pointer-events: none;
  position: absolute;
}

.task-viewer-hint { left: 0.7rem; }
.task-point-count { right: 0.7rem; }

.task-sidebar {
  background: #fff;
  border-left: 1px solid #e1e2de;
  padding: 1rem;
}

.task-video-preview {
  margin-bottom: 1rem;
}

.task-video-preview video {
  aspect-ratio: 848 / 480;
  background: #eceeeb;
  border: 1px solid #dedfdb;
  border-radius: 7px;
  display: block;
  object-fit: cover;
  width: 100%;
}

.task-video-preview > span {
  color: #858985;
  display: block;
  font-size: 0.68rem;
  margin-top: 0.3rem;
  text-align: right;
}

.task-actions {
  display: grid;
  gap: 0.45rem;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 1rem;
}

.task-button {
  align-items: center;
  background: #fff;
  border: 1px solid #d7d9d5;
  border-radius: 6px;
  color: #474a47;
  cursor: pointer;
  display: inline-flex;
  font: 600 0.8rem 'Google Sans', sans-serif;
  gap: 0.42rem;
  justify-content: center;
  min-height: 37px;
  padding: 0.5rem 0.62rem;
}

.task-button:hover:not(:disabled) {
  background: #f5f5f2;
  border-color: #c5c8c3;
}

.task-button:disabled,
.task-timeline input:disabled {
  cursor: wait;
  opacity: 0.48;
}

.task-play {
  background: #f18419;
  border-color: #f18419;
  color: #fff;
}

.task-play:hover:not(:disabled) {
  background: #de7310;
  border-color: #de7310;
}

.task-layers {
  border: 0;
  border-top: 1px solid #ecece8;
  margin: 0;
  padding: 0.9rem 0 0;
}

.task-layers legend {
  color: #777b77;
  font: 700 0.68rem 'Google Sans', sans-serif;
  letter-spacing: 0.08em;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
}

.task-layers label {
  align-items: center;
  color: #525652;
  cursor: pointer;
  display: flex;
  font-size: 0.8rem;
  gap: 0.42rem;
  min-height: 29px;
}

.task-layers input {
  accent-color: #f18419;
}

.task-track-legend {
  border-top: 1px solid #ecece8;
  margin-top: 0.7rem;
  padding-top: 0.55rem;
}

.task-track-legend:empty {
  display: none;
}

.task-track-legend .track-key {
  color: #777b77;
}

.task-timeline {
  background: #fff;
  border-top: 1px solid #e1e2de;
  padding: 0.7rem 0.9rem 0.8rem;
}

.task-timeline label {
  color: #777b77;
  display: flex;
  font: 700 0.68rem 'Google Sans', sans-serif;
  justify-content: space-between;
  letter-spacing: 0.08em;
  margin-bottom: 0.32rem;
  text-transform: uppercase;
}

.task-timeline output {
  color: #4d514d;
  font-variant-numeric: tabular-nums;
}

.task-timeline input {
  accent-color: #f18419;
  cursor: pointer;
  display: block;
  margin: 0;
  width: 100%;
}

@media screen and (max-width: 768px) {
  .publication-title {
    font-size: 2rem !important;
  }

  .caster-wordmark {
    font-size: 3.25rem;
  }

  .publication-title-rest {
    font-size: 2rem;
  }

  .content.has-text-justified {
    text-align: left !important;
  }

  .section {
    padding: 3rem 1rem;
  }

  .viewer-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .viewer-field select {
    min-width: 0;
    width: 100%;
  }

  .viewer-actions .viewer-button {
    flex: 1;
  }

  .viewer-layout {
    grid-template-columns: 1fr;
  }

  .pointcloud-canvas-wrap {
    min-height: 400px;
  }

  .viewer-sidebar {
    border-left: 0;
    border-top: 1px solid #293442;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(130px, 0.8fr) 1fr;
  }

  .video-preview,
  .viewer-meta,
  .layer-controls {
    margin: 0;
  }

  .viewer-meta {
    border: 0;
    padding: 0;
  }

  .track-legend {
    grid-column: 1 / -1;
    margin-top: 0;
  }

  .pointcloud-gallery {
    gap: 2.75rem;
  }

  .task-viewer-content {
    grid-template-columns: 1fr;
  }

  .task-canvas-wrap {
    min-height: 400px;
  }

  .task-sidebar {
    border-left: 0;
    border-top: 1px solid #e1e2de;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(140px, 0.9fr) 1fr;
  }

  .task-video-preview,
  .task-actions {
    margin: 0;
  }

  .task-layers {
    border-top: 0;
    padding-top: 0;
  }

  .task-track-legend {
    margin-top: 0;
  }
}

@media screen and (max-width: 480px) {
  .pointcloud-canvas-wrap {
    min-height: 340px;
  }

  .viewer-sidebar {
    grid-template-columns: 1fr;
  }

  .track-legend {
    grid-column: auto;
  }

  .viewer-hint {
    display: none;
  }

  .task-canvas-wrap {
    min-height: 340px;
  }

  .task-sidebar {
    grid-template-columns: 1fr;
  }

  .task-viewer-hint {
    display: none;
  }
}

/* Future robot rollouts sit below the synchronized 3D/video pair. */
.rollout-videos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  padding: 0.8rem;
  border-top: 1px solid #e1e2de;
}

.rollout-videos figure { margin: 0; min-width: 0; }
.rollout-videos figcaption,
.rollout-videos .shared-video-preview figcaption {
  color: #606660;
  font: 600 0.8rem 'Noto Sans', sans-serif;
  margin-top: 0.6rem;
  text-align: center;
}
.rollout-empty {
  aspect-ratio: 53 / 30;
  box-sizing: border-box;
  border: 1px dashed #d8dcd6;
  border-radius: 6px;
  background: #f8f9f6;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: center;
  justify-content: center;
  color: #92998e;
  font-size: 0.75rem;
}
.rollout-empty > span:first-child { font-size: 1.65rem; }
.real-video-wrap {
  aspect-ratio: 53 / 30;
  background: #e8ece8;
  border-radius: 7px;
  overflow: hidden;
  position: relative;
}
.real-video-wrap video {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.real-video-speed {
  background: rgba(35, 38, 35, 0.72);
  border-radius: 999px;
  color: #fff;
  font: 700 0.7rem/1 'Noto Sans', sans-serif;
  padding: 0.32rem 0.48rem;
  pointer-events: none;
  position: absolute;
  right: 0.65rem;
  top: 0.65rem;
  z-index: 2;
}
.real-video-wrap .rollout-empty {
  height: 100%;
  width: 100%;
}
.real-rollout [hidden] { display: none !important; }
.simulation-rollout [hidden] { display: none !important; }
.simulation-stage {
  position: relative;
  aspect-ratio: 53 / 30;
  box-sizing: border-box;
  background: #e8ece8;
  border: 1px solid #d9dfd4;
  border-radius: 7px;
  overflow: hidden;
}
.simulation-stage canvas {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
}
.simulation-hint {
  position: absolute;
  bottom: 0.8rem;
  right: 0.6rem;
  padding: 0.25rem 0.4rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.8);
  color: #626a5d;
  font-size: 0.62rem;
  pointer-events: none;
}
.simulation-transport { padding: 0.6rem 0.15rem 0; }
.simulation-transport > div {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: #626a5d;
}
.simulation-transport output { font-variant-numeric: tabular-nums; }
.simulation-transport input { width: 100%; margin: 0.35rem 0 0; accent-color: #ff9900; cursor: pointer; }
.mesh-status { color: #858b80; font-size: 0.7rem; margin-top: 0.8rem; }
.legend-meshes { background: #a3ad95; }

@media screen and (max-width: 600px) {
  .caster-wordmark, .caster-echo { font-size: clamp(2.2rem, 12vw, 3.25rem); }
}

/* Shared, lazy-loaded point-cloud explorer. */
.pointcloud-gallery {
  display: block;
}

.pointcloud-browser {
  align-items: stretch;
  display: grid;
  gap: 1rem;
  grid-template-columns: 190px minmax(0, 1fr);
}

.task-menu {
  background: #fafaf8;
  border: 1px solid #e2e3df;
  border-radius: 10px;
  padding: 0.65rem;
}

.task-menu-label {
  color: #777b77;
  font: 700 0.69rem 'Noto Sans', sans-serif;
  letter-spacing: 0.11em;
  margin: 0.2rem 0.5rem 0.55rem;
  text-transform: uppercase;
}

.task-menu-items {
  display: grid;
  gap: 0.22rem;
}

.task-menu-button {
  appearance: none;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #505450;
  cursor: pointer;
  font: 600 0.78rem/1.28 'Noto Sans', sans-serif;
  min-height: 36px;
  padding: 0.46rem 0.8rem;
  text-align: left;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
  width: 100%;
}

.task-menu-button:hover {
  background: #f1f1ed;
  color: #252825;
}

.task-menu-button.is-active {
  background: rgba(255, 153, 0, 0.1);
  border-color: rgb(255, 153, 0);
  color: rgb(255, 153, 0);
}

.task-menu-button:focus-visible,
.canvas-play-button:focus-visible {
  outline: 3px solid rgba(241, 132, 25, 0.3);
  outline-offset: 2px;
}

.shared-viewer {
  background: #fff;
  border: 1px solid #dedfdb;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(35, 40, 35, 0.08);
  min-width: 0;
  overflow: hidden;
}

.shared-viewer-header {
  align-items: center;
  border-bottom: 1px solid #e4e5e1;
  display: flex;
  min-height: 50px;
  padding: 0.75rem 0.95rem;
}

.shared-task-title {
  color: #2f332f;
  font: 600 1rem/1.3 'Noto Sans', sans-serif;
  margin: 0;
}

.shared-task-prompt {
  color: #554f60;
  background: #f8f5fc;
  border: 1px solid #e6dcf3;
  border-left: 3px solid #8d5fd3;
  border-radius: 8px;
  margin: 0.85rem 0.8rem 0.25rem;
  padding: 0.85rem 1rem;
  font: 400 0.8rem/1.75 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  overflow-wrap: anywhere;
}

.generation-prompt-label {
  color: #7950b7;
  font-weight: 600;
}

.shared-viewer-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 0.8rem;
  padding: 0.8rem;
}

.shared-canvas-wrap {
  background: #e8ece8;
  min-height: 290px;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.shared-canvas {
  display: block;
  height: 100%;
  inset: 0;
  position: absolute;
  touch-action: none;
  width: 100%;
}

.shared-loading {
  align-items: center;
  background: rgba(248, 249, 247, 0.92);
  color: #6f746f;
  display: none;
  flex-direction: column;
  font: 600 0.82rem 'Noto Sans', sans-serif;
  gap: 0.7rem;
  inset: 0;
  justify-content: center;
  position: absolute;
  z-index: 3;
}

.shared-loading.is-visible {
  display: flex;
}

.shared-loading.is-error {
  color: #a34c00;
}

.canvas-play-button {
  align-items: center;
  background: #f18419;
  border: 0;
  border-radius: 50%;
  bottom: 0.75rem;
  box-shadow: 0 4px 13px rgba(129, 66, 7, 0.28);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  left: 0.75rem;
  padding: 0;
  position: absolute;
  transition: background 140ms ease, transform 140ms ease;
  width: 42px;
  z-index: 4;
}

.canvas-play-button:hover:not(:disabled) {
  background: #dc710e;
  transform: translateY(-1px);
}

.canvas-play-button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.canvas-play-button .play-icon {
  margin-left: 2px;
}

.canvas-play-button.is-playing .play-icon {
  margin-left: 0;
}

.shared-viewer-hint {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(208, 212, 207, 0.85);
  border-radius: 999px;
  bottom: 0.86rem;
  color: #686d68;
  font: 600 0.67rem 'Noto Sans', sans-serif;
  padding: 0.31rem 0.55rem;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.shared-viewer-hint {
  left: 0.75rem;
}

.shared-sidebar {
  background: #fbfbf9;
  border-left: 1px solid #e1e2de;
  padding: 0.9rem;
}

.shared-video-preview {
  margin: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.shared-video-wrap {
  aspect-ratio: 53 / 30;
  position: relative;
}

.shared-video-preview video {
  height: 100%;
  background: #e5e7e3;
  border: 0;
  border-radius: 6px;
  display: block;
  object-fit: cover;
  width: 100%;
}

.shared-video-preview figcaption {
  color: #606660;
  font: 600 0.8rem 'Noto Sans', sans-serif;
  margin-top: 0.6rem;
  text-align: center;
}

.shared-layers {
  border: 0;
  margin: 0;
  padding: 0 1rem 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.shared-layers legend {
  color: #777b77;
  font: 700 0.68rem 'Noto Sans', sans-serif;
  letter-spacing: 0.09em;
  margin-bottom: 0.45rem;
  padding-top: 0;
  text-transform: uppercase;
}

.shared-layers label {
  cursor: pointer;
  position: relative;
  display: inline-flex;
}

.shared-layers input {
  /* Keep native keyboard and screen-reader behavior behind the pill. */
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.shared-layers label > span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.4rem 0.85rem;
  border: 1px solid #daddd7;
  border-radius: 999px;
  background: #f8f9f6;
  color: #656b62;
  font: 600 0.78rem/1.3 'Noto Sans', sans-serif;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.shared-layers label:hover > span {
  border-color: #adb4a7;
  background: #f0f2ed;
}

.shared-layers input:checked + span {
  background: rgba(255, 153, 0, 0.1);
  border-color: rgb(255, 153, 0);
  color: rgb(255, 153, 0);
}

.shared-layers input:checked + span:hover {
  background: rgba(255, 153, 0, 0.18);
}

.shared-layers input:focus-visible + span {
  outline: 3px solid rgba(255, 153, 0, 0.35);
  outline-offset: 2px;
}

.shared-track-legend {
  border-top: 1px solid #e4e5e1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.65rem;
  margin-top: 0.75rem;
  padding-top: 0.7rem;
}

.shared-track-legend:empty {
  display: none;
}

.shared-track-legend .track-key {
  color: #737773;
}

.shared-track-legend .track-key i {
  background: var(--track-color);
}

.shared-timeline {
  background: #fff;
  border-top: 1px solid #e1e2de;
  padding: 0.7rem 0.9rem 0.8rem;
}

.shared-timeline label {
  color: #777b77;
  display: flex;
  font: 700 0.68rem 'Noto Sans', sans-serif;
  justify-content: space-between;
  letter-spacing: 0.08em;
  margin-bottom: 0.34rem;
  text-transform: uppercase;
}

.shared-timeline output {
  color: #4d514d;
  font-variant-numeric: tabular-nums;
}

.shared-timeline input {
  accent-color: #f18419;
  cursor: pointer;
  display: block;
  margin: 0;
  width: 100%;
}

.shared-timeline input:disabled {
  cursor: wait;
  opacity: 0.5;
}

@media screen and (max-width: 900px) {
  .pointcloud-browser {
    grid-template-columns: 1fr;
  }

  .task-menu-items {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .task-menu-button {
    text-align: center;
  }
}

@media screen and (max-width: 768px) {
  .rollout-videos {
    grid-template-columns: 1fr;
  }

  .shared-viewer-content {
    grid-template-columns: 1fr;
  }

  .shared-canvas-wrap {
    min-height: 300px;
  }

  .shared-sidebar {
    border-left: 0;
    border-top: 1px solid #e1e2de;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(150px, 0.8fr) 1fr;
  }

  .shared-video-preview,
  .shared-layers,
  .shared-track-legend {
    margin: 0;
  }

  .shared-layers {
    border-top: 0;
    padding-top: 0;
  }

  .shared-layers legend {
    padding-top: 0;
  }

  .shared-track-legend {
    grid-column: 1 / -1;
  }
}

@media screen and (max-width: 560px) {
  .task-menu-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shared-canvas-wrap {
    min-height: 260px;
  }

  .shared-sidebar {
    grid-template-columns: 1fr;
  }

  .shared-track-legend {
    grid-column: auto;
  }

  .shared-viewer-hint {
    display: none;
  }
}
