.project-gallery-editor{grid-column:1/-1;display:flex;gap:7px;flex-wrap:wrap;padding:8px;background:#f4f4f1;border:1px solid #e0e1dd}
.project-gallery-editor figure{width:82px;margin:0;position:relative}
.project-gallery-editor img{width:82px;height:64px;object-fit:cover;display:block}
.project-gallery-editor figcaption{display:flex}
.project-gallery-editor button{flex:1;border:0;padding:5px 2px;font-size:8px;background:#222;color:#fff}
.project-gallery-editor button:last-child{background:#8d211c}
.project-gallery-empty{font-size:9px;color:#777;padding:8px}
@media(max-width:850px){
  .app-sidebar{position:sticky;top:0;z-index:10;display:grid!important;grid-template-columns:1fr auto;padding:12px!important}
  .app-sidebar .brand{grid-column:1}.app-sidebar .demo-pill{display:block!important;grid-column:2;margin:0!important}
  .app-sidebar nav{display:flex!important;grid-column:1/-1;flex-direction:row!important;overflow-x:auto;gap:5px!important;padding-top:10px}
  .app-sidebar nav button{white-space:nowrap;border:1px solid #333!important;padding:10px!important}
  .app-sidebar nav button.active{border-color:#ffd000!important;border-left:1px solid #ffd000!important}
  .app-sidebar .cms-side-actions{grid-column:1/-1;flex-direction:row!important;margin:6px 0 0!important;overflow-x:auto}
  .app-sidebar .cms-side-actions button{white-space:nowrap}.cms-toolbar{align-items:flex-start;gap:12px}.cms-toolbar p{max-width:60%}
  .cms-main>header>div:last-child{align-items:center}.cms-main>header h2{font-size:34px}
}
@media(max-width:560px){
  .cms-main>header{align-items:flex-start;gap:10px}.cms-main>header>div:last-child{flex-direction:column;align-items:flex-end}
  .cms-project{grid-template-columns:1fr}.cms-project>img{width:100%;height:180px}.cms-project-fields{grid-column:1}
  .project-gallery-editor figure,.project-gallery-editor img{width:70px}.project-gallery-editor img{height:55px}
  .section-sorter article{align-items:flex-start;flex-wrap:wrap}.section-sorter article>div{width:100%;display:flex}.section-sorter button{flex:1}
}
