@font-face {
  font-family: "Barlow Condensed";
  src: url("/fonts/barlow-condensed-800-latin.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("/fonts/barlow-condensed-700-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/source-sans-3-normal-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0f100e;
  --ink-soft: #141612;
  --panel: #191b17;
  --panel-raised: #20231e;
  --line: #30342b;
  --line-light: #41463a;
  --text: #eeeeda;
  --text-soft: #a5aa98;
  --text-dim: #777c6d;
  --acid: #d9f54a;
  --acid-soft: #b5cd3e;
  --acid-dark: #303c12;
  --red: #f17867;
  --radius: 3px;
  --display: "Barlow Condensed", Impact, sans-serif;
  --body: "Source Sans 3", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  color-scheme: dark;
}

body {
  min-width: 300px;
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  color: inherit;
  font: inherit;
}

button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}

button,
a {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
video:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 3px;
}

button:disabled {
  cursor: not-allowed;
  opacity: .5;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.app-shell {
  min-height: 100vh;
  background-image: linear-gradient(rgba(217, 245, 74, .017) 1px, transparent 1px), linear-gradient(90deg, rgba(217, 245, 74, .013) 1px, transparent 1px);
  background-size: 48px 48px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 30px;
  border-bottom: 1px solid var(--line);
  background: rgba(15, 16, 14, .94);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 34px;
  height: 34px;
}

.brand-wordmark {
  color: var(--text);
  font-family: var(--display);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1;
}

.brand-wordmark strong {
  color: var(--acid);
  font-weight: 800;
}

.topbar-meta,
.privacy-mark,
.topbar-kicker {
  display: inline-flex;
  align-items: center;
}

.topbar-meta {
  gap: 18px;
  color: var(--text-dim);
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: .11em;
}

.new-review-button {
  min-height: 31px;
  padding: 6px 10px;
  font-size: 11px;
}

.privacy-mark {
  gap: 8px;
  color: var(--text-soft);
  letter-spacing: .08em;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 3px rgba(217, 245, 74, .1);
}

.topbar-rule {
  display: block;
  width: 1px;
  height: 18px;
  background: var(--line-light);
}

.version {
  color: var(--acid);
}

.app-layout {
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr) 286px;
  align-items: start;
  min-height: calc(100vh - 122px);
}

.history-panel,
.evidence-panel {
  min-width: 0;
  padding: 30px 20px 28px;
}

.history-panel {
  min-height: calc(100vh - 122px);
  border-right: 1px solid var(--line);
}

.evidence-panel {
  min-height: calc(100vh - 122px);
  border-left: 1px solid var(--line);
}

.panel-label-row,
.section-heading-row,
.workspace-head,
.mini-heading,
.video-topline,
.video-controls-row,
.progress-label,
.site-footer,
.dialog-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-label-row h2,
.section-kicker,
.eyebrow,
.state-tag,
.mini-heading,
.speed-control,
.section-count,
.site-footer,
.history-count {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.panel-label-row h2 {
  color: var(--text-soft);
  font-size: 12px;
  letter-spacing: .16em;
}

.history-count,
.section-count {
  min-width: 28px;
  color: var(--acid);
  font-size: 12px;
  text-align: right;
}

.panel-intro {
  max-width: 220px;
  margin: 11px 0 25px;
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.45;
}

.history-list {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.history-empty {
  padding: 20px 0 22px;
  color: var(--text-dim);
  font-size: 13px;
}

.history-empty p {
  margin: 12px 0 2px;
  color: var(--text-soft);
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.empty-line {
  display: block;
  width: 31px;
  height: 3px;
  background: var(--acid);
}

.history-footnote {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.35;
}

.micro-icon {
  color: var(--acid);
  font-size: 18px;
  line-height: 1;
}

.history-item {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 12px 12px 11px;
  border: 1px solid transparent;
  border-left: 2px solid var(--line-light);
  background: transparent;
  text-align: left;
  transition: border-color .16s ease, background .16s ease;
}

.history-item:hover,
.history-item.is-active {
  border-color: var(--line-light);
  border-left-color: var(--acid);
  background: var(--panel);
}

.history-item-name {
  display: block;
  width: 100%;
  overflow: hidden;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-item-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 7px;
  color: var(--text-dim);
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.history-item-status {
  color: var(--acid-soft);
}

.history-item-status.failed {
  color: var(--red);
}

.review-main {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 42px 38px 60px;
}

.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 36px;
}

.eyebrow,
.section-kicker,
.state-tag {
  color: var(--acid);
  font-size: 11px;
  letter-spacing: .18em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
}

.eyebrow-mark {
  display: inline-block;
  width: 19px;
  height: 2px;
  background: var(--acid);
}

.page-heading h1 {
  margin: 0;
  color: var(--text);
  font-family: var(--display);
  font-size: clamp(46px, 5.4vw, 78px);
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: .89;
  text-transform: uppercase;
}

.page-heading h1 em {
  color: var(--acid);
  font-style: normal;
}

.heading-note {
  max-width: 235px;
  margin: 0 0 4px;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.45;
}

.workspace-card {
  min-height: 470px;
  border: 1px solid var(--line);
  background: rgba(25, 27, 23, .88);
}

.workspace-head {
  min-height: 75px;
  padding: 15px 19px;
  border-bottom: 1px solid var(--line);
}

.workspace-head .section-kicker {
  margin-bottom: 2px;
  color: var(--text-dim);
}

.workspace-head h2,
.section-heading-row h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1;
  text-transform: uppercase;
}

.workspace-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  line-height: 1;
  text-transform: uppercase;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}

.button-primary {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--ink);
}

