/* Shared tool entries: one route for tuning, one for fabrication. */
.tuner-modes[hidden],.tuner-workspace [hidden]{display:none!important}
#lab-tools #maker-open{position:static;display:flex;align-items:center;justify-content:center;gap:6px;min-width:0;height:44px;padding:7px 9px;border:1px solid #acdcca;border-radius:14px;background:#edfbf4;color:#287760;font-size:13px;font-weight:550;line-height:1.2;flex:0 1 auto}
#maker-open svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round;flex:none}
#lab-tools{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,1.12fr) 38px;gap:5px;align-items:center}
#lab-tools :is(#metronome-open,#maker-open,#tuner-open){width:100%;max-width:none;min-width:0;box-sizing:border-box;padding:6px 4px;gap:0;font-size:13px;line-height:1.2;white-space:normal;overflow-wrap:anywhere}
#lab-tools :is(#metronome-open,#maker-open,#tuner-open)>svg{display:none}
#lab-tools #instrument-tools-toggle{width:38px;min-width:38px;margin:0;box-sizing:border-box;padding:5px}
.tuner-color-legend{display:flex;flex-wrap:wrap;gap:6px 16px;margin:12px 0 20px;font-size:12px}
.tuner-color-legend span{display:flex;align-items:center;gap:5px}
.tuner-color-legend span::before{content:'';width:8px;height:8px;border-radius:50%;background:#00c85e}
.tuner-color-legend span:nth-child(2)::before{background:#ff9700}.tuner-color-legend span:nth-child(3)::before{background:#ff234a}
.maker-tabs{max-width:440px}.maker-tabs button{padding:8px 10px}
.maker-zoom{position:absolute;right:12px;bottom:68px;display:flex;flex-direction:column;gap:5px;z-index:2}
.maker-zoom button{width:44px;height:44px;min-height:44px;border:1px solid #cfdee2;border-radius:12px;background:#fffffff0;color:#426d74;font-size:26px;line-height:1;touch-action:manipulation;box-shadow:0 3px 14px #2947570b}
.maker-zoom button:active{background:#def5ec}
.maker-immersive .maker-zoom{top:calc(66px + env(safe-area-inset-top,0px));bottom:auto;right:max(12px,env(safe-area-inset-right,0px))}
#artist-instagram{display:grid;place-items:center;flex:none;width:44px;height:44px;border:1px solid #e7dce4;border-radius:14px;background:#fff;box-shadow:0 4px 12px #97627a0a}
#artist-instagram img{width:25px;height:25px}#artist-instagram:hover{background:#fff4fa}
#instrument-tools .instrument-more{border-top:1px solid #e0e9ee;margin-top:10px;padding-top:2px}
#instrument-tools .instrument-more>summary{cursor:pointer;min-height:40px;padding:10px 2px;color:#506e7c;font-size:14px}
#instrument-tools .instrument-more .create-name-field{margin:8px 0}
.instrument-memory{margin-top:16px;border-top:1px solid #e1e9ee;padding-top:12px}
.instrument-memory>div{display:flex;justify-content:space-between;gap:8px;font-size:13px;margin-bottom:8px;color:#547582}
.instrument-memory p{font-size:12px;line-height:1.45;color:#768c95;margin:8px 0}.instrument-memory [role=status]{font-size:12px;color:#08775e}
#instrument-tools .instrument-memory button{font-size:13px;min-height:42px}
@media(max-width:700px){
 #lab-tools :is(#metronome-open,#tuner-open,#maker-open){padding:7px 6px;font-size:12px;gap:0;flex:1 1 auto;white-space:normal;max-width:none}
 #lab-tools :is(#metronome-open,#tuner-open,#maker-open)>svg{display:none}
 #lab-tools #instrument-tools-toggle{width:34px;min-width:34px;padding:5px}
 #instrument-view.instrument-tools-open :is(#music-floating,.workspace-edge-controls,.inspire-floating-transport,#metro-mini){visibility:hidden!important;pointer-events:none!important}
 #instrument-view #instrument-tools{position:absolute;top:auto!important;bottom:max(8px,env(safe-area-inset-bottom,0px));left:max(10px,env(safe-area-inset-left,0px));right:max(10px,env(safe-area-inset-right,0px));width:auto;max-height:52%;padding:10px 12px;border-radius:20px;overscroll-behavior:contain}
 #instrument-tools header{margin-bottom:6px}#instrument-tools header .icon-button{width:36px;height:36px;min-height:36px}
 #instrument-tools .rotation-controls .icon-button,#instrument-tools #view-fullscreen{height:44px;min-height:44px}
 #instrument-tools .note-display-control{margin-top:6px}#instrument-tools .label-selector button{height:38px;min-height:38px}
 #instrument-tools .instrument-more{margin-top:6px}#instrument-tools .instrument-more>summary{min-height:36px;padding:8px 2px}
 .maker-zoom{bottom:65px;right:8px;gap:4px}.maker-zoom button{width:38px;height:40px;min-height:40px;font-size:23px}
}
