.site-editor-menu { max-height: calc(100vh - 5rem); overflow-y: auto; }
.site-editor-group-buttons { display: grid; gap: .15rem; }
.site-editor-group-picker { display: none; }
.structured-editor { display: grid; gap: 1rem; }
.structured-editor > .field-help { margin: 0; }
.structured-editor > .button { justify-self: start; }
.structured-editor-list { display: grid; gap: .7rem; }
.structured-editor-item { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; }
.structured-editor-item > h3,
.structured-editor-item > summary { margin: 0; padding: .7rem .8rem; background: #f7f8fa; color: var(--ink); overflow-wrap: anywhere; font-size: .94rem; font-weight: 720; }
.structured-editor-item > summary { cursor: pointer; }
.structured-editor-item[open] > summary { border-bottom: 1px solid var(--line); }
.structured-editor-item-body { display: grid; gap: .9rem; padding: .8rem; }
.structured-editor-actions { display: flex; flex-wrap: wrap; gap: .35rem; }
.structured-editor-actions .button { min-height: 38px; padding: .35rem .6rem; }
.structured-editor-media { display: grid; gap: .45rem; }
.structured-editor-media input { width: 100%; margin-top: .3rem; }
.structured-editor-media .site-editor-image { margin: .5rem 0; }
.structured-editor-media .button, .structured-editor-address .button { justify-self: start; }
.structured-editor-address:not(:empty) { display: grid; gap: .45rem; }
.structured-editor-address .field-help { margin: 0; overflow-wrap: anywhere; }

@media (max-width: 640px) {
  .site-editor-menu { max-height: none; overflow: visible; }
  .site-editor-group-buttons { display: none; }
  .site-editor-group-picker { display: block; }
}
