/* One source video and one time scale for both immutable review revisions. */
.annotation-video-review {
  --annotation-track-label: min(35%, 11.5rem);
  max-width: 64rem;
  margin: 0.75rem 0 1.25rem;
  padding: clamp(0.6rem, 2vw, 1rem);
  border: 1px solid #d6e0d8;
  border-radius: 0.65rem;
  background: #fffcf5;
}
.annotation-video-header { display: flex; gap: 0.7rem; align-items: center; }
.annotation-video-clock { font-variant-numeric: tabular-nums; color: #364d42; }
.annotation-video-host:has(video) {
  display: grid;
  place-items: center;
  padding: 0.5rem;
  margin-top: 0.6rem;
  background: #eaf0eb;
  border-radius: 0.5rem;
}
.annotation-video-host video { display: block; width: min(100%, 32rem); max-height: 45vh; }
.annotation-time-tracks { display: grid; gap: 0.55rem; }
.annotation-time-group { display: grid; gap: 0.35rem; }
.annotation-time-axis, .annotation-time-label { font-size: 0.82rem; font-variant-numeric: tabular-nums; }
.annotation-time-axis { margin-inline-start: calc(var(--annotation-track-label) + 0.45rem); display: flex; justify-content: space-between; }
.annotation-time-row { display: grid; grid-template-columns: var(--annotation-track-label) minmax(0, 1fr); gap: 0.45rem; align-items: center; }
.annotation-time-track { position: relative; height: 2.3rem; background: #e9efea; border-radius: 0.3rem; }
.annotation-time-track::after {
  content: ""; position: absolute; z-index: 2; inset-block: 0; left: var(--cursor, 0%);
  width: 2px; background: #222e26; pointer-events: none;
}
.annotation-time-bar {
  position: absolute; left: var(--start); width: var(--length); min-height: 2.3rem;
  padding: 0; border: 0; border-radius: 0.3rem; overflow: hidden;
  color: white; font: inherit; font-size: 0.8rem; cursor: pointer;
}
.annotation-time-bar.is-model { background: #315c91; }
.annotation-time-bar.is-review { background: #2b684a; }
.annotation-time-bar[aria-pressed="true"], .annotation-time-bar:focus-visible { outline: 2px solid #27352a; outline-offset: 2px; }
.annotation-time-bar.at-playhead { box-shadow: inset 0 0 0 2px #fff; }

.annotation-time-label {
  min-width: 0; min-height: 2.3rem; border: 0; background: transparent;
  padding: 0.2rem; color: inherit; text-align: start; cursor: pointer;
}
.annotation-time-label:hover { text-decoration: underline; }
.annotation-time-label:focus-visible { outline: 2px solid #27352a; outline-offset: 1px; }

.annotation-nvidia-entry:not([hidden]) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid #d3e0d6;
  border-radius: 0.55rem;
  background: #edf4ed;
}
.annotation-nvidia-entry .form-hint { margin: 0.25rem 0 0; }
.annotation-nvidia-entry button { white-space: normal; }
