.rhythm-mode{display:flex;gap:12px;margin:20px 0}.rhythm-mode button{padding:12px 30px;border:1px solid #69847b;background:white;color:#174d43;border-radius:12px;font:inherit}.rhythm-mode button[aria-pressed=true]{background:#075b52;color:white;border:3px solid #b68a40;box-shadow:0 4px 0 #183e36;font-weight:800}.rhythm-learn{max-width:850px;margin:auto}.rhythm-learn button{margin:6px;padding:10px 15px;font:inherit;min-height:44px}.rhythm-learn label{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.rhythm-learn input{max-width:100%}.meter-card{margin:22px 0;padding:18px;border:1px solid #bca16f;border-inline-start:5px solid #226c60;border-radius:16px;background:#fffdf6}.rhythm-beads{display:flex;gap:6px;justify-content:center;margin:20px 0}.rhythm-beads span{display:grid;place-items:center;min-width:27px;height:40px;flex:1;max-width:64px;border:1px solid #698b80;border-radius:50%;background:white;color:#214f43}.rhythm-beads .accent{border:3px solid #286c5e;font-weight:bold}.rhythm-beads .group-start{margin-left:14px}.rhythm-beads .lit{background:#f4cb6d;outline:3px solid #9b6a18;transform:translateY(-3px)}.rhythm-learn details{padding:15px;border-block:2px solid #bca16f}.rhythm-learn a{display:block;margin-top:18px}[hidden]{display:none!important}

.duration-lesson{border-bottom:3px double #b59c68;padding-bottom:24px;margin-bottom:25px}.note-value-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:10px}.note-value-card{padding:10px;border:1px solid #94aa9c;border-radius:12px;background:#faf8ed;min-width:0}.note-value-card svg{height:60px;width:52px;display:block;margin:auto}.note-value-card button{display:block;margin:5px auto;max-width:100%}.note-value-card p{font-size:13px;text-align:center}.duration-bar{height:9px;background:#467b65;min-width:5px}.note-value-card.lit,.equal-duration.lit{outline:3px solid #bd8d35;background:#f4e4bc}.equal-duration{padding:15px;margin:18px 0;border:1px solid #b59c68;border-radius:12px}

.rhythm-stage-nav{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:20px}.rhythm-stage-nav button{flex:1;min-width:100px;font-size:14px;margin:0}.rhythm-stage-nav button[aria-pressed=true]{background:#125c4c;color:white;border:2px solid #b28a40;font-weight:bold}.rhythm-stage-footer{display:flex;justify-content:space-between;margin-top:18px;border-top:2px solid #b28a40;padding-top:12px}.rhythm-deeper{margin:20px 0}

.rhythm-deeper h4{margin-bottom:6px}
