
/* Page and Site: the same inline stack and field rhythm as Selected. */
[data-site-editor-root] [data-editor-inspector-panel] [data-editor-inspector-scope-view]:not([data-editor-inspector-scope-view="selected"]) { padding: 0; }
.inspector-section-label { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.inspector-section-badge { flex: 0 1 auto; min-width: 0; max-width: 42%; color: var(--site-inspector-focus-muted); font-size: 9px; font-weight: 500; }
.inspector-section-badge > * { max-width: 100%; font-size: inherit; white-space: normal; overflow-wrap: anywhere; line-height: 1.3; text-align: center; }
[data-site-editor-root] [data-editor-inspector-panel] .inspector-administrative-stack :is([data-editor-page-identity-preview], [data-editor-page-navigation-preview]) { padding: 6px; gap: 8px; }
[data-site-editor-root] [data-editor-inspector-panel] .inspector-administrative-stack :is([data-editor-page-identity-preview], [data-editor-page-navigation-preview]) > span:first-child { width: 24px; height: 24px; flex-shrink: 0; border-radius: 4px; }
.inspector-administrative-stack .inspector-section-heading > button:first-child { width: 100%; }
@media (pointer: coarse), (max-width: 767px) {
  .inspector-section-heading > button[aria-label^="About "] { width: 44px; height: 44px; }
  .inspector-section-badge { max-width: 36%; }
}

/* The section heading includes the contributed help in its single help button. */
.inspector-administrative-stack .inspector-section-body > div > .flex.justify-end:has(button[aria-label^="About "]) { display: none; }

/* Keep recommendations one tap away without burying editable SEO fields. */
.inspector-page-checks { min-width: 0; border: 1px solid var(--site-inspector-focus-border); border-radius: 5px; }
.inspector-page-checks > summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: var(--inspector-control-height); padding: 6px 8px; font-size: 10px; cursor: pointer; list-style: none; }
.inspector-page-checks > summary::-webkit-details-marker { display: none; }
.inspector-page-checks > summary > span:first-child { font-weight: 600; }
.inspector-page-checks > summary > span:last-child { min-width: 0; color: var(--site-inspector-focus-muted); text-align: right; font-size: 9px; overflow-wrap: anywhere; }
.inspector-page-checks > summary:focus-visible { outline: 2px solid var(--site-inspector-focus-accent); outline-offset: -3px; border-radius: 4px; }
.inspector-page-checks[open] > summary { border-bottom: 1px solid var(--site-inspector-focus-border); }
.inspector-page-checks > .publish-guidance { margin: 0; padding: 8px; border: 0; border-radius: 0; background: transparent; }

/* A picker without its own heading occupies the complete administrative row. */
[data-site-editor-root] [data-editor-inspector-panel] .inspector-administrative-stack [data-editor-layout-choice-picker]:not(:has(> [data-editor-field-heading])) { grid-template-columns: minmax(0, 1fr); }
