/* The same live measuring surface, enlarged without restarting the microphone. */
.tuner-expand{display:flex;align-items:center;gap:7px;min-height:44px;padding:8px 12px;border:1px solid #cfdfdf;border-radius:12px;background:#f0f9f5;color:#327260;font-size:14px!important}
.tuner-expand svg,.tuner-immersive-head svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.tuner-workspace[data-tuner-mode=digital] .tuner-expand,.maker-is-design .tuner-expand,.tuner-immersive-head{display:none}
#tuner-panel.tuner-immersive{position:fixed;inset:0;width:100%;height:100dvh;max-width:none;margin:0;border:0;border-radius:0;z-index:1200;overflow:hidden;background:#f6fbfc;box-sizing:border-box}
#tuner-panel.tuner-immersive>.tuner-inner{height:100%;min-height:0;box-sizing:border-box;display:flex;flex-direction:column;gap:12px;padding:calc(10px + env(safe-area-inset-top,0px)) max(12px,env(safe-area-inset-right,0px)) max(10px,env(safe-area-inset-bottom,0px)) max(12px,env(safe-area-inset-left,0px))}
#tuner-panel.tuner-immersive :is(.tuner-header,.maker-workshop,.tuner-modes){display:none}
#tuner-panel.tuner-immersive .tuner-immersive-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,1.2fr) minmax(0,1fr);align-items:center;gap:6px;flex:none}
.tuner-immersive-head button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:8px 10px;border:1px solid #cddfe3;border-radius:13px;background:white;color:#3a6875;font-size:14px!important;line-height:1.2}
.tuner-immersive-head>[data-tuner-reduce]{justify-self:start;flex-direction:column}
.tuner-live-pitch{display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0;gap:3px;line-height:1.2}
.tuner-live-pitch>span{font-size:12px;color:#708c95}.tuner-live-pitch>strong{font-size:clamp(34px,10vw,54px);font-weight:600;letter-spacing:-.035em;color:#2a4e5f}.tuner-live-pitch>small{font-size:13px;color:#789199;font-variant-numeric:tabular-nums}
.tuner-immersive-actions{display:grid;gap:6px;justify-self:end;min-width:0;width:100%;max-width:130px}
#tuner-panel.tuner-immersive .tuner-measurement{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden;gap:10px}
#tuner-panel.tuner-immersive .tuner-measurement>:not(.tuner-bands,.tuner-wheel-panel,.tuner-transport,#tuner-frozen-note,#tuner-open-direct){display:none}
#tuner-panel.tuner-immersive .tuner-bands{display:grid;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;grid-template-rows:repeat(var(--tuner-band-count,3),minmax(128px,1fr));gap:10px;scrollbar-width:thin}
#tuner-panel.tuner-immersive .tuner-band{display:flex;flex-direction:column;min-height:0;box-sizing:border-box;padding:12px;border-radius:17px;background:#fff}
#tuner-panel.tuner-immersive .tuner-band-info{flex:none;gap:9px;margin-bottom:8px}
#tuner-panel.tuner-immersive .tuner-ratio{min-width:32px;height:34px;border-radius:10px;font-size:13px}
#tuner-panel.tuner-immersive .tuner-band h3{font-size:15px}
#tuner-panel.tuner-immersive .tuner-frequency{font-size:13px}
#tuner-panel.tuner-immersive .tuner-cents{font-size:30px}
#tuner-panel.tuner-immersive .tuner-strobe{flex:1;min-height:32px;height:auto;mask-image:none;border:1px solid #dde9ed;background:#f2f7fa}
#tuner-panel.tuner-immersive .tuner-band-footer{flex:none;font-size:12px;margin-top:8px;line-height:1.25}
#tuner-panel.tuner-immersive .tuner-transport{flex:none;position:static;gap:8px;margin:0;padding:9px 0 0;background:transparent;justify-content:space-between}
#tuner-panel.tuner-immersive .tuner-start{flex:1;min-height:46px;padding:10px 12px}
#tuner-panel.tuner-immersive .tuner-freeze{min-height:46px;padding:10px 16px}
#tuner-panel.tuner-immersive .tuner-input{flex-basis:100%;max-width:none;margin:0;font-size:13px}
#tuner-panel.tuner-immersive .tuner-frozen-note{flex:none;margin:0;padding:5px 8px;font-size:12px}
#tuner-panel.tuner-immersive #tuner-open-direct{flex:none;margin:0}
/* A single scrolling sheet for notes/settings; no tiny scroll area inside it. */
#tuner-panel .tuner-menu-dialog .tuner-target{padding:12px;margin-bottom:18px}
#tuner-panel .tuner-menu-dialog .tuner-target-pitch :is(button,select){min-height:48px;height:auto;font-size:28px}
#tuner-panel .tuner-menu-dialog .tuner-target-pitch button{width:48px;padding:0}
#tuner-panel .tuner-menu-dialog .tuner-target-pitch select{width:110px;background:white}
#tuner-panel .tuner-menu-dialog #tuner-reference-shortcut{min-height:38px;font-size:13px}
#tuner-panel .tuner-menu-dialog .tuner-prompt p{font-size:15px;margin-bottom:10px}
#tuner-panel .tuner-menu-dialog .tuner-instrument-notes{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));max-height:none;overflow:visible;gap:6px;margin-top:16px}
#tuner-panel .tuner-menu-dialog .tuner-instrument-notes button{min-height:46px;font-size:14px;padding:7px 2px}
#tuner-panel .tuner-menu-dialog .tuner-setting-grid{grid-template-columns:1fr 1fr}
#tuner-panel .tuner-menu-dialog .tuner-ratio-settings{grid-template-columns:1fr 1fr}
#tuner-panel .tuner-menu-dialog .tuner-settings label{margin-top:0;font-size:15px}
#tuner-panel .tuner-menu-dialog .tuner-reference{padding:0 10px}
#tuner-panel .tuner-menu-dialog .tuner-reference input{background:none;border:0}
@media(min-width:640px){
 #tuner-panel .tuner-menu-dialog .tuner-instrument-notes{grid-template-columns:repeat(12,minmax(0,1fr))}
 .tuner-immersive-head>[data-tuner-reduce]{flex-direction:row}
 .tuner-immersive-actions{display:flex;max-width:none;justify-content:flex-end}.tuner-immersive-actions button{min-width:84px}
}
@media(min-width:900px),(min-width:640px) and (max-height:600px){
 #tuner-panel.tuner-immersive .tuner-bands{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:none;grid-auto-rows:minmax(160px,1fr)}
 #tuner-panel.tuner-immersive .tuner-start{flex:none}
 #tuner-panel.tuner-immersive .tuner-input{flex-basis:auto;margin-inline-start:auto;max-width:50%}
 #tuner-panel.tuner-immersive .tuner-transport{justify-content:flex-start}
}
@media(min-width:640px) and (max-height:600px){
 .tuner-live-pitch{display:grid;grid-template-columns:auto auto;gap:2px 10px}.tuner-live-pitch>strong{grid-row:1/3;grid-column:1;font-size:36px}.tuner-live-pitch>span{grid-column:2}.tuner-live-pitch>small{grid-column:2}
}
