:root {
  color-scheme: dark;
  --bg: #141715;
  --panel: #1c201d;
  --line: #41473f;
  --ink: #f2f2dc;
  --dim: #b7bdae;
  --faint: #9da596;
  --signal: #d8f58d;
  --violet: #c9bde8;
  --gold: #eac98d;
  --mono: 'Martian Mono', ui-monospace, monospace;
  --serif: 'Fraunces', Georgia, serif;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font:
    16px/1.5 system-ui,
    sans-serif;
}
main {
  max-width: 1260px;
  padding: 26px clamp(16px, 4vw, 62px) 32px;
  margin: auto;
}
a {
  color: inherit;
  text-underline-offset: 0.23em;
}
button,
select,
input,
textarea {
  font: inherit;
}
button,
select,
.filebutton,
.video-choice {
  cursor: pointer;
}
button,
.filebutton {
  padding: 9px 13px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #292f29;
  font: 11px/1.5 var(--mono);
  border-radius: 4px;
}
button:hover,
.filebutton:hover {
  border-color: var(--signal);
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
input,
textarea,
select {
  background: #141815;
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 3px;
}
input,
select {
  padding: 6px 8px;
  min-width: 0;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible,
select:focus-visible,
textarea:focus-visible,
label:focus-within {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}
.crumb,
.bar,
.trackhead,
.screen-head,
.screen-foot,
.ticks,
.transport,
.fieldlabel,
.hint,
.filters,
.pages,
.aw-wayout,
.methodlink,
.sync label,
#edl-options label,
#status,
.cue-tag,
.cue-times {
  font-family: var(--mono);
  font-size: 11px;
}
.crumb {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--dim);
}
.crumb a {
  text-decoration: none;
}
.crumb a:hover {
  text-decoration: underline;
}
header,
.section-top,
.actions,
.bar,
.trackhead,
.transport,
.screen-head,
.pages,
.fieldrow,
.downloads,
.filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
header {
  margin: 26px 0 24px;
  align-items: end;
}
h1,
h2,
p {
  margin: 0;
}
h1 {
  font: 550 clamp(44px, 6.5vw, 84px) / 1 var(--serif);
  letter-spacing: -0.055em;
}
header p,
.report .section-top p {
  margin-top: 12px;
  color: var(--dim);
}
header p {
  max-width: 655px;
}
h2 {
  font: 500 clamp(22px, 2.1vw, 32px) / 1.1 var(--serif);
  letter-spacing: -0.03em;
}
.methodlink {
  white-space: nowrap;
  color: var(--dim);
}
.desk,
.panel,
.report {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.desk {
  overflow: hidden;
}
.bar {
  padding: 10px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  letter-spacing: 0.04em;
}
.bar span:first-child {
  color: var(--signal);
}
.bar i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--signal);
}
.monitor {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
}
.visual {
  padding: 18px 22px 12px;
  min-width: 0;
}
.trackhead {
  margin: 0 0 7px;
  color: var(--dim);
}
.trackhead h2 {
  font: inherit;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.trackhead:not(:first-child) {
  margin-top: 15px;
}
.timeline {
  position: relative;
  height: 35px;
  overflow: hidden;
  background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), #41473f 10%), #141915;
  border: 1px solid #485140;
  border-radius: 2px;
}
.interval {
  position: absolute;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  padding: 4px 6px;
  border: 0;
  border-radius: 0;
  box-shadow: inset -2px 0 #1c211b;
  font: 10px/1.1 var(--mono);
  color: #1c211b;
  white-space: nowrap;
  overflow: hidden;
  min-width: 1px;
}
.interval:hover {
  filter: brightness(1.1);
}
.source-cue {
  position: absolute;
  height: 10px;
  top: 4px;
  background: var(--violet);
  border-right: 2px solid #242826;
}
.select-mark {
  position: absolute;
  height: 7px;
  bottom: 3px;
  border-right: 2px solid #242826;
  background: var(--signal);
}
.ticks {
  display: flex;
  justify-content: space-between;
  color: var(--faint);
  margin-top: 3px;
  font-size: 9px;
}
.screen {
  position: relative;
  min-height: 186px;
  isolation: isolate;
  background: #101410;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  border-left: 1px solid var(--line);
  padding: 12px 16px;
}
.screen video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: -1;
}
.screen-head,
.screen-foot {
  color: var(--dim);
  font-size: 10px;
}
.screen:has(video:not([hidden])) .screen-head,
.screen:has(video:not([hidden])) .screen-foot {
  background: #111b;
}
.video-choice {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.filebutton,
.video-choice {
  position: relative;
}
.filebutton input,
.video-choice input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  cursor: pointer;
}
.screen-foot {
  margin-top: 8px;
}
#subtitle {
  font: 500 clamp(18px, 2.4vw, 32px) / 1.2 var(--serif);
  text-align: center;
  white-space: pre-line;
  overflow-wrap: anywhere;
  text-shadow: 0 1px 3px black;
  background: #101410b0;
  padding: 3px;
  max-height: 125px;
  overflow: auto;
}
.transport {
  border-top: 1px solid var(--line);
  padding: 8px 14px;
  gap: 14px;
}
#play {
  min-width: 78px;
}
#scrub {
  width: 100%;
  padding: 0;
  accent-color: var(--signal);
}
#clock {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}
.panel,
.report {
  padding: clamp(14px, 2vw, 24px);
  min-width: 0;
}
.section-top {
  align-items: center;
}
.fieldlabel {
  color: var(--dim);
  display: block;
}
.panel > .fieldlabel,
.fieldrow {
  margin: 12px 0 7px;
  min-height: 26px;
  align-content: center;
}
.fieldrow {
  justify-content: start;
}
.fieldrow select {
  font: 10px var(--mono);
  padding: 3px;
}
.panel textarea {
  width: 100%;
  min-height: 114px;
  resize: vertical;
  padding: 10px 12px;
  font: 11px/1.55 var(--mono);
  tab-size: 2;
}
.hint {
  color: var(--dim);
  margin-top: 5px;
  font-size: 10px;
}
#edl-options,
.anchors {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  margin-top: 12px;
}
#edl-options input,
#edl-options select,
.anchors input {
  display: block;
  width: 100%;
  margin-top: 4px;
  font: 11px/1.6 var(--mono);
}
.sync,
#method {
  padding: 14px 2px;
  border-bottom: 1px solid var(--line);
}
summary {
  cursor: pointer;
  font-weight: 600;
}
.sync p,
#method p {
  color: var(--dim);
  max-width: 78ch;
  margin: 12px 0;
}
.actions {
  justify-content: start;
  flex-wrap: wrap;
  margin: 16px 0 24px;
}
.primary {
  background: var(--signal);
  color: #181e13;
  border-color: var(--signal);
  font-weight: 600;
}
#status {
  color: var(--dim);
  overflow-wrap: anywhere;
}
#error,
#warnings p {
  padding: 12px 15px;
  color: #ffe7aa;
  background: #372f21;
  border-left: 3px solid var(--gold);
  margin: 10px 0;
}
.report .section-top {
  align-items: start;
  flex-wrap: wrap;
}
.report .section-top p {
  margin-top: 4px;
  font-size: 14px;
}
.downloads,
.filters {
  flex-wrap: wrap;
  justify-content: start;
}
.downloads {
  gap: 5px;
}
.filters {
  padding: 14px 0;
  color: var(--dim);
}
.filters select,
.filters input {
  font: 11px/1.4 var(--mono);
  max-width: 100%;
}
.cue-row {
  display: grid;
  grid-template-columns: minmax(80px, 0.55fr) minmax(0, 2fr) minmax(115px, 1fr);
  align-items: start;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 12px 0;
}
.cue-id {
  font: 11px/1.5 var(--mono);
  color: var(--dim);
}
.cue-tag {
  width: max-content;
  max-width: 100%;
  display: block;
  margin-top: 5px;
  font-size: 9px;
  text-transform: uppercase;
  color: var(--signal);
}
.cue-tag[data-state='dropped'] {
  color: var(--gold);
}
.cue-tag[data-state='repeated'] {
  color: var(--violet);
}
.cue-line {
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.cue-times {
  color: var(--dim);
  font-size: 10px;
}
.jumps {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.jumps button {
  padding: 4px 6px;
  text-align: left;
  font-size: 9px;
  overflow-wrap: anywhere;
}
.pages {
  justify-content: end;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  color: var(--dim);
}
.aw-wayout {
  margin-top: 30px;
  line-height: 2.2;
  color: var(--dim);
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  white-space: nowrap;
  overflow: hidden;
}
#method {
  margin-top: 12px;
}
[inert] {
  opacity: 0.52;
}
html {
  scroll-behavior: auto;
}
@media (max-width: 720px) {
  main {
    padding: 16px 14px;
  }
  .monitor,
  .inputs {
    grid-template-columns: 1fr;
  }
  .screen {
    border-left: 0;
    border-top: 1px solid var(--line);
    min-height: 130px;
  }
  .visual {
    padding: 14px;
  }
  .transport {
    gap: 7px;
    padding: 7px;
  }
  .methodlink {
    display: none;
  }
  .crumb {
    font-size: 9px;
    gap: 7px;
  }
  .inputs {
    gap: 10px;
  }
  .cue-row {
    grid-template-columns: 64px 1fr;
    gap: 8px;
  }
  .jumps {
    grid-column: 2;
  }
  .filters {
    align-items: start;
  }
  .filters label {
    display: grid;
    gap: 3px;
  }
  .actions {
    gap: 7px;
  }
  header {
    margin: 22px 0 17px;
  }
  .pages {
    justify-content: space-between;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
  }
}
.head-mark {
  position: absolute;
  pointer-events: none;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #fff;
  box-shadow: 0 0 0 1px #292d25;
}
#unload-video {
  font-size: 9px;
  padding: 2px;
}
.screen-head {
  flex-wrap: wrap;
}
.screen-head span {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 50%;
}
.review-settings {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.review-settings summary span {
  margin-left: 8px;
  color: var(--signal);
  font: 10px var(--mono);
}
.review-settings p,
.picture-duration {
  margin-top: 8px;
  color: var(--dim);
  font-size: 13px;
}
.review-settings .filters input {
  width: 80px;
}
.qa-flag {
  color: var(--gold);
  font: 9px/1.5 var(--mono);
}

.aw-holds .aw-holds-v > a {
  display: inline-block;
  min-height: 24px;
}