.button-primary:hover {
  border-color: #efff95;
  background: #efff95;
}

.button-quiet,
.button-note {
  border-color: var(--line-light);
  background: transparent;
  color: var(--text-soft);
}

.button-quiet:hover,
.button-note:hover {
  border-color: var(--acid-soft);
  color: var(--acid);
}

.button-danger {
  border-color: rgba(241, 120, 103, .35);
  background: transparent;
  color: var(--red);
}

.button-danger:hover {
  border-color: var(--red);
  background: rgba(241, 120, 103, .1);
}

.empty-review-state {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 22px 28px;
  align-items: center;
  padding: 70px 48px 60px;
}

.empty-review-state.is-dragover {
  outline: 1px dashed var(--acid);
  outline-offset: -9px;
  background: rgba(217, 245, 74, .055);
}

.upload-orbit {
  position: relative;
  display: grid;
  width: 142px;
  height: 142px;
  place-items: center;
  border: 1px solid var(--line-light);
  background: var(--ink-soft);
}

.orbit-ring {
  position: absolute;
  border: 1px solid var(--line-light);
  border-radius: 50%;
}

.orbit-ring-one {
  width: 94px;
  height: 94px;
}

.orbit-ring-two {
  width: 122px;
  height: 122px;
  border-color: rgba(217, 245, 74, .25);
  border-left-color: transparent;
  transform: rotate(-28deg);
}

.upload-symbol {
  position: relative;
  z-index: 1;
  color: var(--acid);
  font-family: var(--display);
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
}

.empty-copy .state-tag {
  margin-bottom: 10px;
}

.empty-copy h3,
.processing-copy h3,
.error-state h3 {
  margin: 0;
  color: var(--text);
  font-family: var(--display);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: .97;
  text-transform: uppercase;
}

.empty-copy p:last-child,
.processing-copy p:last-child,
.error-state p:last-child {
  max-width: 455px;
  margin: 12px 0 0;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.45;
}

.upload-button {
  grid-column: 2;
  justify-self: start;
  min-width: 158px;
}

.upload-button:focus-within {
  outline: 2px solid var(--acid);
  outline-offset: 3px;
}

.button-pip {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
}

.upload-meta {
  grid-column: 2;
  margin: -12px 0 0;
  color: var(--text-dim);
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: .12em;
}

.source-divider {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 4px 0 -3px;
  color: var(--text-dim);
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: .16em;
}

.source-divider::before,
.source-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.source-bar {
  margin-top: 18px;
  padding: 0 20px 17px;
  border: 1px solid var(--line);
  background: rgba(25, 27, 23, .88);
}

