*{box-sizing:border-box}html{background:#f6f7f4;color:#223b36;font-family:system-ui,-apple-system,"PingFang SC","Microsoft Yahei",sans-serif}body{margin:0}button,input,select{font:inherit}button,a,select,input{touch-action:manipulation}button{cursor:pointer;min-height:44px;border:1px solid #dce4dd;background:#fff;border-radius:12px;padding:10px 16px;color:inherit;font-weight:600}button:disabled{cursor:default;opacity:.48}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #b3802d;outline-offset:3px}a{color:inherit}button:hover:not(:disabled){background:#eef3ed}[hidden]{display:none!important}.app{width:min(100%,560px);margin:auto;padding:16px 20px max(20px,env(safe-area-inset-bottom))}header{display:flex;align-items:center;gap:8px;height:44px}.brand{text-decoration:none;font-size:21px;font-weight:800}.brand span{color:#287563}.badge{font-size:10px;background:#e7eee5;padding:4px 7px;border-radius:6px}.quiet{border:0;background:transparent;font-size:12px;padding:8px 10px;font-weight:500}header>.quiet{margin-left:auto}.heading{margin:24px 0 20px}.heading h1{font-size:clamp(21px,5.8vw,29px);letter-spacing:-1px;margin:0 0 7px}.heading p{color:#7b8982;font-size:12px;margin:0}.upload-frame{position:relative;border-radius:19px;padding:3px;background:#dce5dc;--progress:0;--ring:#32866b}.upload-frame.active{background:conic-gradient(from -90deg,var(--ring) calc(var(--progress)*1%),#dce5dc 0)}.upload-frame.busy::before{content:"";position:absolute;inset:-2px;border:2px dashed #69aa84;border-radius:21px;opacity:.6;pointer-events:none;animation:breathe 1.4s ease-in-out infinite}.upload-pick{position:relative;width:100%;height:146px;padding:0;overflow:hidden;border:0;border-radius:16px;background:#edf1eb;display:flex;align-items:center;justify-content:center}.upload-pick:hover:not(:disabled){background:#e5ece2}.upload-pick img{width:100%;height:100%;object-fit:contain;background:white}.upload-pick b{font-size:17px;display:block}.upload-pick small{display:block;color:#8b998c;margin-top:9px;font-size:11px;font-weight:400}.frame-status{position:absolute;bottom:9px;left:50%;transform:translateX(-50%);max-width:94%;border-radius:20px;padding:6px 12px;background:#213d35e6;color:white;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.upload-tools{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:39px}.upload-tools>span{font-size:10px;color:#879288;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:62%}.primary{width:100%;background:#285f4e;color:#fff;border-color:#285f4e;min-height:48px;font-size:14px;border-radius:13px;display:flex;align-items:center;justify-content:center;gap:15px}.primary:hover:not(:disabled){background:#214e41}.status{font-size:11px;color:#79877d;line-height:1.6;min-height:18px;margin:12px 2px}.results-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:18px 0 11px}.results-title h2{font-size:13px;margin:0;max-width:58%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.results-title small{font-size:10px;color:#8c968c;text-align:right}.hand-card{border:1px solid #dce4d9;border-radius:15px;background:#fff;margin-bottom:10px;overflow:hidden}.hand-toggle{display:flex;align-items:center;gap:12px;width:100%;min-height:64px;border:0;border-radius:0;padding:12px 15px;text-align:left}.hand-toggle .hand-icon{width:36px;height:36px;display:grid;place-items:center;background:#edf3e9;border-radius:10px;color:#46724f;font-size:17px}.hand-toggle .hand-text{flex:1}.hand-toggle strong{font-size:14px;display:block}.hand-toggle small{display:block;font-size:10px;color:#94a08e;font-weight:400;margin-top:4px}.hand-toggle .chevron{font-size:18px;font-weight:400}.hand-toggle[aria-expanded=true]{background:#f0f5ed}.hand-body{padding:0 14px 14px}.hand-body audio{width:100%;height:42px;margin:5px 0}.player-options{display:flex;align-items:center;gap:12px;font-size:11px;flex-wrap:wrap}.player-options select{width:80px;min-height:38px;padding:5px}.download{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:7px 12px;background:#eff3eb;border:1px solid #dbe4d5;border-radius:10px;text-decoration:none;font-size:11px}.check{display:flex;align-items:center;gap:6px;min-height:44px;font-size:12px}.check input{width:18px;height:18px}.hint{font-size:11px;color:#7d8b7d;line-height:1.6}.actions{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.actions button{font-size:11px;padding:8px 12px}.fold{background:#fff;border:1px solid #dfe5db;border-radius:15px;padding:15px;margin:12px 0}.fold h2{font-size:15px;margin:0 0 12px}.settings,.editor-head{display:grid;grid-template-columns:1fr 1fr;gap:10px}.settings p{grid-column:1/-1}label{font-size:11px;display:block;color:#6a7e70}select,input[type=number]{width:100%;min-height:44px;border:1px solid #d9e3d6;border-radius:9px;background:white;color:#294b39;padding:8px;margin:5px 0 9px}#original{width:100%;height:auto;margin:12px 0}#originalToggle{margin:6px 0}.edit-note{padding:9px 0;border-bottom:1px solid #eef1eb}.edit-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.edit-note button{font-size:10px;min-height:38px;padding:5px 10px}.edit-note .pitch{border-left:2px solid #91ad80;padding-left:7px}#history button{width:100%;text-align:left;margin:4px 0;font-size:12px}#history small{display:block;font-size:10px;color:#8b998c;margin-top:4px}ul{font-size:11px;padding-left:18px;line-height:1.7;color:#976e2a}.notes{display:flex;gap:7px;overflow-x:auto;padding-top:10px}.measure{flex-shrink:0;border:1px solid #e7ecdf;border-radius:9px;padding:5px}.measure small{font-size:9px;display:block;color:#95a187}.note{min-width:44px;min-height:44px;padding:6px;background:#f8faf5;margin:2px;border:0;font-size:14px}.note.active{background:#d5e5c9}.notes-toggle{width:100%;margin-top:8px;min-height:44px;font-size:11px;background:#f6f8f2;border:0}.bar-loop{display:grid;grid-template-columns:1fr 1fr;gap:7px}.bar-loop button{grid-column:1/-1}footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;margin-top:24px;color:#96a18f;font-size:10px}footer p{width:100%;line-height:1.8}#editMessage{color:#986c2d}#qualityLabel{color:#986c2d}@keyframes breathe{50%{opacity:.18;border-color:#a6b451}}@media(max-width:360px){.app{padding:12px 14px}.heading{margin:18px 0}.upload-pick{height:125px}.hand-toggle{min-height:60px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@property --angle{syntax:"<angle>";initial-value:0deg;inherits:false}.upload-frame.busy::before{inset:0;padding:3px;border:0;background:conic-gradient(from var(--angle),transparent 65%,#e0bf59 80%,#3f9a74 95%,transparent);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude;border-radius:19px;opacity:1;animation:orbit 2.5s linear infinite;z-index:2}@keyframes orbit{to{--angle:360deg}}
.upload-pick:disabled{opacity:1;cursor:progress}
@media(prefers-reduced-motion:reduce){.upload-frame.busy::before{animation:none}}

@media(max-width:360px){header{height:40px}.heading{margin:12px 0}.results-title{margin:12px 0 8px}.status{margin:8px 2px}}

#listenPageControl{max-width:115px;margin:0}#listenPage{min-height:34px;height:34px;font-size:10px;margin:0;padding:3px}.results-title:has(#listenPageControl:not([hidden])) #meta{display:none}
.hand-toggle .hand-text{min-width:0}.hand-toggle small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:360px){.upload-pick{height:112px}}
