:root { color-scheme: light; font: 16px/1.5 system-ui, sans-serif; background: #f0f3ef; color: #202f2b; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
main { max-width: 1000px; margin: auto; padding: clamp(1rem, 4vw, 2.5rem); }
header { margin-bottom: 1.4rem; }
h1 { margin: 0; font-size: clamp(1.9rem, 5vw, 3rem); letter-spacing: -.045em; }
h2 { margin: 0 0 .7rem; font-size: 1.2rem; }
p { margin: .45rem 0; color: #425950; }
label { display: block; color: #31493f; }
.sources { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
section { background: #fff; border: 1px solid #d7e0d9; border-radius: .9rem; padding: 1rem; margin-bottom: 1rem; min-width: 0; }
textarea, input, button, select { font: inherit; }
textarea, [type=text], select { border: 1px solid #aebeb5; border-radius: .4rem; padding: .45rem; }
textarea { display: block; width: 100%; resize: vertical; margin: .25rem 0 .55rem; }
[type=file] { max-width: 100%; margin: .35rem 0 .65rem; }
button { cursor: pointer; color: #20362c; background: #edf3ee; border: 1px solid #b8cbbf; border-radius: .45rem; padding: .4rem .7rem; }
button:disabled { opacity: .55; cursor: default; }
.primary { color: white; background: #205a46; border-color: #205a46; }
.actions, .section-head, .cue-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.section-head { justify-content: space-between; }
video { display: block; width: 100%; max-height: 220px; background: #182a24; margin-bottom: .6rem; }
.cue { border-top: 1px solid #d7e0d9; padding: .75rem 0 .35rem; }
.cue input[type=text] { max-width: 9rem; font-variant-numeric: tabular-nums; }
[aria-invalid=true] { outline: 2px solid #9b2b2b; }
[data-error=true], .cue-error { color: #8a1717; }
mark { background: #ffe3a3; padding: 0 .1em; }
.changes { white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 650px) { .sources { grid-template-columns: 1fr; gap: 0; } }
a { color: #205a46; }
a:focus-visible, button:focus-visible { outline: 2px solid #205a46; outline-offset: 3px; }
del { color: #8a2f21; }
.changes del { margin-inline-end: .25em; }