.source-bar .source-divider {
  margin: 0 -1px 14px;
}

.live-start-form {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 250px) auto;
  gap: 13px 16px;
  align-items: end;
  padding-top: 2px;
}

.live-start-form > div {
  min-width: 0;
}

.live-start-form .state-tag {
  margin: 0 0 6px;
}

.live-start-form h2 {
  margin: 0;
  color: var(--text);
  font-family: var(--display);
  font-size: 25px;
  line-height: 1;
  text-transform: uppercase;
}

.live-start-form p:not(.state-tag):not(.upload-meta) {
  max-width: 500px;
  margin: 8px 0 0;
  color: var(--text-soft);
  font-size: 14px;
}

.live-channel-label {
  display: grid;
  gap: 6px;
  color: var(--text-dim);
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: .13em;
}

.live-channel-label input {
  width: 100%;
  min-height: 39px;
  padding: 8px 10px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: var(--ink-soft);
  color: var(--text);
  font-family: var(--body);
  font-size: 14px;
  letter-spacing: 0;
}

.live-channel-label input::placeholder {
  color: var(--text-dim);
}

.live-start-form .upload-meta {
  grid-column: 2 / -1;
  margin: -6px 0 0;
}

.processing-state {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  gap: 16px 25px;
  align-items: center;
  padding: 74px 52px;
}

.processing-visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  height: 80px;
  padding: 16px;
  border: 1px solid var(--line-light);
  background: var(--ink-soft);
}

.processing-visual span {
  display: block;
  width: 8px;
  height: 38%;
  background: var(--acid);
  animation: scanner 1.15s ease-in-out infinite alternate;
}

.processing-visual span:nth-child(2) { height: 72%; animation-delay: -.6s; }
.processing-visual span:nth-child(3) { height: 53%; animation-delay: -.35s; }
.processing-visual span:nth-child(4) { height: 88%; animation-delay: -.8s; }
.processing-visual span:nth-child(5) { height: 47%; animation-delay: -.2s; }

@keyframes scanner {
  to { opacity: .4; transform: scaleY(.62); }
}

.processing-copy .state-tag {
  margin-bottom: 9px;
}

.progress-wrap {
  grid-column: 2;
}

.progress-label {
  margin-bottom: 9px;
  color: var(--text-dim);
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: .12em;
}

.progress-label span:last-child {
  color: var(--acid);
}

.progress-track {
  height: 5px;
  overflow: hidden;
  background: var(--line);
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--acid);
  transition: width .25s ease;
}

.error-state {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 74px 52px;
}

.error-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--red);
  color: var(--red);
  font-family: var(--display);
  font-size: 24px;
}

.error-state .button {
  grid-column: 2;
  justify-self: start;
  margin-top: 10px;
}

.review-state {
  padding: 22px;
}

.video-stage {
  border: 1px solid var(--line);
  background: var(--ink);
}

.clip-timing-panel {
  margin-top: 15px;
  padding: 15px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.timing-panel-heading,
.live-section-heading,
.live-source-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.timing-panel-heading h3,
.live-section-heading h2 {
  margin: 0;
  color: var(--text);
  font-family: var(--display);
  font-size: 27px;
  font-weight: 700;
  line-height: .98;
  text-transform: uppercase;
}

.experimental-badge,
.live-status-badge {
  flex: 0 0 auto;
  padding: 5px 7px;
  border: 1px solid var(--acid-soft);
  color: var(--acid);
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: .11em;
}

.timing-panel-explanation,
.timing-empty,
.live-status-copy,
.live-footnote {
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.45;
}

.timing-panel-explanation {
  max-width: 720px;
  margin: 10px 0 0;
}

.timing-empty {
  margin: 12px 0 0;
  padding: 11px;
  border-left: 2px solid var(--line-light);
  background: var(--ink-soft);
}

.timing-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 15px;
  border: 1px solid var(--line);
}

.timing-metrics > div {
  min-width: 0;
  padding: 10px;
}

.timing-metrics > div + div {
  border-left: 1px solid var(--line);
}

