/* The instrument stays inside the viewport; chord choice uses its existing dialog. */
html.studio-shell-enabled[data-chord-edition=guitar] body{height:var(--studio-app-height);min-height:0;padding:0!important;display:flex;flex-direction:column}
html.studio-shell-enabled[data-chord-edition=guitar] #root{flex:1;min-height:0}
html.studio-shell-enabled[data-chord-edition=guitar] body:not(.pro-selection-modal-active) #root>div{height:100%!important;min-height:0!important;overflow:visible;display:flex;flex-direction:column}
html.studio-shell-enabled[data-chord-edition=guitar] #root header{position:static!important;padding:4px 8px!important;flex:none}
html.studio-shell-enabled[data-chord-edition=guitar] #root header>div{padding:0!important;gap:5px!important;flex-direction:row!important;flex-wrap:wrap!important}
html.studio-shell-enabled[data-chord-edition=guitar] #root header h1{font-size:17px!important;line-height:1.2!important}
html.studio-shell-enabled[data-chord-edition=guitar] #root header p,html.studio-shell-enabled[data-chord-edition=guitar] #root header>div>div:first-child>div:first-child{display:none!important}
html.studio-shell-enabled[data-chord-edition=guitar] #root header button{min-height:30px!important;padding:4px 7px!important;font-size:12px!important}
html.studio-shell-enabled[data-chord-edition=guitar] #root header button svg{width:22px!important;height:22px!important}
html.studio-shell-enabled[data-chord-edition=guitar] #root main{flex:1!important;min-height:0;display:flex;flex-direction:column;gap:5px!important;padding:5px 8px!important}
html.studio-shell-enabled[data-chord-edition=guitar] #root main>div:last-child:empty{display:none!important}
html.studio-shell-enabled[data-chord-edition=guitar] #root main>div:last-child:has(>div:empty){display:none!important}
html.studio-shell-enabled[data-chord-edition=guitar] #root footer{display:none!important}
html.studio-shell-enabled[data-chord-edition=guitar] body>footer{padding:2px!important;margin:0!important;font-size:10px!important;line-height:14px!important;flex:none}
html.studio-shell-enabled[data-chord-edition=guitar] body>a:not(#mms-home-fab){padding:0;margin:0!important;align-self:center;font-size:10px!important;line-height:14px!important;flex:none}
html.studio-shell-enabled[data-chord-edition=guitar] #guitar-chord-tabs-card{display:flex!important;flex-direction:column;flex:1;min-height:0!important;padding:4px!important;gap:3px!important;overflow:visible}
html.studio-shell-enabled[data-chord-edition=guitar] #bass-instrument-selector{display:none!important}
html.studio-shell-enabled[data-chord-edition=guitar] #guitar-chord-tabs-card:not([data-mtp-collapsed=true])>.pro-mobile-instrument{display:flex!important;flex:none;padding:0 4px;margin:0;gap:7px;max-width:none}
html.studio-shell-enabled[data-chord-edition=guitar] .pro-mobile-instrument label{font-size:12px}
html.studio-shell-enabled[data-chord-edition=guitar] .pro-mobile-instrument select{padding:4px!important;height:30px!important;min-height:30px!important;font-size:13px!important}
html.studio-shell-enabled[data-chord-edition=guitar] #instrument-view-stage{flex:1;min-height:0!important;height:auto!important;width:100%;max-width:100%;padding:0!important}
html.studio-shell-enabled[data-chord-edition=guitar] body[data-pro-view=guitar] #bass-chord-view,html.studio-shell-enabled[data-chord-edition=guitar] body[data-pro-view=scales] #bass-chord-view{display:flex!important;flex-direction:column;min-height:0!important;height:100%!important;gap:5px!important;padding:4px!important}
html.studio-shell-enabled[data-chord-edition=guitar] .neck-header-row{min-height:0!important;height:auto!important;gap:5px!important;flex:none;justify-content:center}
html.studio-shell-enabled[data-chord-edition=guitar] .neck-header-row h3{display:none!important}
html.studio-shell-enabled[data-chord-edition=guitar] .neck-header-row #instrument-tuning-settings{display:flex!important;gap:5px!important;flex-wrap:wrap!important;justify-content:center;margin:0!important}
html.studio-shell-enabled[data-chord-edition=guitar] .neck-header-row select,html.studio-shell-enabled[data-chord-edition=guitar] .neck-header-row>.pro-tuning-field,html.studio-shell-enabled[data-chord-edition=guitar] #instrument-tuning-settings>.pro-tuning-field{width:auto!important;min-width:0!important;max-width:190px!important;flex:0 1 auto!important;min-height:28px!important;height:28px!important;font-size:12px!important;padding:3px 5px!important}
html.studio-shell-enabled[data-chord-edition=guitar] .neck-header-row #instrument-capo{width:auto!important;min-width:0!important;max-width:160px!important;flex:0 1 auto!important}
html.studio-shell-enabled[data-chord-edition=guitar] .pro-grip-break{display:none!important}
html.studio-shell-enabled[data-chord-edition=guitar] #neck-quick-chord{display:flex!important;flex:none;flex-wrap:wrap;justify-content:center!important;gap:5px!important;padding:0!important;margin:0!important}
html.studio-shell-enabled[data-chord-edition=guitar] #neck-quick-chord select{min-height:30px!important;height:30px!important;padding:4px 6px!important;font-size:13px!important;width:auto!important;max-width:200px!important;min-width:0!important;flex:0 1 auto!important}
html.studio-shell-enabled[data-chord-edition=guitar] #quick-chord-name{font-size:20px!important;width:auto!important;min-width:45px!important;line-height:1.2!important}
html.studio-shell-enabled[data-chord-edition=guitar] #neck-playback-buttons{flex:none;gap:5px!important;margin:0!important;justify-content:center}
html.studio-shell-enabled[data-chord-edition=guitar] #neck-playback-buttons button{min-height:30px!important;height:30px!important;font-size:12px!important;padding:4px 8px!important}
html.studio-shell-enabled[data-chord-edition=guitar] #bass-chord-view>svg,html.studio-shell-enabled[data-chord-edition=guitar] #bass-chord-view>.mobile-neck-scroll{flex:1!important;min-height:75px!important;height:0!important;max-height:none!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;overflow:visible}
html.studio-shell-enabled[data-chord-edition=guitar] #bass-chord-view>.mobile-neck-scroll>svg{width:100%!important;min-width:0!important;height:100%!important;max-width:100%!important}
html.studio-shell-enabled[data-chord-edition=guitar] #bass-chord-view>svg[viewBox="0 0 260 320"]{width:auto!important;max-width:200px!important;min-height:120px!important;align-self:center}
html.studio-shell-enabled[data-chord-edition=guitar] #bass-chord-view>details{display:none!important}
html.studio-shell-enabled[data-chord-edition=guitar] .neck-play-tools{flex:none;min-height:28px!important;height:auto!important;padding:0!important;gap:5px!important;display:flex;flex-wrap:wrap!important}
html.studio-shell-enabled[data-chord-edition=guitar] .neck-play-tools button{min-height:28px!important;height:28px!important;padding:4px 8px!important;font-size:11px!important}
html.studio-shell-enabled[data-chord-edition=guitar] #guitar-view-switch{flex:none;margin:0!important;gap:5px!important;display:flex;flex-wrap:wrap}
html.studio-shell-enabled[data-chord-edition=guitar] #guitar-view-switch button{min-height:28px!important;height:28px!important;font-size:11px!important;padding:4px 7px!important;flex:1}
html.studio-shell-enabled[data-chord-edition=guitar] #guitar-chord-controls-panel:not([data-pro-selection-open=true]){flex:none;min-height:30px!important;height:30px!important;padding:0!important;max-height:none;overflow:visible}
html.studio-shell-enabled[data-chord-edition=guitar] #guitar-chord-controls-panel:not([data-pro-selection-open=true])>.mtp-collapse-toggle{top:0!important;height:28px!important;min-height:28px!important;font-size:16px!important;width:100%!important;left:0!important;right:0!important}
@media(max-width:700px){
 html.studio-shell-enabled[data-chord-edition=guitar] #root header>div>div:first-child{display:none!important}
 html.studio-shell-enabled[data-chord-edition=guitar] #root header>div>div{width:auto!important;padding:0!important}
 html.studio-shell-enabled[data-chord-edition=guitar] #root header>div>div:last-child{margin-inline-start:auto}
 html.studio-shell-enabled[data-chord-edition=guitar] #guitar-chord-tabs-card{padding-top:4px!important}
 html.studio-shell-enabled[data-chord-edition=guitar] .neck-header-row select{max-width:150px!important}
 html.studio-shell-enabled[data-chord-edition=guitar] .neck-header-row #instrument-tuning-settings{display:flex!important;width:auto!important}
}

/* Progression playback uses one stable, named grid instead of disconnected rows. */
html[data-chord-edition=guitar] #root #progression-studio-card .pro-progression-toolbar{display:grid!important;grid-template-columns:150px 150px 190px 40px 72px minmax(130px,1fr) minmax(130px,1fr)!important;grid-template-areas:'circle grip dials reset loop metro play' 'circle grip dials sound sound sound meter' 'circle grip dials beats beats beats beats';align-items:center!important;gap:10px 8px!important;padding:14px!important;direction:ltr;min-width:0;box-sizing:border-box}
html[data-chord-edition=guitar] #root #progression-studio-card .pro-progression-toolbar>.pro-transport-source,html[data-chord-edition=guitar] #root #progression-studio-card .pro-progression-toolbar>.pro-meter-source{display:contents!important}
html[data-chord-edition=guitar] #root #progression-studio-card .pro-progression-toolbar #play-progression-btn{grid-area:play}
html[data-chord-edition=guitar] #root #progression-studio-card .pro-progression-toolbar #standalone-metronome-btn{grid-area:metro}
html[data-chord-edition=guitar] #root #progression-studio-card .pro-progression-toolbar #reset-progression-btn{grid-area:reset}
html[data-chord-edition=guitar] #root #progression-studio-card .pro-progression-toolbar .pro-loop-label{grid-area:loop;margin:0!important;display:flex;align-items:center;justify-content:center;gap:7px}
html[data-chord-edition=guitar] #root #progression-studio-card .pro-progression-toolbar :is(#play-progression-btn,#standalone-metronome-btn,#reset-progression-btn,.pro-loop-label){height:40px!important;min-height:40px!important;box-sizing:border-box;border-radius:9px;justify-content:center;white-space:nowrap;font-size:13px!important;line-height:1.3!important;padding:6px 9px!important}
html[data-chord-edition=guitar] #root #progression-studio-card .pro-progression-toolbar .pro-loop-label{border:1px solid oklch(48% .05 280);background:oklch(27% .035 280);color:oklch(91% .03 280)}
html[data-chord-edition=guitar] #root #progression-studio-card .pro-progression-toolbar #guitar-progression-sound{grid-area:sound;display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0;font-size:13px}
html[data-chord-edition=guitar] #root #progression-studio-card .pro-progression-toolbar [data-progression-meter]{grid-area:meter;min-width:0;width:100%;text-align:center}
html[data-chord-edition=guitar] #root #progression-studio-card .pro-progression-toolbar :is(#guitar-progression-sound select,[data-progression-meter]){height:36px!important;min-height:36px!important;font:650 13px/1.3 system-ui!important;padding:6px 10px!important;border:1px solid oklch(50% .045 250);border-radius:8px;background:oklch(25% .03 250);color:oklch(94% .02 250)}
html[data-chord-edition=guitar] #root #progression-studio-card .pro-progression-toolbar>.pro-beat-source{grid-area:beats;display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;width:100%!important;max-width:none!important;min-width:0!important;min-height:40px;box-sizing:border-box;margin:0!important;padding:5px 10px!important;direction:ltr;justify-self:stretch!important}
html[data-chord-edition=guitar] #root #progression-studio-card .pro-progression-toolbar>.pro-beat-source>div:first-child{display:flex!important;align-items:center;gap:8px}
html[data-chord-edition=guitar] #root #progression-studio-card .pro-progression-toolbar>.pro-beat-source [dir=ltr]{direction:ltr}
html[data-chord-edition=guitar] #root #progression-studio-card .pro-progression-toolbar>.pro-beat-source [dir=ltr]>div{transform:none!important;min-width:28px;height:28px;display:flex;align-items:center;justify-content:center}
html[data-chord-edition=guitar] #root #progression-studio-card .pro-progression-toolbar>.pro-tempo-controls{grid-area:dials;display:flex!important;align-items:start!important;justify-content:center!important;gap:12px!important;width:auto!important;max-width:none!important;min-width:0!important;justify-self:center!important;margin:0!important;direction:ltr}
html[data-chord-edition=guitar] #root #progression-studio-card .pro-progression-toolbar>.pro-current-grip{grid-area:grip;display:flex;flex-direction:column;align-items:center;justify-content:center;width:150px!important;min-width:0!important;max-width:100%!important;padding:0!important;margin:0!important;gap:5px}
html[data-chord-edition=guitar] #root #progression-studio-card .pro-current-grip svg{width:140px;max-width:100%;height:148px!important}
html[data-chord-edition=guitar] #root #progression-studio-card .pro-progression-toolbar>.pro-progression-circle{grid-area:circle;width:140px!important;height:140px!important;min-width:0!important;margin:0!important;justify-self:center!important;flex-wrap:nowrap!important}
html[data-chord-edition=guitar] #root #progression-studio-card .pro-retired-tap,html[data-chord-edition=guitar] #root #progression-studio-card .pro-tap-info{display:none!important}
@media(max-width:1100px){
 html[data-chord-edition=guitar] #root #progression-studio-card .pro-progression-toolbar{grid-template-columns:80px 95px 40px 70px minmax(110px,1fr) minmax(110px,1fr)!important;grid-template-areas:'circle grip reset loop metro play' 'circle grip sound sound meter meter' 'dials dials beats beats beats beats';padding:10px!important;gap:8px!important}
 html[data-chord-edition=guitar] #root #progression-studio-card .pro-progression-toolbar>.pro-current-grip{width:90px!important}
 html[data-chord-edition=guitar] #root #progression-studio-card .pro-current-grip svg{height:95px!important}
 html[data-chord-edition=guitar] #root #progression-studio-card .pro-progression-toolbar>.pro-progression-circle{width:76px!important;height:76px!important}
 html[data-chord-edition=guitar] #root #progression-studio-card .pro-circle-beat{font-size:11px}
}
@media(max-width:600px){
 html[data-chord-edition=guitar] #root #progression-studio-card .pro-progression-toolbar{grid-template-columns:36px 90px minmax(0,1fr) minmax(0,1fr)!important;grid-template-areas:'reset loop metro play' 'sound sound meter meter' 'dials dials circle grip' 'beats beats beats beats';padding:8px!important;gap:8px 5px!important}
 html[data-chord-edition=guitar] #root #progression-studio-card .pro-progression-toolbar :is(#play-progression-btn,#standalone-metronome-btn,#reset-progression-btn,.pro-loop-label){height:42px!important;min-height:42px!important;font-size:11px!important;padding:5px!important;white-space:normal}
 html[data-chord-edition=guitar] #root #progression-studio-card .pro-progression-toolbar #guitar-progression-sound{flex-wrap:wrap;gap:4px;font-size:11px;justify-content:flex-start}
 html[data-chord-edition=guitar] #root #progression-studio-card .pro-progression-toolbar>.pro-tempo-controls{gap:8px!important}
 html[data-chord-edition=guitar] #root #progression-studio-card .pro-progression-toolbar>.pro-tempo-controls .pro-dial-group{min-width:60px}
 html[data-chord-edition=guitar] #root #progression-studio-card .pro-progression-toolbar>.pro-current-grip{width:75px!important}
 html[data-chord-edition=guitar] #root #progression-studio-card .pro-current-grip svg{height:80px!important}
 html[data-chord-edition=guitar] #root #progression-studio-card .pro-progression-toolbar>.pro-progression-circle{width:62px!important;height:62px!important}
}

/* Clean instrument workspace: everyday controls above the instrument, setup on demand. */
/* Playback follows the physical neck direction, independently of the interface language. */
html.studio-shell-enabled[data-chord-edition=guitar] body:not([data-guitar-progressions=true]) #root #guitar-chord-tabs-card.guitar-clean-workspace #bass-chord-view.guitar-side-playback{display:grid!important;grid-template-columns:max-content minmax(0,1fr)!important;grid-template-rows:auto auto minmax(0,1fr) auto!important;align-items:center;column-gap:10px!important;direction:ltr}
html.studio-shell-enabled[data-chord-edition=guitar] body:not([data-guitar-progressions=true]) #root #guitar-chord-tabs-card.guitar-clean-workspace #bass-chord-view.guitar-side-playback>.neck-header-row{grid-column:1/-1!important;grid-row:1!important}
html.studio-shell-enabled[data-chord-edition=guitar] body:not([data-guitar-progressions=true]) #root #guitar-chord-tabs-card.guitar-clean-workspace #bass-chord-view.guitar-side-playback>#neck-quick-chord{grid-column:1/-1!important;grid-row:2!important}
html.studio-shell-enabled[data-chord-edition=guitar] body:not([data-guitar-progressions=true]) #root #guitar-chord-tabs-card.guitar-clean-workspace #bass-chord-view.guitar-side-playback>:is(svg,.mobile-neck-scroll){grid-column:2!important;grid-row:3!important;height:100%!important;min-height:75px!important;align-self:stretch}
html.studio-shell-enabled[data-chord-edition=guitar] body:not([data-guitar-progressions=true]) #root #guitar-chord-tabs-card.guitar-clean-workspace #bass-chord-view.guitar-side-playback>:is(#neck-playback-buttons,#guitar-scale-playback){grid-column:1!important;grid-row:3!important;flex-direction:column;flex-wrap:nowrap!important;align-self:start;align-items:stretch;justify-content:space-between!important;height:var(--guitar-playback-height,80px);transform:translateY(var(--guitar-playback-offset,0px));gap:8px!important;direction:ltr}
html.studio-shell-enabled[data-chord-edition=guitar] body:not([data-guitar-progressions=true]) #root #guitar-chord-tabs-card.guitar-clean-workspace #bass-chord-view.guitar-side-playback>:is(#neck-playback-buttons,#guitar-scale-playback) button{min-width:78px;min-height:36px!important;height:36px!important;font-size:13px!important;padding:6px 9px!important}
html.studio-shell-enabled[data-chord-edition=guitar] body:not([data-guitar-progressions=true]) #root #guitar-chord-tabs-card.guitar-clean-workspace #bass-chord-view.guitar-side-playback>.neck-play-tools{grid-column:1/-1!important;grid-row:4!important}
html.studio-shell-enabled[data-chord-edition=guitar][data-guitar-front-view=true] body:not([data-guitar-progressions=true]) #root #guitar-chord-tabs-card.guitar-clean-workspace #bass-chord-view.guitar-side-playback{grid-template-columns:minmax(0,1fr) max-content!important}
html.studio-shell-enabled[data-chord-edition=guitar][data-guitar-front-view=true] body:not([data-guitar-progressions=true]) #root #guitar-chord-tabs-card.guitar-clean-workspace #bass-chord-view.guitar-side-playback>:is(svg,.mobile-neck-scroll){grid-column:1!important}
html.studio-shell-enabled[data-chord-edition=guitar][data-guitar-front-view=true] body:not([data-guitar-progressions=true]) #root #guitar-chord-tabs-card.guitar-clean-workspace #bass-chord-view.guitar-side-playback>:is(#neck-playback-buttons,#guitar-scale-playback){grid-column:2!important}

html.studio-shell-enabled[data-chord-edition=guitar] #root #guitar-chord-tabs-card.guitar-clean-workspace #bass-instrument-selector{direction:rtl;gap:8px!important;height:auto!important;max-height:none!important;flex:none!important;overflow:visible!important}
html.studio-shell-enabled[data-chord-edition=guitar] #root #guitar-chord-tabs-card.guitar-clean-workspace #bass-instrument-selector [data-instrument]{min-height:128px!important;padding:6px!important;border-radius:12px;justify-content:center;gap:5px!important}
html.studio-shell-enabled[data-chord-edition=guitar] #root #guitar-chord-tabs-card.guitar-clean-workspace #bass-instrument-selector .guitar-instrument-name{display:block;width:100%!important;height:auto!important;flex:none;font:650 13px/1.35 system-ui;color:oklch(94% .02 250);text-align:center;max-width:100%;overflow-wrap:anywhere}
html.studio-shell-enabled[data-chord-edition=guitar] #root #guitar-chord-tabs-card.guitar-clean-workspace #bass-instrument-selector [data-instrument] img{width:88px!important;height:88px!important;max-width:100%;object-fit:contain;border-radius:7px}
html.studio-shell-enabled[data-chord-edition=guitar] #root #guitar-chord-tabs-card.guitar-clean-workspace #bass-instrument-selector .guitar-instrument-artwork{position:relative;display:block;flex:none;width:88px!important;height:88px!important;max-width:100%;overflow:hidden;border-radius:7px;background:oklch(98% .005 85)}
html.studio-shell-enabled[data-chord-edition=guitar] #root #bass-instrument-selector .guitar-artwork-name{position:absolute;inset:auto 0 0;display:block;margin:0;padding:9px 2px 3px;font:500 15px/1.2 'Segoe UI',Arial,sans-serif;letter-spacing:0;color:oklch(98% .005 85);background:linear-gradient(transparent,oklch(15% .01 250 / .84) 58%,oklch(10% .01 250 / .96));text-shadow:0 1px 2px oklch(10% .01 250);white-space:nowrap;text-align:center;pointer-events:none;direction:ltr}
html.studio-shell-enabled[data-chord-edition=guitar] #root #guitar-chord-tabs-card.guitar-clean-workspace #bass-chord-view>.neck-header-row{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:center;justify-content:space-between;gap:8px!important;direction:ltr}
html.studio-shell-enabled[data-chord-edition=guitar] #root #guitar-chord-tabs-card.guitar-clean-workspace #bass-chord-view>.neck-header-row>.bass-selector{width:auto!important;flex:1 1 auto;min-width:0;min-height:36px;margin:0!important;gap:6px!important;flex-direction:row-reverse;justify-content:flex-start}
html.studio-shell-enabled[data-chord-edition=guitar] #root #guitar-chord-tabs-card.guitar-clean-workspace #bass-chord-view [data-bass-view]{width:156px!important;min-width:156px!important;flex:0 0 156px!important;min-height:36px!important;height:36px!important;font-size:14px!important;padding:2px 10px!important;white-space:nowrap}
html[data-chord-edition=guitar] #root button[data-bass-view=diagram]::before{content:'';display:inline-block;width:25px;height:30px;flex:none;background:url('assets/guitar-chord-diagram-icon.svg') center/contain no-repeat}
html.studio-shell-enabled[data-chord-edition=guitar] #root #guitar-chord-tabs-card.guitar-clean-workspace #bass-chord-view .pro-grip-choice>select{max-width:260px!important;min-height:36px!important;height:36px!important;font-size:13px!important;padding:6px 8px!important}
html.studio-shell-enabled[data-chord-edition=guitar] #root #guitar-chord-tabs-card.guitar-clean-workspace #bass-chord-view .pro-grip-choice>button:not([data-bass-view]){min-height:34px!important;height:34px!important;font-size:12px!important;padding:5px 9px!important}
html.studio-shell-enabled[data-chord-edition=guitar] #root #guitar-chord-tabs-card.guitar-clean-workspace .guitar-workspace-settings-toggle{flex:none;min-height:36px!important;height:36px!important;padding:6px 13px!important;border:1px solid oklch(66% .07 250);border-radius:8px;background:oklch(29% .04 250);color:oklch(94% .02 250);font:650 13px/1.3 system-ui;cursor:pointer}
html.studio-shell-enabled[data-chord-edition=guitar] #root #guitar-chord-tabs-card.guitar-clean-workspace .guitar-workspace-settings-toggle[aria-expanded=true]{background:oklch(39% .07 250);border-color:oklch(79% .08 250)}
html.studio-shell-enabled[data-chord-edition=guitar] #guitar-workspace-settings{position:fixed;z-index:10000;flex:none;box-sizing:border-box;width:min(560px,calc(100vw - 16px));max-height:min(420px,calc(100dvh - 88px));overflow:auto;overscroll-behavior:contain;margin:0;padding:12px 16px;border:1px solid oklch(60% .05 250);border-radius:10px;box-shadow:0 12px 32px oklch(10% .02 250 / .45);background:oklch(24% .025 250);color:oklch(93% .02 250);direction:ltr}
html.studio-shell-enabled[data-chord-edition=guitar] #guitar-workspace-settings[hidden]{display:none!important}
.guitar-settings-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;direction:ltr}
.guitar-settings-heading h2{font:700 16px/1.4 system-ui;margin:0}
.guitar-settings-close{width:30px;height:30px;border:1px solid oklch(50% .04 250);border-radius:7px;background:transparent;color:inherit;font:22px/1 system-ui;cursor:pointer}
html.studio-shell-enabled[data-chord-edition=guitar] #guitar-workspace-settings #instrument-tuning-settings{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px!important;margin:0!important;direction:ltr}
.guitar-setting-field{display:grid;gap:5px;min-width:0;font:13px/1.4 system-ui}
.guitar-setting-field>span:first-child{color:oklch(80% .03 250)}
html.studio-shell-enabled[data-chord-edition=guitar] #guitar-workspace-settings .pro-tuning-field{display:flex;align-items:center;gap:6px;min-width:0}
html.studio-shell-enabled[data-chord-edition=guitar] #guitar-workspace-settings select{min-height:36px!important;height:36px!important;min-width:0;width:100%!important;max-width:none!important;font:14px system-ui!important;padding:6px 9px!important;border:1px solid oklch(55% .05 250);border-radius:7px;background:oklch(29% .03 250);color:oklch(95% .015 250)}
html.studio-shell-enabled[data-chord-edition=guitar] #guitar-workspace-settings #instrument-capo{background-image:none!important;padding:6px 9px!important}
#guitar-workspace-settings .guitar-setting-field>span:first-child{display:flex;align-items:center;gap:8px;min-height:20px}
#guitar-workspace-settings .guitar-setting-field>span:first-child>img{width:36px;height:19px;object-fit:contain;flex:none}
#guitar-workspace-settings #guitar-orientation-tools,#guitar-workspace-settings #instrument-tuning-settings>details{grid-column:1/-1}
#guitar-workspace-settings #guitar-orientation-tools{gap:8px;min-height:36px}
#guitar-workspace-settings #guitar-orientation-tools button{min-height:34px;font-size:13px;padding:6px 10px}
html[lang=he] #guitar-workspace-settings :is(.guitar-setting-field,.guitar-settings-heading h2){direction:rtl;text-align:right}
.guitar-clean-workspace button:focus-visible{outline:2px solid oklch(83% .1 180);outline-offset:3px}
html.studio-shell-enabled[data-chord-edition=guitar] #root #guitar-chord-tabs-card.guitar-clean-workspace #bass-chord-view>svg[data-chord-diagram]{width:100%!important;max-width:480px!important;max-height:100%!important;min-height:0!important;align-self:center}
html.studio-shell-enabled[data-chord-edition=guitar] #root #guitar-chord-tabs-card.guitar-clean-workspace #bass-chord-view.guitar-side-playback>svg[data-chord-diagram]{justify-self:center}
@media(max-width:900px){
 html.studio-shell-enabled[data-chord-edition=guitar] #root #guitar-chord-tabs-card.guitar-clean-workspace #bass-instrument-selector [data-instrument]{min-height:110px!important}
 html.studio-shell-enabled[data-chord-edition=guitar] #root #guitar-chord-tabs-card.guitar-clean-workspace #bass-instrument-selector [data-instrument] img{width:68px!important;height:68px!important}
 html.studio-shell-enabled[data-chord-edition=guitar] #root #guitar-chord-tabs-card.guitar-clean-workspace #bass-instrument-selector .guitar-instrument-artwork{width:68px!important;height:68px!important}
 html.studio-shell-enabled[data-chord-edition=guitar] #root #bass-instrument-selector .guitar-artwork-name{font-size:13px}
 html.studio-shell-enabled[data-chord-edition=guitar] #root #guitar-chord-tabs-card.guitar-clean-workspace #bass-chord-view [data-bass-view]{width:136px!important;min-width:136px!important;flex-basis:136px!important;font-size:13px!important;padding-inline:8px!important}
}
@media(max-height:550px){
 html.studio-shell-enabled[data-chord-edition=guitar] #root #guitar-chord-tabs-card.guitar-clean-workspace #bass-instrument-selector [data-instrument]{min-height:82px!important}
 html.studio-shell-enabled[data-chord-edition=guitar] #root #guitar-chord-tabs-card.guitar-clean-workspace #bass-instrument-selector [data-instrument] img{width:50px!important;height:50px!important}
 html.studio-shell-enabled[data-chord-edition=guitar] #root #guitar-chord-tabs-card.guitar-clean-workspace #bass-instrument-selector .guitar-instrument-artwork{width:50px!important;height:50px!important}
 html.studio-shell-enabled[data-chord-edition=guitar] #root #bass-instrument-selector .guitar-artwork-name{font-size:10px;padding-top:6px;padding-bottom:2px}
 html.studio-shell-enabled[data-chord-edition=guitar] #guitar-workspace-settings{max-height:45dvh;padding:8px 12px}
}
@media(max-width:600px){
 html.studio-shell-enabled[data-chord-edition=guitar] #root #guitar-chord-tabs-card.guitar-clean-workspace #bass-instrument-selector .guitar-instrument-name{font-size:11px!important}
 html.studio-shell-enabled[data-chord-edition=guitar] #guitar-workspace-settings #instrument-tuning-settings{gap:10px!important}
 html.studio-shell-enabled[data-chord-edition=guitar] #root #guitar-chord-tabs-card.guitar-clean-workspace #bass-chord-view>.neck-header-row>.bass-selector{flex-basis:100%;justify-content:center}
 html.studio-shell-enabled[data-chord-edition=guitar] #root #guitar-chord-tabs-card.guitar-clean-workspace .guitar-workspace-settings-toggle{margin-inline-start:auto}
}
@media(min-width:650px) and (max-height:500px){
 html.studio-shell-enabled[data-chord-edition=guitar] #root header>div>div:first-child{display:none!important}
 html.studio-shell-enabled[data-chord-edition=guitar] body[data-pro-view=guitar] #bass-chord-view{display:grid!important;grid-template-columns:230px minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr);gap:4px 8px!important;align-items:start}
 html.studio-shell-enabled[data-chord-edition=guitar] #bass-chord-view>.neck-header-row{grid-column:1!important;grid-row:1!important}
 html.studio-shell-enabled[data-chord-edition=guitar] #bass-chord-view>:is(#neck-playback-buttons,#guitar-scale-playback){grid-column:1!important;grid-row:2!important}
 html.studio-shell-enabled[data-chord-edition=guitar] #bass-chord-view>.neck-play-tools{grid-column:1!important;grid-row:3!important}
 html.studio-shell-enabled[data-chord-edition=guitar] #bass-chord-view>svg,html.studio-shell-enabled[data-chord-edition=guitar] #bass-chord-view>.mobile-neck-scroll{grid-column:2!important;grid-row:1/4!important;height:100%!important;min-height:0!important;align-self:stretch}
 html.studio-shell-enabled[data-chord-edition=guitar] .neck-header-row #neck-quick-chord{width:100%}
 html.studio-shell-enabled[data-chord-edition=guitar] #neck-playback-buttons{flex-wrap:wrap}
 html.studio-shell-enabled[data-chord-edition=guitar] #neck-playback-buttons button{font-size:11px!important}
 html.studio-shell-enabled[data-chord-edition=guitar] #guitar-view-switch{position:absolute;top:59px;inset-inline-end:240px;width:300px}
 html.studio-shell-enabled[data-chord-edition=guitar] .pro-mobile-instrument{max-width:230px!important}
}

