.editor-palette.notation-palette[data-resizable-dock=true]{height:var(--note-dock-user-height,auto);max-height:var(--note-dock-max-height,72dvh)}
.note-dock-header{display:grid;grid-template-columns:minmax(0,1fr) 48px minmax(0,1fr);flex:none;align-items:center;gap:8px;min-height:64px;padding:8px max(16px,env(safe-area-inset-left),env(safe-area-inset-right));border-bottom:1px solid var(--edge);box-sizing:border-box}
.note-dock-header .note-dock-range{justify-self:start;width:100%;min-width:0!important;max-width:260px;height:48px;padding:4px 8px!important;gap:6px;justify-content:center;font:600 14px/18px Inter,sans-serif;white-space:normal!important}
.note-dock-range span{min-width:0;overflow-wrap:anywhere}
.note-dock-range[aria-pressed=true]{background:var(--accent);color:#111}
.note-dock-range svg{flex:none;width:28px;height:32px}
.note-dock-grip{display:flex;align-items:center;justify-content:center;width:48px;min-width:48px;min-height:48px;color:var(--text);cursor:ns-resize;touch-action:none;user-select:none;-webkit-user-select:none}
.note-dock-grip svg{opacity:.75}
.note-dock-header .note-dock-toggle{display:flex;align-items:center;justify-content:center;justify-self:end;width:48px;min-width:48px;height:48px;min-height:48px;padding:12px;border:0;border-radius:10px;background:var(--control);color:var(--text)}
.note-dock-grip:focus-visible,.note-dock-toggle:focus-visible,.note-dock-range:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}
.editor-palette[data-dock-collapsed=true]>:not(.note-dock-header){display:none!important}
.editor-palette[data-dock-collapsed=true]>.note-dock-header{border-bottom:0}
.editor-palette[data-dock-dragging=true]{user-select:none}
@media(max-width:480px){.note-dock-header .note-dock-range{padding:4px!important;gap:4px}}

/* Source-address fields wrap independently of the compact duration-glyph rows. */
.notation-palette .source-edit-controls{box-sizing:border-box;min-width:0;max-width:100%;align-items:stretch}
.notation-palette .source-edit-controls>.source-edit-row{flex:0 0 100%;width:100%;min-width:0;max-width:100%;box-sizing:border-box;flex-wrap:wrap;justify-content:center}
.source-edit-controls .source-edit-row>label{display:flex;align-items:center;gap:8px;flex:0 1 auto;min-width:0;max-width:100%;min-height:48px;box-sizing:border-box}
.source-edit-controls .source-edit-row>label select{flex:1 1 auto;min-width:48px;max-width:100%;min-height:48px;box-sizing:border-box}
.source-edit-controls .source-edit-row>button{flex:0 1 auto;max-width:100%;min-height:48px;white-space:normal;overflow-wrap:anywhere;box-sizing:border-box}
.source-edit-controls .source-edit-row>input{flex:1 1 180px;min-width:48px;max-width:100%;min-height:48px;box-sizing:border-box}
