/* Panelra editor return — limited to the block editor's header. */
body.block-editor-page .pnlrdb-editor-return,
body.block-editor-page .pnlrdb-editor-native-return {
    position: relative !important;
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    box-sizing: border-box !important;
    min-height: 36px !important;
    margin: 0 8px 0 0 !important;
    padding: 0 11px !important;
    border: 1px solid #463b8c !important;
    border-radius: 9px !important;
    background: #20184d !important;
    box-shadow: 0 1px 3px rgba(19, 12, 46, .16) !important;
    color: #fff !important;
    font: 600 12px/1.2 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    letter-spacing: .005em !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    transition: background-color .15s ease, border-color .15s ease !important;
}
body.block-editor-page .pnlrdb-editor-return:hover,
body.block-editor-page .pnlrdb-editor-native-return:hover {
    background: #352672 !important;
    border-color: #7468d8 !important;
    color: #fff !important;
}
body.block-editor-page .pnlrdb-editor-return:focus-visible,
body.block-editor-page .pnlrdb-editor-native-return:focus-visible {
    outline: 3px solid #a99fff !important;
    outline-offset: 2px !important;
    color: #fff !important;
}
body.block-editor-page .pnlrdb-editor-return__symbol {
    display: inline-flex !important;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    color: #c2baff !important;
}
body.block-editor-page .pnlrdb-editor-return__symbol svg {
    width: 19px;
    height: 19px;
}
body.block-editor-page .pnlrdb-editor-return__label {
    display: inline-block;
    color: #fff !important;
}
/* Core Gutenberg exit buttons keep their native click and dirty-edit guards.
   Only their appearance is changed; the source element isn't replaced. */
body.block-editor-page .pnlrdb-editor-native-return {
    width: 38px !important;
    min-width: 38px !important;
    padding: 0 !important;
    margin-right: 8px !important;
}
body.block-editor-page .pnlrdb-editor-native-return > * {
    opacity: 0 !important;
}
body.block-editor-page .pnlrdb-editor-native-return::before {
    content: '';
    position: absolute;
    inset: 0;
    display: block;
    background: center / 19px 19px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c2baff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 4h8v13h-8M9 7h7v13H9M13 13H3m4-4-4 4 4 4'/%3E%3C/svg%3E");
    pointer-events: none;
}
/* Compact layout when editor toolbar actions take the available width. */
@media (max-width: 1200px) {
    body.block-editor-page .pnlrdb-editor-return {
        min-width: 38px !important;
        padding: 0 9px !important;
    }
    body.block-editor-page .pnlrdb-editor-return__label { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
    body.block-editor-page .pnlrdb-editor-return,
    body.block-editor-page .pnlrdb-editor-native-return { transition: none !important; }
}