.timing-metrics span,
.timing-repetition dt {
  display: block;
  color: var(--text-dim);
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.timing-metrics strong {
  display: block;
  margin-top: 4px;
  color: var(--acid);
  font-family: var(--display);
  font-size: 24px;
  line-height: 1;
}

.timing-trace-wrap {
  margin-top: 14px;
  padding: 11px;
  border: 1px solid var(--line-light);
  background: var(--ink-soft);
}

.timing-trace {
  display: block;
  width: 100%;
  height: 130px;
  margin-top: 9px;
  border: 1px solid var(--line);
  background: #0b0d0a;
}

.timing-trace .trace-grid {
  stroke: var(--line);
  stroke-width: 1;
}

.timing-trace .trace-line {
  fill: none;
  stroke: var(--acid);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.timing-trace .trace-line-1 {
  stroke-dasharray: 7 4;
}

.timing-trace .trace-line-2 {
  stroke-dasharray: 2 4;
  opacity: .72;
}

.timing-trace .trace-point {
  fill: var(--acid);
}

.timing-pattern-list {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.timing-pattern-item,
.timing-repetition,
.timing-limitations {
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--ink-soft);
}

.timing-pattern-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.timing-pattern-item strong {
  color: var(--text);
  font-size: 13px;
}

.timing-pattern-item span {
  color: var(--text-dim);
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: .06em;
  white-space: nowrap;
}

.timing-pattern-item .timing-moment-button {
  min-height: 29px;
  padding: 5px 8px;
  font-size: 10px;
}

.timing-trace-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: -2px 0 5px;
  padding-left: 10px;
}

.timing-trace-actions .timing-moment-button {
  min-height: 27px;
  padding: 4px 7px;
  font-size: 9px;
}

.timing-report-status,
.timing-report-classification,
.timing-report-repetition {
  margin: 0 0 8px;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.4;
}

.timing-report-status {
  color: var(--acid);
  font-family: var(--display);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.timing-repetition {
  margin-top: 10px;
}

.timing-repetition h4,
.timing-limitations h4 {
  margin: 0 0 8px;
  color: var(--text-soft);
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.timing-repetition dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.timing-repetition dd {
  margin: 3px 0 0;
  color: var(--text);
  font-family: var(--display);
  font-size: 17px;
}

.timing-limitations {
  margin-top: 10px;
  color: var(--text-dim);
  font-size: 12px;
}

.timing-limitations ul {
  margin: 0;
  padding-left: 18px;
}

.live-section {
  margin-top: 18px;
  padding: 17px;
  border: 1px solid var(--line);
  background: rgba(25, 27, 23, .94);
}

.live-status-badge[data-status="live"] {
  border-color: var(--acid);
  background: var(--acid-dark);
}

.live-status-badge[data-status="failed"] {
  border-color: var(--red);
  color: var(--red);
}

.live-status-copy {
  min-height: 21px;
  margin: 10px 0 14px;
}

.live-source-row {
  align-items: center;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.live-source-row strong {
  display: block;
  color: var(--text);
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.live-category-name {
  display: block;
  margin-top: 2px;
  color: var(--text-dim);
  font-size: 12px;
}

.live-source-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.live-windows {
  display: grid;
  gap: 10px;
  margin-top: 13px;
}

.live-window {
  padding: 12px;
  border: 1px solid var(--line-light);
  background: var(--ink-soft);
}

.live-window-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.live-window-head strong {
  color: var(--text);
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.live-window-time {
  color: var(--text-dim);
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: .05em;
  white-space: nowrap;
}

.live-window-report {
  margin-top: 9px;
}

.live-window-report .timing-empty {
  margin-top: 0;
}

.live-empty {
  margin-top: 12px;
  padding: 12px;
  border-left: 2px solid var(--line-light);
  color: var(--text-dim);
  font-size: 13px;
}

.live-coverage {
  margin-top: 10px;
  padding: 10px 12px;
  border-left: 2px solid var(--red);
  background: rgba(241, 120, 103, .06);
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.45;
}

.live-coverage strong {
  color: var(--text);
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.live-coverage ul {
  margin: 5px 0 0;
  padding-left: 17px;
}

.live-footnote {
  margin: 13px 0 0;
  color: var(--text-dim);
  font-size: 12px;
}

.video-topline {
  min-height: 38px;
  padding: 0 13px;
  border-bottom: 1px solid var(--line);
}

.video-name {
  max-width: 70%;
  overflow: hidden;
  color: var(--text-soft);
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: .09em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.video-dimensions,
.video-time {
  color: var(--text-dim);
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: .08em;
}

.video-frame-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #080908;
}

.video-frame-wrap video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-empty-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-dim);
  font-family: var(--display);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.video-overlay-icon {
  color: var(--acid);
  font-size: 32px;
}

.video-controls-row {
  min-height: 54px;
  gap: 15px;
  padding: 8px 13px;
  border-top: 1px solid var(--line);
}

.video-controls-row .button-note {
  margin-left: auto;
}

.speed-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 11px;
}

.speed-control select {
  min-height: 27px;
  padding: 2px 22px 2px 7px;
  border: 1px solid var(--line-light);
  border-radius: 2px;
  background: var(--panel);
  color: var(--text-soft);
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: .04em;
}

.review-summary {
  margin-bottom: 17px;
  padding: 17px 18px 16px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--acid);
  background: var(--panel);
}

.result-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.review-summary .section-kicker {
  color: var(--text-dim);
}

.result-heading h3 {
  margin: 5px 0 0;
  color: var(--text);
  font-family: var(--display);
  font-size: clamp(25px, 3vw, 34px);
  line-height: .98;
  text-transform: uppercase;
}

.analysis-status {
  flex: 0 0 auto;
  padding: 4px 6px 3px;
  border: 1px solid var(--line-light);
  color: var(--acid);
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: .12em;
  line-height: 1;
}

.analysis-status.is-limited {
  color: var(--acid-soft);
}

.analysis-status.is-unreadable {
  border-color: rgba(241, 120, 103, .45);
  color: var(--red);
}

.analysis-status.is-not-validated {
  border-color: var(--line-light);
  color: var(--text-soft);
}

.analysis-status.is-unavailable {
  color: var(--text-dim);
}

.result-explanation {
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.45;
}

.result-counts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.result-count {
  min-width: 0;
  padding: 10px 12px 9px 0;
}

.result-count + .result-count {
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.result-count span {
  display: block;
  color: var(--text-dim);
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: .1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.result-count strong {
  display: block;
  margin-top: 3px;
  color: var(--acid);
  font-family: var(--display);
  font-size: 24px;
  line-height: 1;
}

.result-limit {
  margin: 14px 0 0;
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.4;
}

.native-timing-panel {
  margin-bottom: 17px;
  padding: 17px 18px 16px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--line-light);
  background: var(--panel);
}

.native-timing-heading,
.native-frame-viewer-heading,
.native-frame-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.native-timing-heading {
  align-items: flex-start;
}

.native-timing-heading h3 {
  margin: 5px 0 0;
  color: var(--text);
  font-family: var(--display);
  font-size: clamp(25px, 3vw, 34px);
  line-height: .98;
  text-transform: uppercase;
}

.native-timing-badge {
  flex: 0 0 auto;
  padding: 4px 6px 3px;
  border: 1px solid var(--line-light);
  color: var(--text-dim);
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: .12em;
  line-height: 1;
}

.native-timing-outcome {
  max-width: 720px;
  margin: 11px 0 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.45;
}

.native-timing-unavailable {
  display: grid;
  gap: 4px;
  margin-top: 15px;
  padding: 12px 13px;
  border: 1px dashed var(--line-light);
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.4;
}

.native-timing-unavailable strong {
  color: var(--text-soft);
  font-weight: 600;
}

.native-timing-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 16px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.native-timing-metrics > div {
  min-width: 0;
  padding: 10px 12px 9px 0;
}

.native-timing-metrics > div + div {
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.native-timing-metrics dt {
  color: var(--text-dim);
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: .09em;
  line-height: 1.2;
  text-transform: uppercase;
}

.native-timing-metrics dd {
  margin: 4px 0 0;
  color: var(--acid);
  font-family: var(--display);
  font-size: 21px;
  line-height: 1;
}

.native-timing-quality {
  margin: 12px 0 0;
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.4;
}

.native-frame-viewer {
  margin-top: 17px;
  padding: 13px;
  border: 1px solid var(--line-light);
  background: var(--ink-soft);
}

.native-frame-viewer-heading {
  align-items: flex-start;
}

.native-frame-viewer-heading .mini-heading {
  margin: 0;
}

.native-frame-status,
.native-frame-pts {
  margin: 4px 0 0;
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.35;
}

.native-frame-pts {
  flex: 0 0 auto;
  margin-top: 0;
  color: var(--acid);
  font-family: var(--display);
  letter-spacing: .05em;
}

.native-frame-image-wrap {
  display: grid;
  min-height: 155px;
  margin-top: 12px;
  place-items: center;
  border: 1px solid var(--line);
  background: #080908;
}

.native-frame-image-wrap img {
  display: block;
  max-width: 100%;
  height: auto;
}

.native-frame-placeholder {
  padding: 22px;
  color: var(--text-dim);
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}

.native-frame-controls {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 11px;
}

.native-frame-controls label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-dim);
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: .1em;
}

.native-frame-controls input {
  width: 70px;
  min-height: 31px;
  padding: 4px 7px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--text);
  font-family: var(--display);
  font-size: 14px;
}

.native-frame-controls input:focus {
  border-color: var(--acid-soft);
  outline: none;
}

.native-frame-total {
  color: var(--text-dim);
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: .08em;
}

.native-frame-error {
  margin: 10px 0 0;
  color: var(--red);
  font-size: 12px;
  line-height: 1.4;
}

.native-timing-limitations {
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.native-timing-limitations .mini-heading {
  margin-bottom: 7px;
}

.native-timing-limitations ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.4;
}

.notes-section {
  margin-top: 28px;
  padding: 23px 22px 18px;
  border: 1px solid var(--line);
  background: rgba(25, 27, 23, .8);
}

.section-heading-row {
  align-items: flex-end;
  margin-bottom: 18px;
}

.section-heading-row .section-kicker {
  margin-bottom: 5px;
  color: var(--text-dim);
}

.note-form {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: stretch;
}

.note-time-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 75px;
  padding: 0 10px;
  border: 1px solid var(--line-light);
  color: var(--acid);
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: .08em;
}

.note-form input {
  min-width: 0;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--text);
  font-size: 14px;
}

.note-form input::placeholder {
  color: var(--text-dim);
}

.note-form input:focus {
  border-color: var(--acid-soft);
  outline: none;
}

.notes-list {
  display: grid;
  gap: 7px;
  margin-top: 14px;
}

.notes-empty {
  padding: 15px 0 3px;
  color: var(--text-dim);
  font-size: 13px;
}

.note-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border-left: 2px solid var(--acid-dark);
  background: var(--ink);
}

