/* Keep mode choices in the header grid, including when its wrapper uses display:contents. */
.taste-workbench .studio-page>.studio-mode-row.compact-entry>.mode-switch:not([hidden]){
 position:static;top:auto;left:auto;z-index:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
 flex:0 0 100%;width:100%;max-width:720px;align-items:stretch;box-shadow:none;
}
.taste-workbench .studio-page>.studio-mode-row.compact-entry>.mode-switch>button{
 height:auto;min-height:76px;min-width:0;text-align:left;
}
.taste-workbench .studio-page>.studio-mode-row.compact-entry>.mode-switch>button>span:first-of-type{flex:1;min-width:0}
.taste-workbench .studio-page>.studio-mode-row.compact-entry>.mode-switch strong,
.taste-workbench .studio-page>.studio-mode-row.compact-entry>.mode-switch small{white-space:normal;overflow-wrap:anywhere}
@media(max-width:1439px){
 .taste-workbench .studio-page>.studio-mode-row.compact-entry>.mode-switch:not([hidden]){max-width:none}
}
@media(max-width:740px){
 .taste-workbench .studio-page>.studio-mode-row.compact-entry>.mode-switch:not([hidden]){grid-template-columns:minmax(0,1fr);max-width:none}
}
