.phrase-effects.sleeve-frame{z-index:0;pointer-events:none;-webkit-user-select:none;user-select:none;contain:strict;isolation:isolate;--sleeve-vis-w:100%;--sleeve-vis-h:100%;--sleeve-vis-margin:0;width:100%;height:100%;position:absolute;inset:0;overflow:clip;container-type:size}.phrase-matrix{isolation:isolate;width:100%;min-width:0;color:var(--color-foreground);flex-direction:column;gap:4px;display:flex;position:relative}.phrase-decks{z-index:1;flex-direction:column;min-width:0;display:flex;position:relative}.phrase-deck{--phrase-colour:var(--color-primary);--phrase-ink:var(--color-primary-foreground);min-width:0}.phrase-deck:not(.phrase-empty){display:contents}[data-phrase-deck=B]>.phrase-deck-header{order:0}[data-phrase-deck=B]>.phrase-grid{order:1}[data-phrase-deck=A]>.phrase-deck-header{border-top:1px solid var(--color-border);order:2;margin-top:4px}[data-phrase-deck=A]>.phrase-grid{order:3}[data-phrase-deck=B]>.phrase-details{order:6}[data-phrase-deck=A]>.phrase-details{order:7}[data-phrase-deck=B]>.phrase-toolbar{order:4}[data-phrase-deck=A]>.phrase-toolbar{order:5}.phrase-status{order:8}.phrase-deck-header{align-items:center;gap:4px;min-width:0;display:flex}.phrase-deck-header>div{flex:1;align-items:baseline;gap:8px;min-width:0;display:flex}.phrase-deck-header strong{white-space:nowrap;font-size:12px;font-weight:600}.phrase-deck-header span{text-overflow:ellipsis;white-space:nowrap;color:var(--color-muted-foreground);font-size:12px;overflow:hidden}.phrase-matrix button,.phrase-matrix select,.phrase-matrix summary{min-height:44px}.phrase-matrix button,.phrase-matrix select{border:1px solid var(--color-border);background:var(--color-background);min-width:44px;color:var(--color-foreground);border-radius:4px}.phrase-matrix button:disabled{opacity:.4}.phrase-grid{touch-action:pan-y;-webkit-user-select:none;user-select:none;gap:4px;min-width:0;display:grid}.phrase-row[data-phrase-row=accent]{touch-action:none}.phrase-row{grid-template-columns:repeat(5,minmax(0,1fr)) 44px;gap:4px;min-width:0;display:grid}.phrase-matrix .phrase-pad{background:color-mix(in srgb, var(--phrase-colour) 18%, var(--color-background));border-color:color-mix(in srgb, var(--phrase-colour) 55%, var(--color-border));font-variant-numeric:tabular-nums;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-width:0;height:48px;padding:3px;display:flex;position:relative}.phrase-pad>span,.phrase-pad-type,.phrase-pad-name{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:13px;overflow:hidden}.phrase-pad small{font-size:10px}.phrase-matrix .phrase-pad[data-chosen],.phrase-row[data-phrase-row=anchor] .phrase-pad:not([aria-disabled=true]){background:var(--phrase-colour);color:var(--phrase-ink)}.phrase-matrix .phrase-pad[aria-disabled=true]{opacity:.45}.phrase-matrix .phrase-pad[data-current]{opacity:1;box-shadow:inset 0 -4px 0 var(--phrase-ink)}.phrase-matrix .phrase-pad[aria-pressed=true]{outline:2px solid var(--color-foreground);outline-offset:-2px}.phrase-matrix .phrase-pad[data-next-cue]:not([aria-disabled=true]){border:2px solid var(--color-primary);background:color-mix(in srgb, var(--color-primary) 20%, var(--color-background));color:var(--color-foreground)}.phrase-pad>.phrase-pad-add{pointer-events:none;font-size:13px;font-weight:700;line-height:1;position:absolute;top:1px;right:4px}.phrase-pad-set{letter-spacing:.04em;pointer-events:none;font-size:9px;font-weight:600}.phrase-pad-type,.phrase-pad-name{line-height:1.1}.phrase-matrix .phrase-play{flex-direction:column;justify-content:center;align-items:center;width:44px;font-size:11px;display:flex}.phrase-matrix .phrase-row-select{width:44px;min-width:0;padding:0;font-size:11px}.phrase-matrix .phrase-mode{width:44px;padding:0;font-size:12px}.phrase-details,.phrase-mix-note{font-size:12px}.phrase-mix-note{z-index:1;position:relative}.phrase-dialog h2{padding-right:2rem}.phrase-matrix summary{cursor:pointer;align-content:center;padding:4px 0;display:list-item}.phrase-detail-actions{flex-wrap:wrap;align-items:end;gap:6px;display:flex}.phrase-detail-actions button,.phrase-mix-note button{padding:6px 10px}.phrase-toolbar{align-items:center;gap:5px;margin-top:4px;display:flex}.phrase-toolbar strong{color:var(--phrase-colour);margin-right:auto;font-size:12px}.phrase-toolbar button{justify-content:center;align-items:center;gap:4px;padding:4px 7px;font-size:11px;display:inline-flex}.phrase-note-fields{grid-template-columns:1fr;gap:8px;margin-block:8px;display:grid}.phrase-matrix label{gap:4px;min-width:0;display:grid}.phrase-matrix input,.phrase-matrix textarea{background:var(--color-background);width:100%;min-width:0;min-height:44px;color:var(--color-foreground);border:1px solid var(--color-border);border-radius:4px;padding:6px;font-size:16px}.phrase-detail-actions input{max-width:120px}.phrase-status{overflow-wrap:anywhere;min-height:0;font-size:11px}.phrase-status:empty{display:none}.phrase-empty{min-height:192px;color:var(--color-muted-foreground);flex-direction:column;justify-content:center;gap:8px;font-size:12px;display:flex}[data-mobile-shell][data-phrase-workspace] [data-shell-swipe]{flex-direction:column;gap:0;min-height:0;padding-inline:12px;overflow:hidden auto;grid-template-columns:none!important;display:flex!important}[data-mobile-shell][data-phrase-workspace] [data-shell-swipe]>.phrase-matrix{flex:1 0 auto;width:100%;max-width:96rem;margin-inline:auto;padding-inline:0}[data-mobile-shell][data-phrase-workspace] [data-grid-section] [data-grid-density=detailed]{height:clamp(80px,12dvh,112px)!important}[data-mobile-shell][data-phrase-workspace] [data-shell-swipe]>[data-queue-slot]{flex:auto;width:100%;min-height:180px;max-height:45dvh;position:relative;inset:auto}@media (width>=900px){.phrase-matrix[data-presentation=desktop] .phrase-decks{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;column-gap:20px;display:grid}.phrase-matrix[data-presentation=desktop] [data-phrase-deck=A]>*{grid-column:1}.phrase-matrix[data-presentation=desktop] [data-phrase-deck=B]>*{grid-column:2}.phrase-matrix[data-presentation=desktop] .phrase-deck-header{border-top:0;grid-row:1;margin-top:0}.phrase-matrix[data-presentation=desktop] .phrase-grid{grid-row:2}.phrase-matrix[data-presentation=desktop] .phrase-details{grid-row:4}.phrase-matrix[data-presentation=desktop] .phrase-toolbar{grid-row:3}.phrase-matrix[data-presentation=desktop] .phrase-status{grid-row:5}.phrase-matrix[data-presentation=desktop] .phrase-empty{grid-area:1/2/6}.phrase-matrix[data-presentation=desktop] .phrase-pad{height:56px}.phrase-note-fields{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}}@media (height<=700px){.phrase-matrix .phrase-pad{height:44px}}@media (orientation:landscape) and (height<=540px){.phrase-decks{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;column-gap:8px;display:grid}[data-phrase-deck=A]>*{grid-column:1}[data-phrase-deck=B]>*{grid-column:2}.phrase-deck-header{grid-row:1;border-top:0!important;margin-top:0!important}.phrase-grid{grid-row:2}.phrase-details{grid-row:4}.phrase-toolbar{grid-row:3}.phrase-status{grid-row:5}.phrase-empty{grid-area:1/2/6}.phrase-row{gap:3px}.phrase-matrix .phrase-pad{height:44px}.phrase-deck-header{min-height:36px}[data-mobile-shell][data-phrase-workspace] [data-shell-swipe]>.phrase-matrix{flex:none}}:root .phrase-dialog-backdrop[data-state][class]{z-index:180!important}:root .phrase-dialog[data-state][role=dialog]{overscroll-behavior:contain;border-radius:8px;width:min(32rem,100vw - 24px);max-height:calc(100dvh - 24px);overflow-y:auto;z-index:181!important}.phrase-dialog button,.phrase-dialog input,.phrase-dialog textarea{border:1px solid var(--color-border);background:var(--color-background);min-height:44px;color:var(--color-foreground);border-radius:4px;padding:8px 10px}.phrase-dialog button:disabled{opacity:.4}.phrase-menu-actions,.phrase-edit-form,.phrase-edit-form label{gap:6px;display:grid}.phrase-edit-form{gap:12px}.phrase-edit-form input,.phrase-edit-form textarea{width:100%;min-width:0;font-size:16px}.phrase-menu-actions button{text-align:left;align-items:center;gap:8px;display:flex}.phrase-tools{z-index:1;min-width:0;position:relative}.phrase-tools-heading{border-bottom:2px solid var(--color-primary);background:color-mix(in srgb, var(--color-primary) 18%, var(--color-background));min-height:24px;color:var(--color-foreground);border-radius:4px 4px 0 0;justify-content:space-between;align-items:center;gap:8px;margin-bottom:4px;padding:3px 8px;font-size:12px;line-height:1.2;display:flex}.phrase-tools-position{align-items:center;gap:4px;display:flex}.phrase-tools-position>span{border:1px solid var(--color-foreground);border-radius:50%;width:5px;height:5px}.phrase-tools-position>[data-current]{background:var(--color-primary);border-radius:4px;width:12px}.phrase-tools-pages [data-selected-tools]{box-shadow:inset 0 -2px 0 var(--color-primary)}.phrase-preparation-page>button[aria-expanded=true]{background:color-mix(in srgb, var(--color-primary) 18%, var(--color-background))}.phrase-matrix [hidden]{display:none!important}.phrase-controls{z-index:1;align-items:center;gap:4px;min-width:0;display:flex;position:relative}.phrase-tools-pages{scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;touch-action:pan-x;flex:1 1 0;min-width:0;display:flex;overflow:auto hidden}.phrase-tools-pages::-webkit-scrollbar{display:none}.phrase-tools-pages>.phrase-toolbar,.phrase-tool-page{box-sizing:border-box;scroll-snap-align:start;scroll-snap-stop:always;flex:0 0 100%;align-items:center;gap:4px;min-width:0;margin:0;display:flex}.phrase-toolbar-caption{flex:1 1 0;min-width:0}.phrase-toolbar-caption .phrase-tempo{white-space:nowrap;background:0 0;border:0;flex-direction:column;justify-content:center;gap:0;width:100%;padding:2px;line-height:1.2;display:flex}.phrase-toolbar-caption strong{color:var(--color-foreground);margin:0;font-size:14px}.phrase-tempo span{font-size:11px}.phrase-toolbar>button{flex:0 0 44px;width:44px;padding:4px}.phrase-matrix .phrase-tools-next{flex:0 0 44px;place-items:center;display:grid}.phrase-preparation-page>button:first-child{background:0 0;border:0;flex-direction:column;flex:1 1 0;justify-content:center;align-items:flex-start;min-width:0;padding:2px 8px;display:flex}.phrase-preparation-page strong{color:var(--color-foreground);font-size:14px}.phrase-preparation-page span{font-size:12px}.phrase-preparation-page .phrase-pin{align-items:center;gap:4px;padding-inline:8px;display:flex}.phrase-tools-empty{padding-inline:8px;font-size:12px}.phrase-tools-empty span{color:var(--color-muted-foreground)}.phrase-preparation-panel{z-index:1;position:relative}.phrase-details>header{justify-content:space-between;align-items:center;gap:8px;display:flex}.phrase-details>header>strong{font-size:14px}.phrase-details>header>button{padding-inline:8px}.phrase-deck-header>.phrase-deck-navigation{flex:none;gap:0}.phrase-deck-navigation button{background:0 0;border:0;place-items:center;display:grid}.phrase-matrix[data-phrase-mode=locked] .phrase-decks,.phrase-matrix[data-expanded-deck] .phrase-decks{grid-template-columns:minmax(0,1fr)}.phrase-matrix[data-phrase-mode=locked] .phrase-deck>*,.phrase-matrix[data-expanded-deck] .phrase-deck>*{grid-column:1}.phrase-matrix[data-expanded-deck] .phrase-deck-header{border-top:0;margin-top:0}@media (width>=900px){.phrase-matrix[data-presentation=desktop] .phrase-tools-pages{scroll-snap-type:none;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:4px 20px;display:grid;overflow:visible}.phrase-matrix[data-presentation=desktop] .phrase-tools-next,.phrase-matrix[data-presentation=desktop] .phrase-tools-position{display:none}}@media (width<=360px){.phrase-matrix .phrase-tools-next{display:none}.phrase-pad-number>small[aria-label=Chosen\ accent]{font-size:7px;position:absolute;top:2px;right:3px}}@keyframes mini-playhead-pulse{0%{opacity:0;animation-timing-function:cubic-bezier(.4,0,.6,1)}35.294%{opacity:1;animation-timing-function:cubic-bezier(.3,0,.5,1)}to{opacity:0}}@keyframes mini-playhead-pulse-gentle{0%{opacity:0}35.294%{opacity:.55}to{opacity:0}}.mini-playhead-pulse{opacity:0;animation:.85s both mini-playhead-pulse}@media (prefers-reduced-motion:reduce){.mini-playhead-pulse{animation:.85s linear both mini-playhead-pulse-gentle}}
