:root {
  --mva-panel: rgba(4, 21, 16, 0.96);
  --mva-panel-soft: rgba(9, 31, 24, 0.86);
  --mva-deep: #020d0a;
  --mva-line: rgba(98, 194, 180, 0.25);
  --mva-line-strong: rgba(239, 166, 109, 0.5);
  --mva-copper: #efa66d;
  --mva-teal: #67c9bd;
  --mva-cream: #eee9df;
  --mva-muted: #aaa99e;
  --mva-success: #91d9aa;
  --mva-warning: #efc46f;
  --mva-danger: #ee8a82;
}

.page-match-video-working [hidden] {
  display: none !important;
}

.page-match-video-working .app {
  width: min(1240px, calc(100% - 2rem));
}

.page-match-video-working .site-nav {
  margin-bottom: 0.8rem;
}

.mva-mobile-menu {
  display: none;
}

.mva-eyebrow {
  color: var(--mva-copper);
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.mva-hero {
  max-width: 1040px;
  margin: 2.35rem auto 1.5rem;
  text-align: center;
}

.mva-eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.7rem;
  line-height: 1.3;
}

.mva-hero h1 {
  max-width: 960px;
  margin: 0 auto;
  color: var(--mva-cream);
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
}

.mva-beta-label {
  display: inline-block;
  margin-left: 0.35rem;
  border: 1px solid rgba(239, 166, 109, 0.45);
  border-radius: 999px;
  padding: 0.25rem 0.48rem 0.2rem;
  color: var(--mva-copper);
  background: rgba(69, 47, 24, 0.42);
  font-size: 0.27em;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  vertical-align: middle;
}

.mva-hero > p {
  max-width: 760px;
  margin: 1rem auto 0;
  color: #c4c3b9;
  font-size: clamp(1rem, 2vw, 1.14rem);
}

.mva-hero > .mva-scope-copy {
  margin-top: 0.65rem;
  color: #9ba49e;
  font-size: 0.9rem;
}

.mva-card {
  max-width: 1040px;
  margin: 0 auto 1.2rem;
  border: 1px solid var(--mva-line);
  border-radius: 1.15rem;
  padding: clamp(1rem, 3vw, 1.65rem);
  background: var(--mva-panel);
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.18);
}

.mva-upload-card {
  border-color: var(--mva-line-strong);
}

.mva-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.mva-section-heading h2,
.mva-candidate-heading h3 {
  margin: 0;
  color: var(--mva-cream);
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  font-weight: 800;
  line-height: 1.05;
}

.mva-section-heading h2 {
  font-size: clamp(1.55rem, 4vw, 2.25rem);
}

