/* Editor iframe ONLY: the normal WordPress site editor is unchanged. */
html.wp-toolbar { padding-top: 0 !important; }
/* WordPress core handles the toolbar for wp_site_preview iframe requests. */
body { --wp-admin--admin-bar--height: 0px !important; }
#site-editor { min-height: 100vh; }
/* Re-use Gutenberg's existing back button in-place. No extra toolbar row. */
.bouzin-native-panel-toggle {
    position: relative !important;
    cursor: pointer !important;
}
.bouzin-native-panel-toggle > svg,
.bouzin-native-panel-toggle > span > svg { visibility: hidden !important; }
.bouzin-native-panel-toggle::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 21px;
    height: 21px;
    background: currentColor;
    -webkit-mask: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"%3E%3Crect x="3" y="4" width="18" height="16" rx="1" fill="none" stroke="black" stroke-width="2"/%3E%3Cpath d="M9 4v16" fill="none" stroke="black" stroke-width="2"/%3E%3C/svg%3E') center / contain no-repeat;
    mask: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"%3E%3Crect x="3" y="4" width="18" height="16" rx="1" fill="none" stroke="black" stroke-width="2"/%3E%3Cpath d="M9 4v16" fill="none" stroke="black" stroke-width="2"/%3E%3C/svg%3E') center / contain no-repeat;
    pointer-events: none;
}
.bouzin-native-panel-toggle:focus-visible { outline: 2px solid #3858e9 !important; outline-offset: -2px; }
