/*
 * Side-sheet dialogs (NgbModal opened with modalDialogClass: 'side-sheet-dialog').
 *
 * The sheet itself is a position:fixed panel at the right edge. Bootstrap's
 * default modal slides its .modal-dialog down with a CSS transform; while a
 * transform is active, position:fixed children are placed relative to that
 * box instead of the viewport, so the panel first showed up mid-screen (a
 * "ghost") and then jumped to the edge. Here the dialog box is neutralised:
 * no transform, no size, no white card - only the panel is drawn.
 */
.side-sheet-window .modal-dialog.side-sheet-dialog,
.modal.fade .modal-dialog.side-sheet-dialog,
.modal.show .modal-dialog.side-sheet-dialog {
	transform: none !important;
	transition: none !important;
	max-width: none;
	margin: 0;
	pointer-events: none;
}

.side-sheet-dialog .modal-content {
	background: transparent;
	border: 0;
	box-shadow: none;
	pointer-events: none;
}

/* The panel itself stays interactive. */
.side-sheet-dialog .modal-content > * {
	pointer-events: auto;
}