.mva-engine-status {
  flex: 0 0 auto;
  border: 1px solid rgba(239, 196, 111, 0.22);
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  color: var(--mva-warning);
  background: rgba(69, 53, 17, 0.42);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mva-engine-status.is-ready {
  border-color: rgba(145, 217, 170, 0.24);
  color: var(--mva-success);
  background: rgba(12, 73, 43, 0.4);
}

.mva-engine-status.is-unavailable {
  border-color: rgba(238, 138, 130, 0.3);
  color: var(--mva-danger);
  background: rgba(92, 29, 25, 0.35);
}

.mva-privacy-note {
  border: 1px solid rgba(98, 194, 180, 0.32);
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
  color: #c7cbc4;
  background: rgba(8, 30, 24, 0.54);
}

.mva-privacy-note h3 {
  margin: 0;
  color: var(--mva-cream);
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  font-size: 1rem;
}

.mva-privacy-note p {
  margin: 0.4rem 0 0;
  font-size: 0.84rem;
  line-height: 1.48;
}

.mva-privacy-note a {
  display: inline-block;
  margin-top: 0.55rem;
  color: var(--mva-teal);
  font-size: 0.78rem;
  font-weight: 800;
}

.mva-recording-guidance {
  margin: 1rem 0 0;
  color: #aeb3ad;
  font-size: 0.86rem;
  line-height: 1.5;
}

.mva-file-drop {
  display: flex;
  min-height: 7.5rem;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
  border: 2px dashed rgba(103, 201, 189, 0.38);
  border-radius: 1rem;
  padding: 1.2rem;
  color: var(--mva-cream);
  background: rgba(2, 13, 10, 0.7);
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.mva-file-drop:hover,
.mva-file-drop:focus-within,
.mva-file-drop.is-dragging {
  border-color: var(--mva-teal);
  background: rgba(12, 54, 44, 0.7);
  transform: translateY(-1px);
}

.mva-file-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.mva-upload-mark {
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(103, 201, 189, 0.32);
  border-radius: 50%;
  color: var(--mva-teal);
  background: rgba(25, 109, 96, 0.24);
  font-size: 1.6rem;
  font-weight: 900;
}

.mva-file-drop strong {
  font-size: 1.05rem;
}

.mva-file-details {
  display: grid;
  grid-template-columns: minmax(13rem, 0.42fr) minmax(0, 0.58fr);
  gap: 1rem;
  margin-top: 1rem;
  border: 1px solid var(--mva-line);
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(2, 13, 10, 0.75);
}

.mva-video-wrap {
  position: relative;
  display: grid;
  min-height: 12rem;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.8rem;
  background: #000;
}

.mva-is-processing .mva-video-wrap::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  color: var(--mva-teal);
  background: #020806;
  content: attr(data-processing-label);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.mva-video-wrap video {
  display: block;
  width: 100%;
  max-height: 24rem;
  object-fit: contain;
}

.mva-file-summary {
  min-width: 0;
}

.mva-file-name-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(98, 194, 180, 0.16);
}

.mva-file-name-row > div {
  min-width: 0;
  flex: 1 1 auto;
}

.mva-file-name-row span,
.mva-metadata-grid dt {
  display: block;
  color: #929c96;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mva-file-name-row strong {
  display: -webkit-box;
  max-width: 100%;
  margin-top: 0.35rem;
  overflow: hidden;
  color: var(--mva-cream);
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.mva-text-button {
  flex: 0 0 auto;
  border: 0;
  padding: 0.35rem;
  color: var(--mva-danger);
  background: transparent;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 850;
  cursor: pointer;
}

.mva-metadata-grid,
.mva-result-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1rem 0 0;
}

.mva-metadata-grid > div,
.mva-result-summary > div {
  min-width: 0;
  border: 1px solid rgba(98, 194, 180, 0.16);
  border-radius: 0.75rem;
  padding: 0.8rem;
  background: rgba(8, 30, 24, 0.72);
}

.mva-metadata-grid dd,
.mva-result-summary dd {
  margin: 0.35rem 0 0;
  overflow: hidden;
  color: var(--mva-cream);
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mva-requirements {
  margin-top: 1rem;
  border-radius: 0.85rem;
  padding: 0.9rem 1rem;
  color: #b7b9b2;
  background: rgba(255, 255, 255, 0.025);
}

.mva-requirements > strong {
  display: block;
  color: var(--mva-cream);
  font-size: 0.84rem;
}

.mva-requirements ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 1.25rem;
  margin: 0.65rem 0 0;
  padding: 0;
  list-style: none;
}

.mva-requirements li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.84rem;
}

.mva-requirements li::before {
  position: absolute;
  top: 0.47rem;
  left: 0;
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 50%;
  background: var(--mva-teal);
  content: "";
}

.mva-requirements p {
  margin: 0.65rem 0 0;
  color: #818c85;
  font-size: 0.76rem;
}

.mva-primary-button,
.mva-secondary-button {
  min-height: 3.25rem;
  border-radius: 0.75rem;
  padding: 0.7rem 1.2rem;
  font: inherit;
  font-weight: 900;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  cursor: pointer;
}

