:root { color-scheme: light; font-family: "Instrument Sans", system-ui, sans-serif; background: #f0f5f3; color: #162e34; }
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: #12646a; }
.frame { width: min(1060px, calc(100% - 32px)); margin-inline: auto; }
header { background: #fbfdfc; border-bottom: 1px solid #d5e2df; }
.mast { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; }
.identity { font-weight: 730; text-decoration: none; display: inline-flex; gap: 9px; align-items: center; }
.identity img { width: 32px; height: 32px; }
h1 { font-size: clamp(2.15rem, 5vw, 3.9rem); margin: 47px 0 6px; letter-spacing: -.045em; line-height: 1.02; }
h2 { font-size: 1.12rem; margin: 0 0 16px; }
.intro { margin: 14px 0 26px; color: #4a6569; }
.editor { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.editor section { min-width: 0; padding: 21px; background: #fff; border: 1px solid #d5e3df; border-radius: 15px; }
.screen { display: grid; place-items: center; overflow: hidden; border-radius: 9px; background: #163239; color: #e7f6f4; min-height: 205px; text-align: center; }
.screen p { padding: 12px; }
.screen video { width: 100%; max-height: 380px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
button, select, .file, #download { min-height: 42px; border: 1px solid #bdd8d0; border-radius: 8px; padding: 9px 13px; background: #e9f4f0; color: #164d53; font: inherit; font-weight: 650; }
button, .file, #download { cursor: pointer; text-decoration: none; }
#mute { background: #12646a; color: #fff; border-color: #12646a; }
button:disabled { opacity: .5; cursor: default; }
.file { position: relative; }
.file input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.file:focus-within { outline: 2px solid #12646a; outline-offset: 2px; }
.hint, #status { font-size: .875rem; color: #486167; overflow-wrap: anywhere; }
#status { min-height: 1.2em; }
progress { width: 100%; accent-color: #12646a; margin: 0 0 8px; }
footer { display: flex; gap: 18px; padding: 21px 0 32px; }
.legal { max-width: 730px; line-height: 1.6; }
.legal section { margin-bottom: 35px; }
@media (max-width: 740px) { .editor { grid-template-columns: 1fr; } h1 { margin-top: 30px; } }