.note-item-time {
  color: var(--acid);
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: .08em;
}

.note-item-text {
  min-width: 0;
  color: var(--text-soft);
  overflow-wrap: anywhere;
}

.evidence-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
}

.evidence-empty {
  display: grid;
  min-height: 125px;
  margin: 28px 0 23px;
  padding: 17px;
  align-content: center;
  justify-items: center;
  border: 1px dashed var(--line-light);
  text-align: center;
}

.evidence-empty-mark {
  color: var(--acid);
  font-size: 25px;
  line-height: 1;
}

.evidence-empty p {
  max-width: 180px;
  margin: 10px 0 0;
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.4;
}

.evidence-list {
  display: grid;
  gap: 8px;
  margin-top: 26px;
}

.evidence-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  width: 100%;
  padding: 11px 10px;
  border: 1px solid var(--line);
  background: var(--panel);
  text-align: left;
  transition: border-color .16s ease, background .16s ease;
}

.evidence-item:hover {
  border-color: var(--acid-soft);
  background: var(--panel-raised);
}

.evidence-timestamp {
  color: var(--acid);
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: .06em;
}

.evidence-content {
  min-width: 0;
}

.evidence-text {
  display: block;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.evidence-subline {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 6px;
}

.evidence-tag {
  display: inline-block;
  padding: 2px 5px;
  border: 1px solid var(--line-light);
  color: var(--text-dim);
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.evidence-confidence {
  color: var(--text-dim);
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: .05em;
}

.frames-section {
  margin-top: 27px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.mini-heading {
  margin-bottom: 12px;
  color: var(--text-dim);
  font-size: 11px;
}

.mini-heading span:last-child {
  color: var(--acid);
}

.frames-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.frame-button {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--ink);
}

.frame-button:hover {
  border-color: var(--acid);
}

.frame-button img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .72;
  transition: opacity .16s ease, transform .16s ease;
}

.frame-button:hover img {
  opacity: 1;
  transform: scale(1.04);
}

.frame-button span {
  position: absolute;
  right: 4px;
  bottom: 3px;
  padding: 1px 3px;
  background: rgba(15, 16, 14, .8);
  color: var(--acid);
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: .04em;
}

.method-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 30px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.45;
}

