:root { color-scheme: light; font-family: "Instrument Sans", system-ui, sans-serif; color: #192922; background: #f4f5ef; }
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
.frame { width: min(920px, calc(100% - 36px)); margin-inline: auto; }
header { border-bottom: 1px solid #d7ded4; }
header .frame { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
header a:first-child { display: inline-flex; gap: 10px; align-items: center; font-weight: 750; text-decoration: none; }
header img { width: 32px; height: 32px; }
a { color: #174b35; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); letter-spacing: -.045em; margin: 48px 0 6px; line-height: 1.05; }
h2 { margin: 0 0 16px; font-size: 1.15rem; }
.intro { margin: 12px 0 26px; color: #4f6659; }
.editor { overflow: hidden; border: 1px solid #cbd7cc; background: #fcfdf9; border-radius: 18px; }
section { padding: 22px; }
.editor section + section { border-top: 1px solid #d7e1d7; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
button, .file, #download { font: inherit; font-weight: 670; min-height: 43px; padding: 10px 15px; border-radius: 9px; border: 1px solid #b7cabc; background: #ecf3e9; color: #16402d; cursor: pointer; text-decoration: none; }
.file { position: relative; }
.file input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.file:focus-within { outline: 2px solid #173f2d; outline-offset: 2px; }
#download { background: #174b35; color: white; border-color: #174b35; }
button:disabled { opacity: .5; cursor: default; }
.hint { color: #506458; font-size: .88rem; }
#wave { display: block; width: 100%; height: 110px; border-radius: 9px; background: #e5eee3; }
.range { display: flex; gap: 12px; }
.range label { width: min(180px, 50%); font-weight: 650; }
.range input { display: block; width: 100%; margin-top: 6px; padding: 9px 11px; border: 1px solid #abbeb0; border-radius: 8px; background: white; color: inherit; font: inherit; font-variant-numeric: tabular-nums; }
#status { min-height: 1.3em; font-variant-numeric: tabular-nums; }
audio { width: min(100%, 460px); display: block; margin-top: 13px; }
footer { display: flex; gap: 18px; padding: 24px 0 32px; }
.legal { max-width: 740px; line-height: 1.55; }
@media (max-width: 500px) { section { padding: 17px; } h1 { margin-top: 30px; } }
