:root { color-scheme: dark; font: 16px/1.55 system-ui, sans-serif; background: #10151d; color: #e6edf6; }
* { box-sizing: border-box; }
body { margin: 0 auto; max-width: 1040px; padding: 32px 24px 48px; }
header { padding: 24px 0 16px; }
.badge { color: #7be2c2; letter-spacing: .13em; font-size: .8rem; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 6vw, 4rem); line-height: 1.08; margin: 20px 0; letter-spacing: -.04em; }
h2 { font-size: 1.4rem; margin: 0 0 12px; }
h3 { margin: 0; font-size: 1.05rem; }
.lead { font-size: 1.2rem; max-width: 750px; }
p { margin: 12px 0; }
.notice { color: #ffd999; border-left: 3px solid #ffbf69; padding-left: 14px; }
section { border: 1px solid #344152; border-radius: 14px; background: #18212c; padding: 24px; margin: 24px 0; }
.toolbar, .card-tools, .range { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
button, .file-button { font: inherit; border: 1px solid transparent; background: #7be2c2; color: #0d2422; border-radius: 7px; padding: 9px 14px; cursor: pointer; font-weight: 650; }
button:hover, .file-button:hover { filter: brightness(1.08); }
button:disabled { cursor: not-allowed; opacity: .45; }
button.secondary, .secondary { background: #243447; color: #e6edf6; border-color: #53647a; }
button.danger { background: #432d36; color: #ffb0b0; border-color: #77505e; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid #ffdc88; outline-offset: 3px; }
.file-button { position: relative; overflow: hidden; }
.file-button input { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }
.file-button:focus-within { outline: 3px solid #ffdc88; outline-offset: 3px; }
video { display: block; width: 100%; max-height: 380px; background: #05080d; border-radius: 8px; margin-top: 15px; }
.small, footer { color: #acbcd0; font-size: .88rem; }
.group { background: #101a26; border: 1px solid #405269; border-radius: 10px; padding: 18px; margin: 14px 0; }
.card-tools { justify-content: space-between; margin-bottom: 14px; }
.card-tools div { display: flex; gap: 6px; flex-wrap: wrap; }
label { display: block; }
input[type=text] { display: block; background: #080f18; color: #edf6ff; border: 1px solid #60738b; border-radius: 5px; padding: 8px; font: inherit; width: 100%; }
.title-label { margin-bottom: 12px; }
.range { border-top: 1px solid #344152; padding: 12px 0; align-items: end; }
.range label { flex: 1 1 125px; max-width: 190px; }
.range button { font-size: .78rem; padding: 9px; }
.filename { overflow-wrap: anywhere; color: #93ecd2; }
.group > button { margin-top: 8px; }
#plan-status { min-height: 28px; font-weight: 650; }
#plan-status.error { color: #ffb0b0; }
#plan-status.ok { color: #93ecd2; }
pre { overflow: auto; background: #080f18; border: 1px solid #344152; border-radius: 8px; padding: 16px; font-size: .85rem; }
code { overflow-wrap: anywhere; }
a { color: #93ecd2; }
#queue { padding-left: 24px; }
#queue li { margin: 9px 0; }
@media (max-width: 600px) { body { padding: 16px 12px; } section { padding: 16px; } .card-tools { align-items: start; } }

