.rhythm-options{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 20px}.rhythm-options button{display:flex;align-items:center;gap:18px;background:transparent;border:1px solid #cec9bf;padding:13px 21px;min-height:46px;color:#56544e;font-size:13px}.rhythm-options button span{font:10px var(--mono);color:#918779}.rhythm-options button[aria-pressed=true]{background:#681c2c;border-color:#681c2c;color:#fff8ed}.rhythm-options button[aria-pressed=true] span{color:#d7bcb4}.rhythm-layout{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(280px,1fr);border:1px solid #cec9bf}.rhythm-visual{min-width:0;background:radial-gradient(ellipse at 48% 40%,#334043,#1c272a 75%);color:#ece6db}.rhythm-top{padding:18px 22px;display:flex;justify-content:space-between;align-items:center;gap:15px;font:10px var(--mono)}.rhythm-top label{font:11px Arial,sans-serif;display:flex;gap:8px;align-items:center}.rhythm-top input{accent-color:#d5af7c}#rhythm-heart{height:420px;position:relative;isolation:isolate}#rhythm-heart canvas{display:block;width:100%;height:100%;touch-action:none}#rhythm-loading{position:absolute;inset:0;z-index:8;display:grid;place-content:center;padding:30px;background:#202c2e;text-align:center;font-size:13px;line-height:1.7}.rhythm-labels{position:absolute;inset:0;pointer-events:none;overflow:hidden}.rhythm-labels button{position:absolute;pointer-events:auto;font:10px Arial,sans-serif;color:#e3c8a1;background:#1f2b2de8;padding:9px 10px;border:1px solid #8a7d694d;min-height:32px;white-space:nowrap}.rhythm-view{padding:0 20px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px;color:#9babaa;font-size:10px}.rhythm-view button{background:transparent;border:1px solid #ffffff25;color:#d6dcd5;font-size:11px;min-height:36px;padding:8px 12px}.rhythm-legend{display:flex;gap:20px;font-size:10px;padding:8px 22px 18px;color:#a9b8b3}.rhythm-legend span:before{content:'';display:inline-block;width:16px;height:2px;background:#e5af6b;margin:0 7px 3px 0}.rhythm-legend span:nth-child(2):before{background:#65c4f1}.rhythm-legend span:nth-child(3):before{background:#ec8caa}.rhythm-trace{border-top:1px solid #ffffff20;padding:15px 12px 0}.rhythm-trace-title{display:flex;justify-content:space-between;gap:15px;padding:0 10px;font:9px var(--mono);color:#acbcb7}.rhythm-trace-title span:last-child{color:#d7c6a8}#rhythm-strip{width:100%;height:150px;display:block}.rhythm-live{display:flex;justify-content:space-between;gap:15px;padding:12px 22px 17px;font-size:11px;color:#c2d3cc}#rhythm-time{font:10px var(--mono);white-space:nowrap}.rhythm-info{padding:28px 29px;background:#f3f1eb}.rhythm-info h2{font:500 30px/1.15 Arial,sans-serif;letter-spacing:-1px;margin:16px 0 22px}.rhythm-info h3{font:10px var(--mono);letter-spacing:.6px;color:#754d43;margin:24px 0 8px}.rhythm-info p{font-size:13px;line-height:1.8;color:#6c685f;margin:0}.rhythm-info .rhythm-tag{font:10px/1.6 var(--mono);color:#887766;letter-spacing:.2px}.rhythm-rate{padding:17px 0;border-top:1px solid #d8d2c7;border-bottom:1px solid #d8d2c7;display:flex;align-items:center;justify-content:space-between;gap:12px}.rhythm-rate span{font-size:11px;color:#7d766b}.rhythm-rate strong{font:22px var(--mono);font-weight:400;color:#681c2c;white-space:nowrap}.rhythm-info .rhythm-watch{margin-top:24px;padding-top:18px;border-top:1px solid #d8d2c7;font-size:12px}.rhythm-info .rhythm-node-note{margin-top:15px;padding:12px;border-left:2px solid #b18c62;background:#eae4d8;font-size:11px}.rhythm-transport{display:flex;align-items:center;gap:14px;padding:15px 18px;border:1px solid #cec9bf;border-top:0;background:#eeece5;flex-wrap:wrap}.rhythm-transport>label{display:flex;align-items:center;gap:9px;font-size:11px;color:#69655e}.rhythm-transport select{min-width:90px;min-height:44px;padding:10px 25px 10px 12px}.rhythm-transport .rhythm-scrub{flex:1;min-width:170px;margin-left:10px}.rhythm-scrub input{width:100%;min-width:70px}.rhythm-footnote{font:10px/1.7 Arial,sans-serif;color:#888173;margin:14px 0 0;max-width:95ch}.ecg-tabs button{min-height:46px}
@media(max-width:850px){.rhythm-layout{grid-template-columns:1fr}.rhythm-info{padding:23px}.rhythm-info h2{font-size:27px}.rhythm-info h3{margin-top:18px}#rhythm-heart{height:390px}.rhythm-info .rhythm-watch{margin-top:18px}.rhythm-rate{max-width:400px}.rhythm-info p{max-width:75ch}.rhythm-options button{flex:1;padding:12px 15px;justify-content:space-between;gap:10px}.rhythm-transport .rhythm-scrub{flex-basis:100%;margin-left:0}}
@media(max-width:480px){#rhythm-heart{height:335px}.rhythm-options{gap:6px}.rhythm-options button{font-size:12px;flex:1 1 28%;padding:10px 12px}.rhythm-top{padding:15px;font-size:9px}.rhythm-view{padding:0 12px 12px}.rhythm-view>span{max-width:90px;line-height:1.6}.rhythm-view button{padding:9px;min-height:42px}.rhythm-labels button{font-size:9px;padding:8px}.rhythm-legend{padding:4px 15px 16px;gap:12px;font-size:9px;flex-wrap:wrap}.rhythm-live{padding:12px 15px 16px;font-size:10px;min-height:48px}.rhythm-transport{gap:8px;padding:12px}.rhythm-transport .solid-button,.rhythm-transport .outline-button{padding:10px 14px}.rhythm-info h2{font-size:27px}.rhythm-trace-title{font-size:8px}.rhythm-info{padding:22px 19px}}

.rhythm-layout>.rhythm-visual{grid-column:1;grid-row:1}.rhythm-layout>.rhythm-info{grid-column:2;grid-row:1}.rhythm-layout>.rhythm-transport{grid-column:1/-1;grid-row:2;border-width:1px 0 0;border-top-color:#cec9bf}
@media(max-width:850px){.rhythm-layout>.rhythm-info{grid-column:1;grid-row:3}.rhythm-layout>.rhythm-transport{grid-column:1;grid-row:2;border-bottom:1px solid #cec9bf}}

@media(max-width:480px){.ecg-tabs{display:grid;grid-template-columns:1fr 1fr;gap:0 18px;overflow:visible}.ecg-tabs button{text-align:left;padding:10px 0;font-size:12px}}

.rhythm-legend .recovery-legend:before{background:#ad8dd6}.rhythm-legend #accessory-legend:before{background:#ec8caa}.rhythm-detail-note{position:absolute;left:15px;bottom:9px;font:9px/1.5 Arial,sans-serif;color:#d5c5a9;background:#202b2de6;padding:7px 10px}.rhythm-detail-note[hidden]{display:none}@media(max-width:480px){.rhythm-transport{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.rhythm-transport button{padding:10px 7px!important}.rhythm-transport>label:not(.rhythm-scrub){grid-column:1/-1;justify-content:space-between}.rhythm-transport .rhythm-scrub{grid-column:1/-1}.rhythm-legend{gap:8px 14px}.rhythm-detail-note{font-size:8px}}

.rhythm-legend span.recovery-legend:before{background:#ad8dd6}

.rhythm-labels button.is-active{border-color:#dec29a;background:#ead3b0;color:#252c2c}
