:root{font:15px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#203837;background:#f3f5f2}*{box-sizing:border-box}body{margin:0}header{background:#174d4b;color:#fff;padding:18px max(22px,calc((100% - 1050px)/2));display:flex;justify-content:space-between;gap:16px}header strong{font-size:1.2rem}header span{opacity:.85}.version{font-size:.8rem;align-self:center}main{max-width:1050px;margin:28px auto;padding:0 18px}.card{background:white;border:1px solid #d6dfda;border-radius:16px;padding:25px;margin:0 0 20px;box-shadow:0 2px 7px #071f1909}h1{font-size:1.55rem;margin:0 0 12px}h2{font-size:1.15rem;margin:0 0 18px}h3{font-size:1rem}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.full{grid-column:1/-1}label{display:block;font-size:.88rem;font-weight:650}input,select,textarea{font:inherit;width:100%;padding:11px;border:1px solid #becfc9;border-radius:8px;margin-top:5px;background:#fff;color:#173b38}input[type=file]{font-size:.85rem}textarea{resize:vertical}button{font:inherit;font-weight:650;cursor:pointer;background:#fff;border:1px solid #a5c4ba;border-radius:9px;padding:10px 13px;color:#176058}button:hover{background:#e4f4ef}button:disabled{opacity:.5;cursor:wait}.primary{background:#147e71;color:#fff;border-color:#147e71}.primary:hover{background:#09665a}.actions{display:flex;gap:12px;justify-content:flex-end;margin-top:20px;flex-wrap:wrap}.status{white-space:pre-wrap;background:#e2eeeb;border-left:4px solid #148377;border-radius:8px;padding:12px 16px;margin-bottom:18px}.status.error{border-color:#bf493d;background:#f9eae8}.status.ok{border-color:#20925c;background:#e5f3e8}.notice{background:#e6efeb;border-radius:10px;padding:14px;margin-bottom:20px}.toolbar,.subhead{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.subhead{margin:22px 0 10px}.subhead h3{margin:0}.hint{font-size:.82rem;color:#60746e}.inline{display:flex;align-items:center;gap:10px}.inline>*{min-width:0}.inline span{padding-top:4px}.instrument{background:#f8faf8;border:1px solid #d7e3dd;border-radius:11px;padding:15px;margin:12px 0}.instrument .grid{grid-template-columns:1fr 1fr 2fr}.instrument .head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.instrument .head button{color:#a43c33}#rhythms .item{padding:12px;border-bottom:1px solid #e6eeea}#rhythms .item:last-child{border:0}.pill{background:#ebeeec;color:#465b55;padding:3px 7px;border-radius:15px;font-size:.78rem}footer{text-align:center;color:#627973;padding:20px;font-size:.8rem}@media(max-width:760px){.grid,.instrument .grid{grid-template-columns:1fr}.full{grid-column:auto}.card{padding:17px}header{padding:15px 20px}.toolbar{align-items:start}}