.method-note p {
  margin: 0;
}

.method-note strong {
  color: var(--text-soft);
  font-weight: 600;
}

.method-note-mark {
  display: grid;
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  place-items: center;
  border: 1px solid var(--line-light);
  color: var(--acid);
  font-family: var(--display);
  font-size: 11px;
}

.site-footer {
  min-height: 50px;
  padding: 0 30px;
  border-top: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 11px;
  letter-spacing: .12em;
}

.footer-muted {
  color: var(--text-dim);
}

.footer-links {
  display: inline-flex;
  gap: 18px;
}

.confirm-dialog {
  width: min(440px, calc(100% - 32px));
  padding: 0;
  border: 1px solid var(--line-light);
  background: var(--panel);
  color: var(--text);
  box-shadow: 0 22px 80px rgba(0, 0, 0, .55);
}

.confirm-dialog::backdrop {
  background: rgba(5, 6, 5, .78);
}

.dialog-card {
  position: relative;
  padding: 28px;
}

.dialog-close {
  position: absolute;
  top: 13px;
  right: 13px;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-light);
  background: transparent;
  color: var(--text-soft);
  font-size: 20px;
  line-height: 1;
}

.dialog-card h2 {
  margin: 10px 0 0;
  font-family: var(--display);
  font-size: 31px;
  line-height: 1;
  text-transform: uppercase;
}