.mva-primary-button {
  border: 1px solid #68d2c3;
  color: #f7f4ec;
  background: linear-gradient(135deg, #238b7e, #176b62);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.12);
}

.mva-upload-card > .mva-primary-button {
  width: 100%;
  margin-top: 1rem;
}

.mva-primary-button:hover:not(:disabled) {
  background: linear-gradient(135deg, #2da394, #1f7d72);
}

.mva-primary-button:disabled {
  border-color: rgba(103, 201, 189, 0.2);
  color: rgba(238, 233, 223, 0.38);
  background: rgba(31, 89, 80, 0.4);
  cursor: not-allowed;
}

.mva-secondary-button {
  border: 1px solid rgba(239, 166, 109, 0.46);
  color: var(--mva-cream);
  background: rgba(44, 35, 20, 0.52);
}

.mva-secondary-button:hover {
  border-color: var(--mva-copper);
  background: rgba(69, 47, 24, 0.7);
}

.mva-error {
  margin-top: 1rem;
  border: 1px solid rgba(238, 138, 130, 0.48);
  border-radius: 0.75rem;
  padding: 0.8rem 0.9rem;
  color: #f1a39d;
  background: rgba(82, 28, 24, 0.42);
  line-height: 1.45;
}

.mva-error.is-notice {
  border-color: rgba(103, 201, 189, 0.34);
  color: var(--mva-teal);
  background: rgba(11, 57, 46, 0.4);
}

.mva-progress-card {
  border-color: rgba(103, 201, 189, 0.4);
}

.mva-progress-card.is-waiting {
  border-color: rgba(239, 196, 111, 0.52);
}

.mva-progress-card.is-error {
  border-color: rgba(238, 138, 130, 0.58);
}

.mva-progress-card.is-error .mva-progress-percent,
.mva-progress-card.is-error .mva-progress-message {
  color: var(--mva-danger);
}

.mva-progress-card.is-error .mva-progress-track > span {
  background: linear-gradient(90deg, #7d3430, #d77870);
}

.mva-progress-percent {
  color: var(--mva-teal);
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  font-size: 1.8rem;
}

.mva-progress-track {
  height: 0.72rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.45);
}

.mva-progress-instruction {
  margin: -0.35rem 0 0.9rem;
  color: #aeb3ad;
  font-size: 0.84rem;
}

.mva-progress-track > span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #237c70, #6dd4c5);
  transition: width 180ms ease;
}

.mva-progress-message {
  margin: 0.85rem 0 0;
  color: var(--mva-cream);
  font-weight: 800;
}

.mva-progress-detail {
  margin: 0.3rem 0 1rem;
  color: var(--mva-muted);
  font-size: 0.82rem;
}

.mva-semantic-progress {
  margin: -0.45rem 0 0.9rem;
  color: var(--mva-teal);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.mva-progress-card > .mva-secondary-button {
  min-height: 2.7rem;
}

.mva-results-card {
  border-color: rgba(103, 201, 189, 0.42);
}

.mva-results-heading {
  align-items: center;
}

.mva-results-heading p {
  margin: 0.35rem 0 0;
  color: #9ca49f;
  font-size: 0.84rem;
}

.mva-results-heading .mva-secondary-button {
  flex: 0 0 auto;
}

.mva-review-note {
  margin: 0 0 0.9rem;
  color: #aeb3ad;
  font-size: 0.8rem;
  line-height: 1.45;
}

.mva-review-note p {
  margin: 0;
}

.mva-review-note strong {
  color: var(--mva-warning);
}

.mva-result-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1rem;
}

.mva-result-summary dt {
  color: #929c96;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mva-result-summary dd {
  color: var(--mva-teal);
  font-size: 1.2rem;
}

.mva-review-note.is-partial {
  color: #c1b489;
}

.mva-semantic-results {
  margin-top: 1.15rem;
}

.mva-semantic-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.mva-semantic-heading h3 {
  margin: 0;
  color: var(--mva-cream);
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  font-size: 1.05rem;
}

.mva-semantic-heading p {
  max-width: 42rem;
  margin: 0.3rem 0 0;
  color: #929c96;
  font-size: 0.76rem;
  line-height: 1.45;
}

.mva-semantic-legend {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 0.7rem;
  color: #9ca49f;
  font-size: 0.66rem;
  font-weight: 800;
}

.mva-semantic-legend span {
  white-space: nowrap;
}

.mva-semantic-legend b {
  margin-right: 0.2rem;
  color: var(--mva-copper);
  font-size: 0.85rem;
}

.mva-semantic-timeline-scroll {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  border: 1px solid rgba(98, 194, 180, 0.22);
  border-radius: 0.9rem;
  background: rgba(2, 13, 10, 0.78);
  scrollbar-color: rgba(103, 201, 189, 0.5) transparent;
  -webkit-overflow-scrolling: touch;
}

.mva-semantic-timeline-scroll:focus-visible {
  outline: 2px solid var(--mva-teal);
  outline-offset: 3px;
}

.mva-semantic-timeline {
  position: relative;
  width: 100%;
  min-width: 100%;
  padding: 0.8rem 0.8rem 1rem;
}

.mva-semantic-axis {
  position: relative;
  height: 2.25rem;
  margin-left: 5.6rem;
}

.mva-semantic-axis-track {
  position: absolute;
  right: 0;
  bottom: 0.25rem;
  left: 0;
  height: 1px;
  background: rgba(238, 233, 223, 0.2);
}

.mva-semantic-axis-track span {
  position: absolute;
  bottom: 0.35rem;
  color: #7f8983;
  font-size: 0.62rem;
  font-weight: 800;
  transform: translateX(-50%);
  white-space: nowrap;
}

.mva-semantic-axis-track span:first-child {
  transform: none;
}

.mva-semantic-lane {
  position: relative;
  min-height: 6.7rem;
  border-top: 1px solid rgba(98, 194, 180, 0.12);
}

.mva-semantic-lane:last-child {
  border-bottom: 1px solid rgba(98, 194, 180, 0.12);
}

.mva-semantic-lane-label {
  position: sticky;
  z-index: 4;
  top: 0;
  left: 0;
  display: flex;
  width: 5.15rem;
  min-height: 6.65rem;
  align-items: center;
  padding-right: 0.65rem;
  color: var(--mva-cream);
  background: linear-gradient(90deg, #020d0a 78%, rgba(2, 13, 10, 0));
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mva-semantic-lane-track {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 5.6rem;
}

.mva-semantic-lane-track::before {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 2px;
  background: rgba(238, 233, 223, 0.24);
  content: "";
}

.mva-semantic-event {
  position: absolute;
  z-index: 2;
  top: calc(2.05rem + (var(--mva-event-row, 0) * 2.55rem));
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  padding: 0;
  place-items: center;
  color: var(--mva-cream);
  background: transparent;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.mva-semantic-symbol {
  display: grid;
  width: 1.75rem;
  height: 1.75rem;
  border: 2px solid var(--mva-teal);
  border-radius: 50%;
  place-items: center;
  color: var(--mva-teal);
  background: #061712;
  font-size: 1.05rem;
  font-weight: 950;
  line-height: 1;
}

.mva-semantic-event.is-switch .mva-semantic-symbol,
.mva-semantic-event.is-knockout .mva-semantic-symbol,
.mva-semantic-event.is-battle-result .mva-semantic-symbol {
  border-radius: 0.4rem;
  color: var(--mva-copper);
  border-color: var(--mva-copper);
}

.mva-semantic-event.is-shield-decision .mva-semantic-symbol {
  border-radius: 0.25rem;
}

.mva-semantic-event.is-needs-review .mva-semantic-symbol {
  border-color: var(--mva-warning);
  color: var(--mva-warning);
  border-style: dashed;
}

.mva-semantic-event:hover,
.mva-semantic-event:focus-visible,
.mva-semantic-event.is-active {
  z-index: 5;
  outline: none;
}

.mva-semantic-event:hover .mva-semantic-symbol,
.mva-semantic-event:focus-visible .mva-semantic-symbol,
.mva-semantic-event.is-active .mva-semantic-symbol {
  outline: 2px solid var(--mva-cream);
  outline-offset: 3px;
  transform: scale(1.08);
}

.mva-semantic-shield-badge {
  position: absolute;
  right: 0.05rem;
  bottom: 0.1rem;
  display: grid;
  width: 1rem;
  height: 1rem;
  border: 1px solid rgba(2, 13, 10, 0.85);
  border-radius: 0.2rem;
  place-items: center;
  color: #a7eff0;
  background: #1b6d75;
  font-size: 0.65rem;
  line-height: 1;
}

.mva-semantic-detail {
  margin-top: 0.75rem;
  border: 1px solid rgba(98, 194, 180, 0.2);
  border-radius: 0.85rem;
  padding: 0.9rem 1rem;
  background: rgba(8, 30, 24, 0.64);
}

.mva-semantic-detail h4 {
  margin: 0;
  color: var(--mva-cream);
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  font-size: 1.05rem;
}

.mva-semantic-detail > p:not(.mva-eyebrow) {
  margin: 0.28rem 0 0;
  color: #aeb2ac;
  font-size: 0.78rem;
  line-height: 1.45;
}

.mva-semantic-detail .mva-semantic-evidence {
  color: #848f88;
  font-size: 0.7rem;
}

.mva-semantic-log,
.mva-generic-fallback {
  margin-top: 0.8rem;
  border: 1px solid rgba(98, 194, 180, 0.15);
  border-radius: 0.8rem;
  background: rgba(2, 13, 10, 0.4);
}

.mva-technical-details {
  margin-top: 0.85rem;
  border: 1px solid rgba(98, 194, 180, 0.15);
  border-radius: 0.8rem;
  background: rgba(2, 13, 10, 0.4);
}

.mva-technical-details > summary {
  padding: 0.8rem 0.9rem;
  color: var(--mva-cream);
  font-size: 0.8rem;
  font-weight: 900;
  cursor: pointer;
}

.mva-technical-details-body {
  padding: 0 0.8rem 0.8rem;
}

.mva-semantic-log summary,
.mva-generic-fallback > summary {
  padding: 0.8rem 0.9rem;
  color: var(--mva-cream);
  font-size: 0.8rem;
  font-weight: 900;
  cursor: pointer;
}

.mva-semantic-log summary span,
.mva-generic-fallback > summary span {
  margin-left: 0.25rem;
  color: var(--mva-teal);
}

.mva-semantic-log ol {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 0 0.65rem 0.7rem;
  list-style: none;
}

.mva-semantic-log-button {
  display: grid;
  grid-template-columns: 4.2rem 1.4rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  min-height: 2.75rem;
  border: 1px solid rgba(98, 194, 180, 0.14);
  border-radius: 0.55rem;
  padding: 0.45rem 0.6rem;
  color: inherit;
  background: rgba(8, 30, 24, 0.56);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.mva-semantic-log-button:hover,
.mva-semantic-log-button:focus-visible,
.mva-semantic-log-button.is-active {
  border-color: rgba(103, 201, 189, 0.58);
  outline: none;
  background: rgba(13, 48, 39, 0.78);
}

.mva-semantic-log-time,
.mva-semantic-log-confidence {
  color: #929c96;
  font-size: 0.66rem;
  font-weight: 850;
}

.mva-semantic-log-symbol {
  color: var(--mva-copper);
  font-size: 1rem;
  font-weight: 950;
  text-align: center;
}

.mva-semantic-log-copy {
  min-width: 0;
  overflow: hidden;
  color: var(--mva-cream);
  font-size: 0.76rem;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mva-semantic-log-button.is-needs-review .mva-semantic-log-confidence {
  color: var(--mva-warning);
}

.mva-generic-fallback {
  margin-top: 1rem;
  padding-bottom: 0.8rem;
}

.mva-generic-fallback > p {
  margin: 0 0.9rem 0.75rem;
  color: #848f88;
  font-size: 0.74rem;
  line-height: 1.45;
}

.mva-generic-fallback > .mva-timeline,
.mva-generic-fallback > .mva-candidate-heading,
.mva-generic-fallback > .mva-candidate-list {
  margin-right: 0.8rem;
  margin-left: 0.8rem;
}

.mva-timeline {
  margin-top: 1rem;
  overflow-x: auto;
  border: 1px solid rgba(98, 194, 180, 0.18);
  border-radius: 0.9rem;
  padding: 1rem;
  background: rgba(2, 13, 10, 0.72);
  scrollbar-color: rgba(103, 201, 189, 0.45) transparent;
}

.mva-timeline-inner {
  position: relative;
  min-width: 38rem;
  height: 6.5rem;
}

.mva-timeline-label {
  position: absolute;
  top: 0;
  color: #848f88;
  font-size: 0.68rem;
  font-weight: 800;
}

.mva-timeline-label:first-child {
  left: 0;
}

.mva-timeline-label:nth-child(2) {
  right: 0;
}

.mva-timeline-rail {
  position: absolute;
  top: 3.25rem;
  right: 0;
  left: 0;
  height: 2px;
  background: rgba(238, 233, 223, 0.34);
}

.mva-timeline-marker {
  position: absolute;
  top: 50%;
  width: 0.9rem;
  height: 0.9rem;
  border: 2px solid #08110e;
  border-radius: 50%;
  padding: 0;
  background: var(--mva-teal);
  box-shadow: 0 0 0 1px rgba(103, 201, 189, 0.68);
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.mva-timeline-marker:hover,
.mva-timeline-marker:focus-visible,
.mva-timeline-marker.is-active {
  z-index: 2;
  outline: 2px solid var(--mva-cream);
  outline-offset: 3px;
  transform: translate(-50%, -50%) scale(1.18);
}

.mva-timeline-marker.is-strong {
  background: var(--mva-copper);
  box-shadow: 0 0 0 1px rgba(239, 166, 109, 0.74);
}

.mva-timeline-marker span {
  position: absolute;
  top: 1.15rem;
  left: 50%;
  color: #8d9891;
  font-size: 0.62rem;
  font-weight: 800;
  transform: translateX(-50%);
  white-space: nowrap;
}

.mva-timeline-selection {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0;
  color: #9ba69f;
  font-size: 0.7rem;
  font-weight: 750;
  text-align: center;
}

.mva-empty-timeline {
  margin: 0;
  color: var(--mva-muted);
  text-align: center;
}

.mva-candidate-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.2rem 0 0.75rem;
}

.mva-candidate-heading h3 {
  font-size: 1.25rem;
}

.mva-candidate-heading p {
  margin: 0;
  color: #89938c;
  font-size: 0.75rem;
}

.mva-candidate-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.mva-candidate-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 4.5rem;
  border: 1px solid rgba(98, 194, 180, 0.18);
  border-radius: 0.82rem;
  padding: 0.7rem;
  color: inherit;
  background: rgba(8, 30, 24, 0.68);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.mva-candidate-card:hover,
.mva-candidate-card:focus-visible {
  border-color: rgba(103, 201, 189, 0.62);
  outline: none;
  background: rgba(13, 48, 39, 0.82);
}

.mva-candidate-thumbnail {
  width: 3rem;
  height: 3rem;
  object-fit: cover;
  border-radius: 0.5rem;
  background: #020806;
}

.mva-candidate-index {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  color: var(--mva-teal);
  background: rgba(103, 201, 189, 0.12);
  font-size: 0.7rem;
  font-weight: 900;
}

.mva-candidate-copy {
  min-width: 0;
}

.mva-candidate-copy strong,
.mva-candidate-copy span {
  display: block;
}

.mva-candidate-copy strong {
  color: var(--mva-cream);
  font-size: 0.88rem;
}

.mva-candidate-copy span {
  margin-top: 0.2rem;
  overflow: hidden;
  color: #8d9891;
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mva-candidate-time {
  color: var(--mva-copper);
  font-size: 0.8rem;
  font-weight: 900;
}

.mva-export-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(16rem, 1.2fr);
  align-items: start;
  gap: 1rem;
  margin-top: 0.8rem;
  border: 1px solid rgba(98, 194, 180, 0.14);
  border-radius: 0.9rem;
  padding: 1rem;
  background: rgba(8, 30, 24, 0.46);
}

.mva-export-panel h3 {
  margin: 0;
  color: var(--mva-cream);
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  font-size: 1.15rem;
}

.mva-export-panel > div:first-child > p:last-child {
  max-width: 42rem;
  margin: 0.38rem 0 0;
  color: #a5aaa3;
  font-size: 0.77rem;
  line-height: 1.45;
}

#mva-submission-status[data-state="sent"] {
  color: #7ce0a0;
}

#mva-submission-status[data-state="failed"] {
  color: #ff9b9b;
}

#mva-submission-status[data-state="sending"] {
  color: var(--mva-teal);
}

.mva-export-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
}

.mva-export-actions button {
  width: 100%;
  min-width: 0;
}

.mva-export-note {
  margin: -0.1rem 0 0.35rem;
  color: #828d87;
  font-size: 0.7rem;
  line-height: 1.4;
}

.mva-export-actions button:disabled {
  border-color: rgba(103, 201, 189, 0.16);
  color: rgba(238, 233, 223, 0.38);
  background: rgba(31, 89, 80, 0.28);
  box-shadow: none;
  cursor: not-allowed;
}

.mva-results-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 1.25rem;
  border-top: 1px solid rgba(98, 194, 180, 0.14);
  padding-top: 1rem;
}

.mva-results-actions p {
  max-width: 30rem;
  margin: 0;
  color: #818c85;
  font-size: 0.75rem;
  line-height: 1.45;
  text-align: right;
}

/* Keep the global feedback launcher useful without allowing it to cover this
   prototype's phone controls or result cards. */
.page-match-video-working .oak-feedback-launcher {
  position: static;
  display: flex;
  width: fit-content;
  margin: 0.75rem auto max(1rem, env(safe-area-inset-bottom));
}

@media (max-width: 760px) {
  .page-match-video-working .app {
    width: min(100% - 1rem, 1240px);
  }

  .page-match-video-working .site-nav > nav {
    display: none;
  }

  .mva-mobile-menu {
    position: relative;
    display: block;
  }

  .mva-mobile-menu summary {
    min-height: 2.8rem;
    border: 1px solid rgba(103, 201, 189, 0.28);
    border-radius: 0.65rem;
    padding: 0.75rem 0.9rem;
    color: var(--mva-cream);
    background: rgba(5, 24, 18, 0.94);
    font-weight: 850;
    cursor: pointer;
    list-style: none;
  }

  .mva-mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mva-mobile-menu > div {
    position: absolute;
    z-index: 10;
    top: calc(100% + 0.4rem);
    right: 0;
    display: grid;
    width: min(15rem, calc(100vw - 2rem));
    overflow: hidden;
    border: 1px solid rgba(103, 201, 189, 0.26);
    border-radius: 0.75rem;
    background: #04140f;
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.45);
  }

  .mva-mobile-menu a {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(103, 201, 189, 0.12);
    color: var(--mva-cream);
    text-decoration: none;
  }

  .mva-hero {
    margin: 1.8rem auto 1.25rem;
  }

  .mva-hero h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .mva-card {
    border-radius: 0.95rem;
  }

  .mva-section-heading,
  .mva-results-heading,
  .mva-candidate-heading,
  .mva-results-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .mva-engine-status {
    align-self: flex-start;
  }

  .mva-file-drop {
    min-height: 6.5rem;
    justify-content: flex-start;
  }

  .mva-file-details {
    grid-template-columns: 1fr;
  }

  .mva-video-wrap {
    min-height: 16rem;
  }

  .mva-requirements ul,
  .mva-candidate-list {
    grid-template-columns: 1fr;
  }

  .mva-result-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mva-result-summary > div {
    padding: 0.7rem 0.55rem;
  }

  .mva-result-summary dd {
    font-size: 1rem;
  }

  .mva-semantic-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .mva-semantic-legend {
    justify-content: flex-start;
  }

  .mva-semantic-timeline {
    padding-right: 0.65rem;
    padding-left: 0.65rem;
  }

  .mva-semantic-detail {
    padding: 0.8rem;
  }

  .mva-semantic-log-button {
    grid-template-columns: 3.65rem 1.2rem minmax(0, 1fr);
    gap: 0.35rem;
  }

  .mva-semantic-log-time {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .mva-semantic-log-symbol {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .mva-semantic-log-copy {
    grid-column: 3;
    grid-row: 1;
    white-space: normal;
  }

  .mva-semantic-log-confidence {
    grid-column: 3;
    grid-row: 2;
  }

  .mva-timeline {
    overflow: visible;
    padding: 0.85rem;
  }

  .mva-timeline-inner {
    width: 100%;
    min-width: 0;
    height: 7rem;
  }

  .mva-timeline-marker span {
    display: none;
  }

  .mva-timeline-selection {
    font-size: 0.68rem;
  }

  .mva-export-panel,
  .mva-export-actions {
    grid-template-columns: 1fr;
  }

  .mva-export-panel {
    align-items: stretch;
  }

  .mva-export-actions button {
    width: 100%;
    min-width: 0;
  }

  .mva-results-heading .mva-secondary-button,
  .mva-results-actions .mva-primary-button {
    width: 100%;
  }

  .mva-results-actions p {
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 430px) {
  .mva-card {
    padding: 0.9rem;
  }

  .mva-privacy-note {
    padding: 0.75rem;
  }

  .mva-file-drop {
    gap: 0.75rem;
    padding: 0.9rem;
  }

  .mva-upload-mark {
    width: 2.7rem;
    height: 2.7rem;
  }

  .mva-metadata-grid {
    grid-template-columns: 1fr;
  }

  .mva-result-summary {
    gap: 0.4rem;
  }

  .mva-result-summary dt {
    font-size: 0.58rem;
  }

  .mva-candidate-card {
    gap: 0.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mva-file-drop,
  .mva-progress-track > span {
    transition: none;
  }
}
