.instrument-switcher{--selected-display-nudge:2px;--selected-line-height:1;flex-shrink:0;min-width:150px;display:inline-block;position:relative}.instrument-trigger{text-align:left;justify-content:space-between;align-items:center;gap:.5rem;width:100%}.selected-instrument-display{min-width:0;transform:translateY(var(--selected-display-nudge));flex:1;align-items:center;gap:6px;display:flex;overflow:hidden}.instrument-switcher .selected-instrument-display .instrument-name{color:var(--text-primary);white-space:nowrap;text-overflow:ellipsis;font-weight:600;line-height:var(--selected-line-height);flex-shrink:1;overflow:hidden}.instrument-switcher .selected-instrument-display .tuning-separator{background-color:var(--text-secondary);opacity:.6;border-radius:50%;flex-shrink:0;width:.375rem;height:.375rem;display:inline-block}.instrument-switcher .selected-instrument-display .tuning-name{color:var(--text-secondary);white-space:nowrap;text-overflow:ellipsis;min-width:var(--control-lg);font-size:.85rem;font-weight:400;line-height:var(--selected-line-height);flex-shrink:1;overflow:hidden}.instrument-dropdown{--instrument-row-padding-x:16px;--instrument-row-padding-y:12px;--instrument-icon-slot:1.25rem;--tuning-indent:10px;--tuning-row-padding-y:8px;--tuning-row-nudge:1px;min-width:280px;overflow:hidden}.instrument-group{width:100%}.instrument-option{color:var(--text-primary);padding:var(--instrument-row-padding-y)var(--instrument-row-padding-x);cursor:pointer;text-align:left;border:none;border-bottom:1px solid var(--border-color);background:0 0;justify-content:space-between;align-items:center;gap:12px;width:100%;transition:all .2s;display:flex}.instrument-header{flex:1;min-width:0}.instrument-group:last-of-type .instrument-option,.instrument-group:last-of-type .tuning-options{border-bottom:none}.instrument-option:hover{background:var(--bg-tertiary)}.instrument-option.selected{background:var(--accent-primary);color:#fff}.instrument-option.selected:hover{background:var(--accent-secondary)}.instrument-dropdown .instrument-option .instrument-name{margin-bottom:2px;font-size:.95rem;font-weight:600;line-height:1.2}.instrument-details{color:var(--text-secondary);opacity:.8;font-size:.8rem}.instrument-option.selected .instrument-details{color:#ffffffe6}.dropdown-arrow{flex-shrink:0;margin-left:8px}.accordion-arrow{color:var(--text-secondary);width:var(--instrument-icon-slot);text-align:right;flex-shrink:0;margin-left:8px;font-size:.8rem;line-height:1;transition:transform .3s}.accordion-arrow.expanded{transform:rotate(180deg)}.instrument-option.selected .accordion-arrow{color:#ffffffe6}.tuning-options{background:var(--bg-primary);padding:4px 0;animation:.3s ease-out expandAccordion;position:relative;overflow:hidden}.tuning-options:before{content:"";left:var(--instrument-row-padding-x);background:var(--accent-primary);opacity:.6;border-radius:2px;width:2px;position:absolute;top:6px;bottom:6px}@keyframes expandAccordion{0%{opacity:0;max-height:0}to{opacity:1;max-height:200px}}.instrument-dropdown .tuning-option{color:var(--text-primary);padding:calc(var(--tuning-row-padding-y) + var(--tuning-row-nudge))var(--instrument-row-padding-x);padding-bottom:calc(var(--tuning-row-padding-y) - var(--tuning-row-nudge));padding-left:calc(var(--instrument-row-padding-x) + var(--tuning-indent));cursor:pointer;text-align:left;border:none;border-bottom:1px solid var(--border-color);background:0 0;width:100%;font-size:.9rem;transition:all .2s;display:block}.instrument-dropdown .tuning-option:last-child{border-bottom:none}.instrument-dropdown .tuning-option:hover{background:var(--bg-tertiary)}.instrument-dropdown .tuning-option.selected{background:var(--accent-primary);color:#fff;box-shadow:inset 2px 0 #fffc}.instrument-dropdown .tuning-option.selected:hover{background:var(--accent-secondary);box-shadow:inset 2px 0 #ffffffe6}.tuning-content{grid-template-columns:1fr var(--instrument-icon-slot);align-items:center;gap:12px;width:100%;display:grid}.instrument-dropdown .tuning-option .tuning-name{flex:1;margin:0;font-weight:500;line-height:1.2}.instrument-dropdown .tuning-checkmark{color:var(--accent-primary);text-shadow:0 1px 2px #0000001a;width:var(--instrument-icon-slot);text-align:right;flex-shrink:0;font-size:1rem;font-weight:600;line-height:1}.instrument-dropdown .tuning-option.selected .tuning-checkmark{color:#fff;text-shadow:0 1px 2px #0003}.instrument-dropdown .tuning-option.selected .tuning-name{font-weight:600}.manage-link{color:var(--accent-primary);border:none;border-top:1px solid var(--border-color);padding:var(--instrument-row-padding-y)var(--instrument-row-padding-x);cursor:pointer;grid-template-columns:1fr var(--instrument-icon-slot);text-align:left;background:0 0;align-items:center;gap:12px;width:100%;font-weight:600;transition:all .2s;display:grid}.manage-link:hover{background:var(--bg-tertiary);color:var(--accent-secondary)}.manage-text{font-size:.95rem}.manage-icon{opacity:.7;width:var(--instrument-icon-slot);text-align:right;font-size:1.1rem;line-height:1}.header-controls{flex-shrink:0;align-items:center;gap:12px;display:flex}@media (max-width:768px){.instrument-switcher{min-width:124px}.instrument-dropdown{--instrument-row-padding-x:14px;--instrument-row-padding-y:10px;--tuning-row-padding-y:6px;--tuning-indent:8px;--tuning-row-nudge:1px;min-width:240px}.instrument-trigger,.instrument-switcher .selected-instrument-display .instrument-name,.instrument-dropdown .instrument-option .instrument-name{font-size:.85rem}.instrument-switcher .selected-instrument-display .tuning-name,.instrument-dropdown .tuning-option .tuning-name{font-size:.75rem}.instrument-switcher .selected-instrument-display .tuning-separator{width:.3rem;height:.3rem}.instrument-dropdown .tuning-option{font-size:.85rem}}@media (max-width:390px){.instrument-switcher{min-width:104px}.instrument-dropdown{--instrument-row-padding-x:12px;--instrument-row-padding-y:9px;--tuning-row-padding-y:5px;--tuning-indent:7px;--tuning-row-nudge:1px;min-width:200px}.instrument-trigger,.instrument-switcher .selected-instrument-display .instrument-name,.instrument-dropdown .instrument-option .instrument-name{font-size:.8rem}.instrument-switcher .selected-instrument-display .tuning-name,.instrument-dropdown .tuning-option .tuning-name{font-size:.7rem}.instrument-switcher .selected-instrument-display .tuning-separator{width:.28rem;height:.28rem}.instrument-details{font-size:.7rem}.instrument-dropdown .tuning-option{font-size:.8rem}}@media (max-width:320px){.instrument-switcher{--selected-display-nudge:1px;min-width:96px}.instrument-dropdown{--instrument-row-padding-x:10px;--instrument-row-padding-y:8px;--tuning-row-padding-y:4px;--tuning-indent:6px;--tuning-row-nudge:.5px;min-width:180px}.instrument-trigger,.instrument-switcher .selected-instrument-display .instrument-name,.instrument-dropdown .instrument-option .instrument-name{font-size:.75rem}.instrument-switcher .selected-instrument-display .tuning-name,.instrument-dropdown .tuning-option .tuning-name{font-size:.65rem}.instrument-switcher .selected-instrument-display .tuning-separator{width:.26rem;height:.26rem}.selected-instrument-display{max-width:68px}.instrument-dropdown .tuning-option{font-size:.75rem}}