/* Document spacing belongs to siblings, not to individual block types. */
.nb-shell .nb-editor .bn-block-content:has(> :is(.nb-exercise,.nb-image-block)){padding:0;margin-block:0;display:block}
.nb-shell .nb-editor .bn-editor>.bn-block-group>.bn-block-outer{margin-block:0}
.nb-shell .nb-editor .bn-editor>.bn-block-group>.bn-block-outer+.bn-block-outer{margin-block-start:var(--space-4,16px)}
.nb-shell .nb-editor .bn-editor>.bn-block-group>.bn-block-outer>.bn-block>.bn-block-content,
.nb-shell .nb-editor .bn-editor>.bn-block-group>.bn-block-outer>.bn-block>.bn-toggle-frame>.bn-toggle-slot>.bn-block-content{margin-block:0;padding-block:0}
