.drip-rhythm{margin:24px 0;padding:23px 20px;border:1px solid #decbd2;border-radius:16px;background:#fbf7f8;min-width:0;scroll-margin-top:90px}
.rhythm-heading{display:flex;justify-content:space-between;align-items:start;gap:10px}.rhythm-heading p{font-size:11px;line-height:1.8;color:#826f76;margin:0 0 4px}.rhythm-heading h2{font-size:19px;font-weight:500;line-height:1.7;color:#5b3643;margin:0}.rhythm-badge{font-size:10px;line-height:1.6;padding:4px 8px;background:#fff;border:1px solid #e5d8dd;border-radius:20px;color:#826871;white-space:nowrap}
.rhythm-preview{display:flex;align-items:center;gap:16px;padding:22px 0}.rhythm-preview>div{min-width:0}.rhythm-preview strong{display:block;font-size:24px;line-height:1.65;font-weight:500;overflow-wrap:anywhere;color:#653c4b}#rhythm-drop{flex-shrink:0;width:61px;height:61px;display:grid;place-items:center;border-radius:50%;background:#efe5e9;color:#986e7d;will-change:transform,opacity}#rhythm-drop svg{width:32px;height:32px}.is-playing #rhythm-drop{background:#ead7de;color:#69384a;box-shadow:0 0 0 6px #f3e9ed}.rhythm-clock{display:flex;gap:14px;flex-wrap:wrap;font-size:12px;line-height:1.8;color:#826d75}
.rhythm-duration{min-width:0;border:0;padding:0;margin:0 0 17px}.rhythm-duration legend{font-size:12px;color:#785e67;padding:0;margin:0 0 9px}.rhythm-duration>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.rhythm-duration label{min-width:0;position:relative;cursor:pointer}.rhythm-duration input{position:absolute;opacity:0;width:1px;height:1px}.rhythm-duration span{display:grid;place-items:center;background:#fff;border:1px solid #dfcdd3;border-radius:9px;min-height:46px;font-size:14px;line-height:1.5;color:#76505e}.rhythm-duration input:checked+span{background:#f0e1e6;box-shadow:inset 0 0 0 1px #916d7a;border-color:#916d7a}.rhythm-duration input:focus-visible+span{outline:3px solid #85626f;outline-offset:3px}
.rhythm-buttons{display:grid;grid-template-columns:1.2fr 1fr;gap:12px}.rhythm-buttons button{min-width:0;min-height:54px;border:1px solid #69384a;border-radius:10px;font:inherit;font-size:16px;font-weight:500;cursor:pointer;background:#69384a;color:#fff}.rhythm-buttons button#rhythm-stop{background:#fff5f2;border-color:#e0b2b5;color:#9b4b61}.rhythm-buttons button:disabled{opacity:.45;cursor:default}.rhythm-volume-label{display:flex;justify-content:space-between;font-size:12px;line-height:1.8;color:#7a6069;margin:19px 0 3px}#rhythm-volume{display:block;width:100%;min-height:44px;margin:0;padding:0;accent-color:#794759;cursor:pointer}#rhythm-volume:focus-visible{outline:3px solid #85626f;outline-offset:3px}#rhythm-status{font-size:13px;line-height:1.8;color:#673f4d;margin:13px 0 0;min-height:24px}#rhythm-muted{font-size:12px;line-height:1.8;color:#9b4b61;margin:2px 0 0}.drip-rhythm .rhythm-hint{font-size:12px;line-height:1.9;color:#806e74;margin:12px 0 0}
@media(max-width:800px){.drip-rhythm{padding:20px 17px;margin:20px 0}.rhythm-heading h2{font-size:18px}.rhythm-preview{gap:12px}.rhythm-preview strong{font-size:23px}.rhythm-badge{font-size:9px;padding:4px 7px}.rhythm-buttons button{min-height:56px}.drip-rhythm .rhythm-hint{font-size:12px}}
@media(max-width:360px){.drip-rhythm{padding:18px 13px}.rhythm-heading{display:block}.rhythm-badge{display:inline-block;margin-top:7px}.rhythm-preview strong{font-size:20px}#rhythm-drop{width:48px;height:48px}.rhythm-preview{gap:11px}.rhythm-clock{gap:10px}.rhythm-buttons{gap:9px}}
@media(prefers-reduced-motion:reduce){#rhythm-drop{will-change:auto}}
@media(min-width:801px) and (min-height:800px){.drip-input-panel{position:sticky;top:88px}}
@media print{.drip-rhythm{display:none!important}}

.rhythm-jump{display:inline-flex;align-items:center;min-height:44px;color:#69384a;font-size:13px;margin:-12px 0 13px;text-underline-offset:5px}@media print{.rhythm-jump{display:none!important}}