.dialog-card > p:not(.state-tag) {
  margin: 13px 0 24px;
  color: var(--text-soft);
  font-size: 14px;
}

.dialog-actions {
  justify-content: flex-end;
  gap: 8px;
}

.noscript-message {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 10;
  padding: 14px 18px;
  border: 1px solid var(--red);
  background: var(--panel);
  color: var(--text);
  text-align: center;
}

.global-notice {
  position: fixed;
  top: 84px;
  right: 22px;
  z-index: 8;
  max-width: min(390px, calc(100vw - 44px));
  padding: 11px 14px;
  border: 1px solid var(--red);
  background: var(--panel-raised);
  color: var(--text);
  font-size: 13px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .28);
}

.global-notice.is-success {
  border-color: var(--acid-soft);
}

@media (max-width: 1180px) {
  .app-layout {
    grid-template-columns: 215px minmax(0, 1fr);
  }

  .evidence-panel {
    grid-column: 2;
    min-height: auto;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .evidence-panel .evidence-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .evidence-panel .panel-intro {
    max-width: none;
  }

  .evidence-panel .method-note {
    max-width: 500px;
  }
}

@media (max-width: 760px) {
  .topbar {
    min-height: 63px;
    padding: 0 17px;
  }

  .topbar-meta {
    gap: 0;
  }

  .topbar-rule,
  .topbar-kicker {
    display: none;
  }

  .privacy-mark {
    font-size: 10px;
  }

  .app-layout {
    display: block;
  }

  .history-panel {
    min-height: 0;
    padding: 21px 17px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .history-panel .panel-intro {
    max-width: none;
    margin-bottom: 14px;
  }

  .history-list {
    grid-auto-flow: column;
    grid-auto-columns: minmax(180px, 1fr);
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .history-empty {
    padding: 6px 0 3px;
  }

  .history-empty p {
    display: inline;
    margin: 0 8px 0 0;
  }

  .history-footnote {
    display: none;
  }

  .review-main {
    padding: 32px 17px 46px;
  }

  .page-heading {
    display: block;
    margin-bottom: 28px;
  }

  .page-heading h1 {
    font-size: clamp(44px, 14vw, 65px);
  }

  .heading-note {
    max-width: 420px;
    margin-top: 18px;
  }

  .workspace-head {
    align-items: flex-start;
    gap: 14px;
  }

  .workspace-actions {
    display: grid;
    gap: 5px;
  }

  .workspace-actions .button {
    min-height: 32px;
    padding: 6px 8px;
    font-size: 10px;
  }

  .empty-review-state {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 43px 25px 40px;
  }

  .upload-orbit {
    width: 112px;
    height: 112px;
  }

  .orbit-ring-one { width: 74px; height: 74px; }
  .orbit-ring-two { width: 96px; height: 96px; }

  .upload-symbol {
    font-size: 42px;
  }

  .empty-copy h3,
  .processing-copy h3,
  .error-state h3 {
    font-size: 29px;
  }

  .upload-button,
  .upload-meta {
    align-self: flex-start;
  }

  .source-divider {
    margin-top: 6px;
  }

  .live-start-form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .live-start-form .upload-meta {
    margin: -3px 0 0;
  }

  .processing-state {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 44px 25px;
  }

  .processing-visual {
    width: 100px;
  }

  .progress-wrap {
    margin-top: 4px;
  }

  .error-state {
    display: flex;
    flex-direction: column;
    padding: 44px 25px;
  }

  .error-state .button {
    margin-top: 0;
  }

  .review-state {
    padding: 13px;
  }

  .clip-timing-panel {
    padding: 13px;
  }

  .timing-panel-heading,
  .live-section-heading,
  .live-source-row {
    display: block;
  }

  .experimental-badge,
  .live-status-badge {
    display: inline-block;
    margin-top: 9px;
  }

  .timing-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timing-metrics > div:nth-child(odd) {
    border-left: 0;
  }

  .timing-metrics > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .timing-repetition dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .live-section {
    padding: 14px;
  }

  .live-source-actions {
    justify-content: flex-start;
    margin-top: 11px;
  }

  .live-source-actions .button {
    flex: 1 1 auto;
  }

  .live-window-head {
    display: block;
  }

  .live-window-time {
    display: block;
    margin-top: 5px;
  }

  .review-summary {
    margin-bottom: 13px;
    padding: 14px 13px 13px;
  }

  .result-heading {
    gap: 9px;
  }

  .result-heading h3 {
    font-size: 27px;
  }

  .result-count {
    padding-right: 7px;
  }

  .result-count + .result-count {
    padding-left: 7px;
  }

  .result-count span {
    font-size: 9px;
    letter-spacing: .07em;
  }

  .result-count strong {
    font-size: 22px;
  }

  .native-timing-panel {
    margin-bottom: 13px;
    padding: 14px 13px 13px;
  }

  .native-timing-heading {
    gap: 9px;
  }

  .native-timing-heading h3 {
    font-size: 27px;
  }

  .native-timing-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .native-timing-metrics > div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .native-timing-metrics > div:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .native-frame-viewer {
    padding: 10px;
  }

  .native-frame-viewer-heading {
    display: block;
  }

  .native-frame-pts {
    margin-top: 5px;
  }

  .video-controls-row {
    flex-wrap: wrap;
    gap: 9px 12px;
    padding: 10px;
  }

  .video-controls-row .button-note {
    width: 100%;
    margin-left: 0;
  }

  .notes-section {
    padding: 20px 14px 15px;
  }

  .note-form {
    grid-template-columns: 1fr auto;
  }

  .note-time-badge {
    min-height: 38px;
  }

  .note-form input {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .note-time-badge {
    grid-column: 1;
    grid-row: 2;
  }

  .note-form .button {
    grid-column: 2;
    grid-row: 2;
  }

  .evidence-panel {
    padding: 24px 17px 32px;
  }

  .evidence-panel .evidence-list {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: block;
    padding: 15px 17px 17px;
    line-height: 1.8;
  }

  .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
