/* Caption tool. Same black and white as the rest of the site. */
body { max-width: 60rem; margin: 0 auto; padding: 1rem; background: #fff; color: #000; line-height: 1.45; }
a { color: #000; }
button, select, input, textarea { font: inherit; color: #000; background: #fff; border: 1px solid #000; border-radius: 0; }
button { padding: .2rem .6rem; cursor: pointer; }
button:hover:not(:disabled) { background: #000; color: #fff; }
button:disabled { opacity: .4; cursor: default; }
:focus-visible { outline: 2px solid #000; outline-offset: 2px; }
#drop { border: 1px dashed #000; padding: 2rem 1rem; text-align: center; }
#drop.over { background: #000; color: #fff; }
#drop.over a { color: #fff; }
progress { width: 100%; height: .6rem; accent-color: #000; }
.stage { position: relative; background: #000; }
video { display: block; width: 100%; max-height: 60vh; }
#overlay { position: absolute; left: 0; right: 0; bottom: 6%; text-align: center; pointer-events: none; }
#overlay span { background: #000; color: #fff; padding: .1rem .4rem; font-size: clamp(14px, 2.4vw, 22px); line-height: 1.5;
  box-decoration-break: clone; -webkit-box-decoration-break: clone; white-space: pre-line; }
#timeline { position: relative; height: 1.4rem; border: 1px solid #000; margin: .5rem 0; cursor: pointer; }
#timeline i { position: absolute; top: 0; bottom: 0; background: #000; }
#timeline i.bad { background: repeating-linear-gradient(45deg, #000 0 2px, #fff 2px 5px); }
#timeline b { position: absolute; top: -3px; bottom: -3px; width: 2px; background: #000; outline: 1px solid #fff; }
.bar { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: .5rem 0; }
table { width: 100%; border-collapse: collapse; }
th, td { border-bottom: 1px solid #000; padding: .3rem .25rem; vertical-align: top; text-align: left; }
td.time { white-space: nowrap; font-variant-numeric: tabular-nums; }
td.time button { padding: 0 .3rem; }
tr.now { background: #eee; }
tr.bad td:first-child { font-weight: bold; }
textarea { width: 100%; resize: vertical; min-height: 2.8rem; }
.issues { font-size: .85em; margin: .2rem 0 0; }
.small { font-size: .9em; }
[hidden] { display: none !important; }
@media (max-width: 40rem) { td.time { white-space: normal; } th.hide, td.hide { display: none; } }
