:root{color-scheme:light;--ink:#132a26;--muted:#516660;--line:#d4dfd9;--white:#fff;--forest:#185343;--lime:#c4ecab;font-family:Tahoma,Arial,sans-serif;background:#eff4ee;color:var(--ink)}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;min-width:280px}
button,a{-webkit-tap-highlight-color:transparent}
button{font:inherit;cursor:pointer}
button:disabled{opacity:.45;cursor:default}
button:focus-visible,a:focus-visible,audio:focus-visible{outline:3px solid #50865d;outline-offset:4px}
.mast{display:flex;justify-content:space-between;align-items:center;max-width:1120px;margin:auto;padding:22px clamp(16px,5vw,52px);border-bottom:1px solid var(--line)}
.brand{display:flex;gap:10px;align-items:center;font-size:1.35rem;font-weight:800}
main{width:min(680px,calc(100% - 28px));margin:clamp(25px,7vh,72px) auto 20px}
.intro{margin:0 auto 25px;text-align:center}
.intro h1{font-size:clamp(2rem,6vw,3.4rem);margin:11px 0 8px;line-height:1.25}
.intro p{font-size:1.05rem;color:var(--muted);max-width:480px;margin:0 auto;line-height:1.85}
.art{width:min(100%,365px);margin:auto;height:57px;overflow:hidden}
canvas{width:100%;height:100%;display:block}
.studio{background:var(--white);border:1px solid var(--line);border-radius:22px;padding:clamp(13px,4vw,28px);box-shadow:0 13px 40px #183f3010}
.drop{width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:164px;border:1.5px dashed #91ae9a;border-radius:14px;background:#f6faf5;padding:17px;color:var(--ink);text-align:center}
.drop:hover:not(:disabled),.drop.drag{background:#e9f5e6;border-color:var(--forest)}
.drop strong{font-size:1.12rem;max-width:100%;overflow-wrap:anywhere}
.drop span:last-child{font-size:.89rem;color:var(--muted);line-height:1.6}
.pick-icon{display:grid;place-items:center;background:#d8edd6;color:var(--forest);width:46px;height:46px;border-radius:15px;font-size:1.5rem}
.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:17px}
.primary,.quiet{padding:.78rem 1rem;border-radius:10px;min-height:45px;text-decoration:none;font-weight:700;border:1px solid transparent;line-height:1.25;display:inline-flex;align-items:center;justify-content:center;text-align:center}
.primary{background:var(--forest);color:white}
.primary:hover:not(:disabled){background:#103e32}
.quiet{color:var(--forest);background:transparent;border-color:#b8d1bf}
.quiet:hover:not(:disabled){background:#e4efe4}
.task,.result{margin-top:20px;border-top:1px solid var(--line);padding-top:16px}
.task small{display:block;color:var(--muted);line-height:1.6;font-size:.82rem}
.progress-head{display:flex;justify-content:space-between;align-items:center;gap:8px}
progress{width:100%;height:12px;margin:9px 0;accent-color:var(--forest)}
.result h2,dialog h2{margin:0 0 10px;font-size:1.2rem}
audio{display:block;width:100%;margin:0 0 13px}
.exports{display:flex;gap:10px;flex-wrap:wrap}
footer{text-align:center;color:var(--muted);font-size:.875rem;line-height:1.8;padding:6px 10px}
dialog{max-width:min(420px,90vw);border:1px solid var(--line);border-radius:16px;padding:24px;color:var(--ink)}
dialog p{line-height:1.8}
dialog::backdrop{background:#0c2422a0}
@media(max-width:430px){.actions .primary{flex:1}.mast{padding-block:12px}.mast .quiet{font-size:.87rem}}