html.studio-shell-enabled[data-chord-edition=guitar] #guitar-chord-tabs-card:not([data-mtp-collapsed=true])>#bass-instrument-selector{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr));grid-row:auto!important;flex:none;gap:5px!important;margin:0!important;padding:0!important;width:100%;align-self:stretch}
html.studio-shell-enabled[data-chord-edition=guitar] #guitar-chord-tabs-card:not([data-mtp-collapsed=true])>.pro-mobile-instrument{display:none!important}
html.studio-shell-enabled[data-chord-edition=guitar] #root #bass-instrument-selector [data-instrument]{width:100%!important;min-width:0;min-height:55px!important;padding:4px!important;display:flex;flex-direction:column;justify-content:center;gap:3px!important;font-size:11px!important;line-height:1.2;white-space:normal;text-align:center}
html.studio-shell-enabled[data-chord-edition=guitar] #root #bass-instrument-selector [data-instrument=bass5]{display:none!important}
html.studio-shell-enabled[data-chord-edition=guitar] #root #bass-instrument-selector [data-instrument] img{width:34px!important;height:34px!important;object-fit:contain}
html.studio-shell-enabled[data-chord-edition=guitar] #root #bass-instrument-selector .bass-choice{width:100%;min-width:0;display:flex!important;flex-direction:column;grid-column:auto!important}
html.studio-shell-enabled[data-chord-edition=guitar] #root #bass-instrument-selector #bass-string-count{width:100%!important;min-width:0!important;height:23px!important;min-height:23px!important;padding:1px 3px!important;font-size:10px!important;border-radius:0!important}
html.studio-shell-enabled[data-chord-edition=guitar] #guitar-chord-tabs-card>.mtp-collapse-toggle{display:none!important}
@media(max-width:600px){
 html.studio-shell-enabled[data-chord-edition=guitar] #guitar-chord-tabs-card:not([data-mtp-collapsed=true])>#bass-instrument-selector{grid-template-columns:repeat(4,minmax(0,1fr))}
 html.studio-shell-enabled[data-chord-edition=guitar] #root #bass-instrument-selector [data-instrument]{min-height:60px!important;font-size:10px!important}
}
html.studio-shell-enabled[data-chord-edition=guitar] #guitar-chord-tabs-card>#instrument-view-stage{flex:1!important;min-height:0!important;height:auto!important;grid-row:auto!important}
/* Use the space below the actual toolbar, including browser zoom and OS scaling. */
html.studio-shell-enabled[data-chord-edition=guitar][data-guitar-workspace-fit=true] #root #guitar-chord-tabs-card.guitar-clean-workspace>#instrument-view-stage{box-sizing:border-box;height:var(--guitar-stage-height)!important;min-height:0!important;max-height:none!important;flex:0 0 var(--guitar-stage-height)!important}
html.studio-shell-enabled[data-chord-edition=guitar][data-guitar-workspace-fit=true] #root #bass-chord-view{box-sizing:border-box;min-height:0!important;max-height:100%!important}
html.studio-shell-enabled[data-chord-edition=guitar][data-guitar-workspace-fit=true] #root main{min-height:0!important}
html.studio-shell-enabled[data-chord-edition=guitar][data-guitar-workspace-overflow=true] #root main{overflow-y:auto!important;overscroll-behavior:contain}
@media(min-width:601px) and (max-height:800px){
 html.studio-shell-enabled[data-chord-edition=guitar] #root #guitar-chord-tabs-card.guitar-clean-workspace #bass-instrument-selector [data-instrument]{min-height:108px!important}
 html.studio-shell-enabled[data-chord-edition=guitar] #root #guitar-chord-tabs-card.guitar-clean-workspace #bass-instrument-selector [data-instrument] img,html.studio-shell-enabled[data-chord-edition=guitar] #root #guitar-chord-tabs-card.guitar-clean-workspace #bass-instrument-selector .guitar-instrument-artwork{width:68px!important;height:68px!important}
}
@media(min-width:601px) and (max-height:650px){
 html.studio-shell-enabled[data-chord-edition=guitar] #root #guitar-chord-tabs-card.guitar-clean-workspace #bass-instrument-selector [data-instrument]{min-height:82px!important}
 html.studio-shell-enabled[data-chord-edition=guitar] #root #guitar-chord-tabs-card.guitar-clean-workspace #bass-instrument-selector [data-instrument] img,html.studio-shell-enabled[data-chord-edition=guitar] #root #guitar-chord-tabs-card.guitar-clean-workspace #bass-instrument-selector .guitar-instrument-artwork{width:50px!important;height:50px!important}
}
html.studio-shell-enabled[data-chord-edition=guitar] #root #bass-chord-view .pro-grip-choice{display:flex!important;flex-wrap:wrap!important;align-items:center;justify-content:center;gap:4px;min-width:0!important;width:auto!important;max-width:100%!important;flex:0 1 auto!important;height:auto!important;min-height:0!important}
html.studio-shell-enabled[data-chord-edition=guitar] #root #bass-chord-view .pro-grip-choice>button{flex:none!important;white-space:nowrap!important;width:auto!important;min-width:0!important;max-width:none!important;height:28px!important;min-height:28px!important;padding:3px 7px!important;font-size:11px!important;line-height:1.2!important}
html.studio-shell-enabled[data-chord-edition=guitar] #root #bass-chord-view .pro-grip-choice>select{flex:0 1 auto!important;max-width:175px!important;width:auto!important;min-width:0!important;height:28px!important;min-height:28px!important}
html.studio-shell-enabled[data-chord-edition=guitar] body:is([data-pro-view=guitar],[data-pro-view=scales]) #root main>div.grid:last-child{display:none!important}
html.studio-shell-enabled[data-chord-edition=guitar] #guitar-chord-controls-panel>.mtp-collapse-toggle[aria-expanded=false]::after{content:none}
html.studio-shell-enabled[lang=en][data-chord-edition=guitar] #guitar-chord-controls-panel>.mtp-collapse-toggle[aria-expanded=false]::after{content:none}
/* Instrument artwork already contains the name; retain the text for assistive technology. */
html.studio-shell-enabled[data-chord-edition=guitar] #root #bass-instrument-selector [data-instrument]{font-size:0!important;line-height:0;gap:0!important}
html.studio-shell-enabled[data-chord-edition=guitar] #root #bass-instrument-selector [data-instrument] img{width:48px!important;height:48px!important}
@media(max-height:500px){html.studio-shell-enabled[data-chord-edition=guitar] #root #bass-instrument-selector [data-instrument] img{width:34px!important;height:34px!important}html.studio-shell-enabled[data-chord-edition=guitar] #root #bass-instrument-selector [data-instrument]{min-height:42px!important}}
html.studio-shell-enabled[data-chord-edition=guitar] #root #bass-instrument-selector .bass-choice{height:auto!important;min-height:0!important;overflow:visible!important;align-self:stretch}
html.studio-shell-enabled[data-chord-edition=guitar] #root #bass-instrument-selector .bass-choice:not(:has([aria-pressed=true])) #bass-string-count{display:none!important}
.pro-neck-options{box-sizing:border-box;width:min(620px,calc(100vw - 24px));max-height:calc(calc(var(--studio-app-height) * 1) - 24px);border:1px solid #a58bc8;border-radius:12px;background:var(--panel,#202b3b);color:var(--text,#eef3fa);padding:14px}
.pro-neck-options::backdrop{background:#050c1cbb}.pro-neck-options h2{margin:0 0 10px;font-size:18px}.pro-neck-options #instrument-tuning-settings,.pro-neck-options .pro-grip-choice{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.pro-neck-options select,.pro-neck-options button{min-height:32px;max-width:100%;padding:5px 8px;border-radius:6px;background:var(--panel);color:var(--text);border:1px solid #a58bc8;font:13px 'Segoe UI'}
@media(min-width:650px) and (max-height:500px){
 html.studio-shell-enabled[data-chord-edition=guitar] #root header{padding-block:2px!important}
 html.studio-shell-enabled[data-chord-edition=guitar] #root header>div{min-height:32px}
 html.studio-shell-enabled[data-chord-edition=guitar] #root header .mtp-theme-inner{padding:1px!important}
 html.studio-shell-enabled[data-chord-edition=guitar] #root #bass-instrument-selector [data-instrument]{min-height:42px!important}
 html.studio-shell-enabled[data-chord-edition=guitar] #root #bass-chord-view .neck-play-tools{padding:0!important;min-height:28px!important}
 html.studio-shell-enabled[data-chord-edition=guitar] #guitar-view-switch{position:static!important;width:auto!important;inset:auto!important}
 html.studio-shell-enabled[data-chord-edition=guitar] #guitar-view-switch button{white-space:nowrap!important}
}
html.studio-shell-enabled[data-chord-edition=guitar] #root #bass-instrument-selector:has([data-instrument=bass5][aria-pressed=true]) #bass-string-count{display:block!important}
html.studio-shell-enabled[data-chord-edition=guitar] #root #bass-instrument-selector:has([data-instrument=bass5][aria-pressed=true]) .bass-choice{border-color:#cfb0f5;box-shadow:inset 0 0 0 1px #cfb0f5}

/* Scale learning uses a toolbar above the neck, not the legacy chord sidebar. */
html.studio-shell-enabled[data-chord-edition=guitar] body[data-pro-view=scales] #guitar-chord-tabs-card{display:flex!important;flex-direction:column!important}
html.studio-shell-enabled[data-chord-edition=guitar] body[data-pro-view=scales] #bass-instrument-selector{width:100%!important;min-width:0!important;max-width:none!important;height:auto!important;max-height:none!important;grid-column:auto!important;grid-row:auto!important;flex:none!important;align-items:start;align-content:start}
html.studio-shell-enabled[data-chord-edition=guitar] body[data-pro-view=scales] #bass-instrument-selector .bass-choice{align-self:start}

/* Landscape phones keep the neck and its controls inside the actual viewport. */
@media(orientation:landscape) and (max-height:550px) and (max-width:1100px){
 html.studio-shell-enabled[data-chord-edition=guitar] #guitar-chord-tabs-card[data-bass-active=true]>#guitar-view-switch{display:none!important}
 html.studio-shell-enabled[data-chord-edition=guitar] #root main{min-width:0!important;overflow-x:hidden!important}
 html.studio-shell-enabled[data-chord-edition=guitar] #bass-chord-view .pro-neck-options-open{border:1px solid #a58bc8;border-radius:8px;background:#49365f;color:#f0e5fb;white-space:nowrap}
 html.studio-shell-enabled[data-chord-edition=guitar] #bass-chord-view>.pro-neck-actions{grid-column:1!important;grid-row:3!important;display:flex;flex-wrap:wrap;gap:5px;align-self:end;min-width:0}
 html.studio-shell-enabled[data-chord-edition=guitar] #bass-chord-view>.pro-neck-actions button{min-height:28px!important;font-size:11px!important;padding:4px 7px!important}
 html.studio-shell-enabled[data-chord-edition=guitar] #bass-chord-view>svg[viewBox="0 0 260 320"]{min-height:0!important;max-height:100%!important;justify-self:center}
 html.studio-shell-enabled[data-chord-edition=guitar] #root header>div{min-width:0!important;max-width:100%!important}
 html.studio-shell-enabled[data-chord-edition=guitar] body[data-pro-view=progressions] #root main{overflow-y:auto!important;padding:5px 8px!important}
 html.studio-shell-enabled[data-chord-edition=guitar] #root main>div:has(>#progression-studio-card){flex:none!important;min-width:0!important;width:100%!important;max-width:100%!important;padding:0!important}
 html.studio-shell-enabled[data-chord-edition=guitar] #progression-studio-card{height:auto!important;min-height:0!important;max-width:100%!important;padding:8px!important;gap:8px!important;box-sizing:border-box}
 html.studio-shell-enabled[data-chord-edition=guitar] #progression-studio-card>div:first-child{flex-direction:row!important;flex-wrap:nowrap!important;min-width:0!important;padding-bottom:5px!important;gap:8px!important}
 #progression-studio-card>div:first-child h3{font-size:13px!important}
 #progression-studio-card>div:first-child p{display:none!important}
 #progression-studio-card>div:first-child>div{min-width:0!important;max-width:100%!important}
 #progression-studio-card>div:first-child>div:last-child{flex:1;max-width:55%!important}
 #progression-studio-card #progression-preset-select{width:100%!important;min-width:0!important;min-height:32px!important;font-size:12px!important}
 html.studio-shell-enabled[data-chord-edition=guitar] #progression-studio-card>div:nth-child(2){display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;gap:6px!important;padding:6px!important;min-width:0!important}
 html.studio-shell-enabled[data-chord-edition=guitar] #progression-studio-card>div:nth-child(2)>div{grid-column:auto!important;grid-row:auto!important;flex:none!important;width:auto!important;min-width:0!important;max-width:100%!important;margin:0!important;gap:5px!important}
 html.studio-shell-enabled[data-chord-edition=guitar] #progression-studio-card>div:nth-child(2)>div:first-child{display:flex!important;flex-wrap:wrap!important;width:205px!important;max-width:205px!important}
 html.studio-shell-enabled[data-chord-edition=guitar] #progression-studio-card>div:nth-child(2)>div:nth-child(3){width:145px!important;max-width:145px!important;flex-wrap:wrap!important}
 #progression-studio-card>div:nth-child(2) button:not([role=slider]),#progression-studio-card>div:nth-child(2) select{min-height:32px!important;height:32px!important;font-size:11px!important;padding:5px 7px!important}
 html.studio-shell-enabled[data-chord-edition=guitar] #progression-studio-card>div:nth-child(2)>div:nth-child(2){padding:3px!important;width:36px!important}
 #progression-studio-card>div:nth-child(2)>div:nth-child(2)>div:first-child{display:none!important}
 html.studio-shell-enabled[data-chord-edition=guitar] #progression-studio-card>div:nth-child(2)>.pro-current-grip{display:flex!important;width:75px!important;min-width:75px!important;padding:0!important;gap:2px!important}
 #progression-studio-card .pro-current-grip svg{height:85px!important;max-width:100%!important}
 html.studio-shell-enabled[data-chord-edition=guitar] #progression-studio-card>div:nth-child(2)>.pro-progression-circle{width:64px!important;min-width:64px!important;height:64px!important}
 #progression-studio-card .pro-progression-circle .pro-circle-beat{font-size:10px!important}
 html.studio-shell-enabled[data-chord-edition=guitar] #progression-studio-card>div:nth-child(2)>.pro-tempo-controls{display:flex!important;width:auto!important;max-width:185px!important;gap:8px!important}
 html.studio-shell-enabled[data-chord-edition=guitar] #progression-studio-card>div:nth-child(4){display:grid!important;grid-auto-flow:column!important;grid-template-columns:none!important;grid-auto-columns:180px;grid-template-rows:minmax(170px,auto)!important;min-width:0!important;overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-x:contain;gap:8px!important;padding:2px!important;scrollbar-width:thin}
 html.studio-shell-enabled[data-chord-edition=guitar] #progression-studio-card>div:nth-child(4)>div{min-height:170px!important;height:auto!important;padding:8px!important;box-sizing:border-box}
 #progression-studio-card>div:nth-child(4) button[title]{opacity:1!important}
 #progression-studio-card>div:nth-child(4)>div>div:nth-child(2)>div,#progression-studio-card>div:nth-child(4)>div>div:nth-child(2)>div bdi{font-size:11px!important;font-weight:400!important}
 #progression-studio-card>div:nth-child(5){font-size:11px!important}
 #progression-studio-card [data-progression-tools]{display:flex!important;flex-wrap:wrap!important;gap:6px!important;width:100%!important;min-width:0!important}
 #progression-studio-card [data-progression-tools]>*{min-width:0!important;max-width:100%!important}
 html.studio-shell-enabled[data-chord-edition=guitar] body[data-pro-view=scales] #root main{overflow-y:auto!important}
 html.studio-shell-enabled[data-chord-edition=guitar] body[data-pro-view=scales] #instrument-view-stage{height:auto!important;flex:none!important;padding-bottom:0!important}
 html.studio-shell-enabled[data-chord-edition=guitar] body[data-pro-view=scales] #bass-chord-view{height:auto!important;display:flex!important;flex-direction:column!important}
 html.studio-shell-enabled[data-chord-edition=guitar] body[data-pro-view=scales] #bass-chord-view>svg{height:160px!important;min-height:160px!important;flex:none!important}
 html.studio-shell-enabled[data-chord-edition=guitar] body[data-pro-view=scales] .scale-resource-links{position:static!important;inset:auto!important;width:100%!important;flex-wrap:wrap!important}
}

@media(min-width:601px){
 html.studio-shell-enabled[data-chord-edition=guitar] #root #guitar-chord-tabs-card.guitar-clean-workspace #bass-chord-view>.neck-header-row{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px!important;direction:ltr;width:calc(100% + 10px);max-width:none;margin-inline:-5px}
 html.studio-shell-enabled[data-chord-edition=guitar] #root #guitar-chord-tabs-card.guitar-clean-workspace #bass-chord-view>.neck-header-row>.bass-selector{display:contents!important}
 html.studio-shell-enabled[data-chord-edition=guitar] #root #guitar-chord-tabs-card.guitar-clean-workspace #bass-chord-view>.neck-header-row [data-bass-view]{grid-row:1;width:100%!important;min-width:0!important;max-width:none!important;flex:auto!important;box-sizing:border-box}
 html.studio-shell-enabled[data-chord-edition=guitar] #root #guitar-chord-tabs-card.guitar-clean-workspace #bass-chord-view>.neck-header-row [data-bass-view=neck]{grid-column:5}
 html.studio-shell-enabled[data-chord-edition=guitar] #root #guitar-chord-tabs-card.guitar-clean-workspace #bass-chord-view>.neck-header-row [data-bass-view=diagram]{grid-column:4}
 html.studio-shell-enabled[data-chord-edition=guitar] #root #guitar-chord-tabs-card.guitar-clean-workspace #bass-chord-view>.neck-header-row select[data-alternative-shape]{grid-column:3;grid-row:1;box-sizing:border-box;width:100%!important;min-width:0!important;max-width:none!important;min-height:36px!important;height:36px!important;font-size:13px!important}
 html.studio-shell-enabled[data-chord-edition=guitar] #root #guitar-chord-tabs-card.guitar-clean-workspace #bass-chord-view>.neck-header-row>.guitar-workspace-settings-toggle{grid-column:7;grid-row:1;justify-self:end}
 html.studio-shell-enabled[data-chord-edition=guitar] #root #guitar-chord-tabs-card.guitar-clean-workspace #bass-chord-view>.neck-header-row>#neck-quick-chord{grid-column:1/-1!important;grid-row:2!important}
 html.studio-shell-enabled[data-chord-edition=guitar] #root #guitar-chord-tabs-card.guitar-clean-workspace #bass-chord-view>.neck-header-row .guitar-diagram-tools{grid-column:1/3;grid-row:1;justify-self:start;margin:0}
}

html[data-chord-edition=guitar] .guitar-workspace-tabs{display:flex!important;flex-direction:row!important;direction:ltr!important}
html[data-chord-edition=guitar] .guitar-workspace-tabs #tab-progressions-btn{order:0}
html[data-chord-edition=guitar] .guitar-workspace-tabs #scale-learning-tab{order:1}
html[data-chord-edition=guitar] .guitar-workspace-tabs #tab-guitar-btn{order:2}
html.studio-shell-enabled[data-chord-edition=guitar] #root #bass-chord-view>.neck-header-row .pro-scale-heading{display:none!important;margin:0;font:700 14px/36px system-ui;white-space:nowrap;height:36px;align-items:center;gap:5px;grid-column:6;grid-row:1}
html.studio-shell-enabled[data-chord-edition=guitar] body[data-scale-learning=true] #root #bass-chord-view>.neck-header-row .pro-scale-heading{display:flex!important}
html.studio-shell-enabled[data-chord-edition=guitar] #root #bass-chord-view>.neck-header-row .pro-scale-info{padding:2px!important;min-width:24px!important;width:24px!important;height:24px!important;min-height:24px!important;font-size:14px!important;flex:none}
html.studio-shell-enabled[data-chord-edition=guitar] #root #guitar-scale-playback[hidden]{display:none!important}
html.studio-shell-enabled[data-chord-edition=guitar] #root #guitar-scale-playback:not([hidden]){display:flex!important}
html.studio-shell-enabled[data-chord-edition=guitar] body[data-scale-learning=true] #root #guitar-chord-tabs-card.guitar-clean-workspace #bass-chord-view>#neck-quick-chord{display:none!important}
html.studio-shell-enabled[data-chord-edition=guitar] #root #guitar-chord-tabs-card.guitar-clean-workspace #bass-chord-view>.scale-controls{grid-column:1/-1!important;grid-row:2!important;min-height:36px;direction:ltr}
/* Keep label changes and the optional hand-position field from reflowing the toolbar. */
html[data-chord-edition=guitar] #root .scale-controls>.scale-label-mode{box-sizing:border-box;flex:0 0 160px!important;width:160px!important;min-width:160px!important;max-width:160px!important;height:40px!important;min-height:40px!important;white-space:nowrap;font-size:14px!important;line-height:1.2}
html[data-chord-edition=guitar] #root .scale-controls>.scale-finger-position{box-sizing:border-box;flex:0 0 190px!important;width:190px!important;min-width:190px!important;max-width:190px!important;height:40px!important;min-height:40px!important}
html[data-chord-edition=guitar] body:not([data-guitar-progressions=true]) #playback-style-select:not(.guitar-arpeggio-editor){display:none!important}
html[data-chord-edition=guitar] #playback-style-select.guitar-arpeggio-editor{display:block!important;position:fixed!important;z-index:10001;box-sizing:border-box;height:38px!important;min-height:38px!important;padding:6px 10px!important;font:14px system-ui!important;border:1px solid oklch(72% .1 300);border-radius:8px;background:oklch(27% .04 285);color:oklch(95% .015 285);color-scheme:dark;box-shadow:0 6px 18px oklch(10% .02 285 / .4)}

@media(max-width:900px){html.studio-shell-enabled[data-chord-edition=guitar] #root #bass-chord-view>.neck-header-row .pro-scale-heading{font-size:0!important;gap:0;justify-content:center}}

html[data-chord-edition=guitar] #root #progression-studio-card .guitar-progression-footer{display:flex!important;align-items:center;flex-wrap:wrap;gap:8px!important;margin:8px 0 0!important;padding:0!important;direction:ltr}
html[data-chord-edition=guitar] #root #progression-studio-card .guitar-progression-footer>:not([data-progression-copy]):not(.guitar-progression-copy-status),html[data-chord-edition=guitar] #root #progression-studio-card .guitar-progression-retired-note{display:none!important}
html[data-chord-edition=guitar] #root #progression-studio-card .guitar-progression-heading{display:flex;align-items:center;flex-wrap:wrap;gap:8px;direction:ltr}
html[data-chord-edition=guitar] #root #progression-studio-card .guitar-progression-lab-link{display:inline-flex!important;align-items:center;gap:7px;flex:none;min-height:36px;padding:6px 10px!important;font-size:13px!important;line-height:1.3;max-width:100%;box-sizing:border-box}
html[data-chord-edition=guitar] #root #progression-studio-card .guitar-progression-lab-link img{width:28px!important;height:28px!important;flex:none}

html[data-chord-edition=guitar] #root #progression-studio-card :is(.guitar-progression-no-reset,.guitar-progression-always-loop,.pro-metronome-native,.pro-metronome-native-click){display:none!important}
html[data-chord-edition=guitar] #root #progression-studio-card .pro-metronome-toggle{display:block;align-self:center;width:58px;min-height:27px!important;height:27px!important;padding:2px 8px!important;border:1px solid oklch(57% .06 240);border-radius:6px;background:oklch(28% .035 250);color:oklch(87% .025 250);font:700 12px/1.2 system-ui;cursor:pointer}
html[data-chord-edition=guitar] #root #progression-studio-card .pro-metronome-toggle[aria-checked=true]{background:oklch(42% .09 165);border-color:oklch(76% .11 165);color:oklch(96% .025 165)}
html[data-chord-edition=guitar] #root #progression-studio-card [data-dial=tempo]:has(.pro-metronome-toggle)>.pro-tempo-name{display:none}
html[data-chord-edition=guitar] #root #progression-studio-card .guitar-progression-title-volume{flex:none;margin:0 10px!important;min-width:60px}
html[data-chord-edition=guitar] #root #progression-studio-card .guitar-progression-title-volume .pro-dial-scale{width:48px;height:48px}
html[data-chord-edition=guitar] #root #progression-studio-card .guitar-progression-title-volume .pro-tempo-name{display:none}

html[data-chord-edition=guitar] #root #progression-studio-card.guitar-progression-has-neck{gap:8px!important}
html[data-chord-edition=guitar] #root #progression-studio-card.guitar-progression-has-neck .pro-current-grip{display:none!important}
html[data-chord-edition=guitar] #root #progression-studio-card.guitar-progression-has-neck .pro-progression-toolbar{grid-template-columns:120px 170px minmax(130px,1fr) minmax(130px,1fr)!important;grid-template-areas:'circle dials play play' 'circle dials sound meter' 'circle dials beats beats'!important;padding:9px!important;gap:6px!important}
html[data-chord-edition=guitar] #root #progression-studio-card.guitar-progression-has-neck .pro-progression-circle{width:105px!important;height:105px!important}
html[data-chord-edition=guitar] #root #progression-studio-card .guitar-progression-cards{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;direction:ltr}
html[data-chord-edition=guitar] #root #progression-studio-card .guitar-progression-cards>div{min-height:0!important;min-width:0;padding:7px!important;transform:none!important}
html[data-chord-edition=guitar] #root #progression-studio-card .guitar-progression-cards>div>.text-center>div bdi{font-size:11px!important;line-height:1.2!important}
html[data-chord-edition=guitar] #root #progression-studio-card :is(.guitar-progression-native-add,.guitar-progression-page-hidden,[data-progression-page-hidden=true]){display:none!important}
html[data-chord-edition=guitar] #root #guitar-progression-neck{flex:none;min-width:0;margin:0;padding:7px 9px;border:1px solid oklch(48% .035 230);border-radius:10px;background:oklch(20% .025 250)}
html[data-chord-edition=guitar] #root #guitar-progression-neck[hidden]{display:none!important}
html[data-chord-edition=guitar] #root #guitar-progression-neck figcaption{display:flex;align-items:center;gap:10px;min-height:28px;direction:ltr}
html[data-chord-edition=guitar] #root #guitar-progression-neck figcaption strong{font:750 19px/1.2 system-ui;color:oklch(85% .12 85)}
html[data-chord-edition=guitar] #root #guitar-progression-neck .guitar-progression-neck-count{font:12px system-ui;color:oklch(76% .025 250)}
html[data-chord-edition=guitar] #root #guitar-progression-neck figcaption button{min-height:26px;min-width:28px;padding:3px 8px;border:1px solid oklch(50% .04 250);border-radius:6px;background:oklch(28% .035 250);color:oklch(92% .025 250);font:600 12px/1.3 system-ui;cursor:pointer}
html[data-chord-edition=guitar] #root #guitar-progression-neck figcaption .guitar-progression-add{margin-left:auto}
html[data-chord-edition=guitar] #root #guitar-progression-neck .guitar-progression-neck-pages{display:flex;align-items:center;gap:5px;font:12px system-ui;direction:ltr}
html[data-chord-edition=guitar] #root #guitar-progression-neck .guitar-progression-neck-pages[hidden]{display:none}
html[data-chord-edition=guitar] #root #guitar-progression-neck .guitar-progression-neck-viewport{width:100%;height:clamp(120px,19vh,180px);min-width:0}
html[data-chord-edition=guitar] #root #progression-studio-card[data-progression-rows="2"] .guitar-progression-neck-viewport{height:clamp(110px,15vh,150px)}
html[data-chord-edition=guitar] #root #progression-studio-card .guitar-progression-cards>div>.text-center{margin:2px 0!important}
html[data-chord-edition=guitar] #root #progression-studio-card .guitar-progression-cards>div>div:last-child{margin-top:4px!important;padding-top:4px!important}
html[data-chord-edition=guitar] #root #guitar-progression-neck svg{display:block;width:100%;height:100%;max-width:100%;overflow:visible;pointer-events:none}
html[data-chord-edition=guitar] #root #guitar-progression-neck svg text{font-family:system-ui,sans-serif}
html[data-chord-edition=guitar] #root #guitar-progression-neck.is-playing [data-preview-midi]{stroke:oklch(96% .05 180);stroke-width:2.5;filter:drop-shadow(0 0 3px oklch(77% .13 180))}
html[data-chord-edition=guitar][data-guitar-front-view=true] #root #guitar-progression-neck svg{transform:scaleX(-1)}
html[data-chord-edition=guitar][data-guitar-front-view=true] #root #guitar-progression-neck svg text{transform:scaleX(-1);transform-box:fill-box;transform-origin:center}
@media(max-width:760px){
 html[data-chord-edition=guitar] #root #progression-studio-card .guitar-progression-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 html[data-chord-edition=guitar] #root #progression-studio-card.guitar-progression-has-neck .pro-progression-toolbar{grid-template-columns:128px 65px minmax(0,1fr) minmax(0,1fr)!important;grid-template-areas:'dials circle play play' 'sound sound meter meter' 'beats beats beats beats'!important}
 html[data-chord-edition=guitar] #root #progression-studio-card.guitar-progression-has-neck .pro-progression-circle{width:60px!important;height:60px!important}
}
