.staff{position:relative;min-width:0;overflow:hidden;font-family:var(--font-tab);font-size:var(--fs-staff);line-height:1.6;font-variant-ligatures:none;white-space:pre;color:var(--tab-line);user-select:none;-webkit-user-select:none;touch-action:manipulation}@media(pointer:coarse){.staff.is-interactive{line-height:1.95}}.staff__measure{position:absolute;visibility:hidden;pointer-events:none}.staff__system+.staff__system{margin-top:1.5em}.staff__system{scroll-margin:calc(56px + var(--sp-4)) 0 calc(var(--bar-h) + var(--sp-5))}@media(min-width:1024px){.staff__system{scroll-margin:var(--sp-6) 0 var(--sp-7)}}.staff__line{display:block}.staff__label{color:var(--text-muted);font-weight:600}.staff__edge,.staff__cell.is-bar{color:var(--tab-bar)}.staff__cell{border-radius:3px}.staff__cell b{color:var(--tab-note);font-weight:650}.staff.is-interactive .staff__cell{cursor:pointer}.staff.is-interactive .staff__cell:hover{background:var(--tab-hover)}.staff__cell.is-range{background:var(--tab-range)}.staff__cell.is-cur{background:var(--tab-selected);box-shadow:inset 0 -2px 0 var(--accent)}.staff__cell.is-cur,.staff__cell.is-cur b{color:var(--accent-strong)}.staff:not(:focus-within):not(.review__staff) .staff__cell.is-cur{box-shadow:none}.staff:focus-visible{outline:2px solid var(--focus);outline-offset:8px;border-radius:6px}.staff.sheet:focus,.staff.sheet:focus-visible{outline:none;border-color:color-mix(in srgb,var(--accent) 55%,var(--hairline))}.editor-sheet>.staff:focus,.editor-sheet>.staff:focus-visible{outline:none}.editor-sheet:has(>.staff:focus){border-color:color-mix(in srgb,var(--accent) 55%,var(--hairline))}.staff__cell.is-pinned b{color:var(--tab-pinned)}.staff__cell.is-changed{animation:staff-flash 2.4s ease-out}@keyframes staff-flash{0%,35%{background:var(--tab-selected)}}.sheet{background:var(--sheet);border:1px solid var(--hairline);border-radius:var(--radius-lg);padding:var(--sp-5) var(--sp-5) var(--sp-5)}@media(max-width:600px){.sheet{padding:var(--sp-4) var(--sp-3);border-radius:var(--radius-md);margin-inline:calc(-1 * var(--sp-2))}}.tab-preview{min-width:0;overflow:hidden}.tab-preview pre{margin:0;font-family:var(--font-tab);font-size:.75rem;line-height:1.45;color:var(--tab-line);font-variant-ligatures:none;overflow:hidden;white-space:pre}.tab-preview.is-cut pre{-webkit-mask-image:linear-gradient(90deg,#000 80%,transparent);mask-image:linear-gradient(90deg,#000 80%,transparent)}.tab-preview b{color:var(--tab-note);font-weight:600}.tab-preview i{font-style:normal;color:var(--text-faint)}.staff.can-drag .staff__cell.has-note{cursor:grab;touch-action:none}.staff.is-dragging,.staff.is-dragging *{cursor:grabbing!important}.staff__cell.is-drag-from b{opacity:.3}.staff__cell.is-drag-to{background:var(--tab-selected);box-shadow:inset 0 0 0 1px var(--accent)}.staff__cell.is-drag-to b{color:var(--accent-strong)}.staff__playhead{position:absolute;left:0;top:0;width:2px;margin-left:-1px;border-radius:2px;background:var(--accent);box-shadow:0 0 10px color-mix(in srgb,var(--accent) 70%,transparent);pointer-events:none;z-index:2;will-change:transform}.staff__cell.is-playing{background:color-mix(in srgb,var(--accent) 14%,transparent)}.staff__cell.is-playing b{color:var(--accent-strong)}.staff__line--rhythm,.staff__line--tempo{color:var(--text-faint)}.staff__line--rhythm .staff__above{color:var(--accent-strong);font-weight:650}.staff__line--tempo .staff__above{color:var(--text-muted);font-weight:650}.staff__line--part{color:var(--accent-strong)}.staff__line--part .staff__above{font-weight:700}.staff.is-interactive .staff__line--part .staff__above{cursor:pointer}.staff.is-interactive .staff__above{cursor:pointer;border-radius:3px}.staff.is-interactive .staff__above:hover{background:var(--tab-hover)}
