.comm-member-broadcast-form {
	max-width: 640px;
	margin: 0 auto;
	padding: 20px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	background: #fff;
}

.comm-mb-title {
	margin-top: 0;
	font-size: 1.35rem;
	font-weight: 600;
}

.comm-mb-help {
	color: #666;
	font-size: 0.9em;
}

.comm-mb-field {
	margin-bottom: 16px;
}

.comm-mb-field label {
	display: block;
	font-weight: 600;
	margin-bottom: 4px;
}

.comm-mb-field input[type="text"],
.comm-mb-field input[type="email"] {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.comm-mb-list-choices {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.comm-mb-list-choice {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-weight: normal;
}

.comm-mb-toolbar {
	display: flex;
	gap: 4px;
	margin-bottom: 6px;
}

.comm-mb-toolbar button {
	min-width: 34px;
	padding: 4px 8px;
	border: 1px solid #ccc;
	background: #f7f7f7;
	color: #263238;
	border-radius: 4px;
	cursor: pointer;
}

.comm-mb-toolbar button:hover,
.comm-mb-toolbar button:focus {
	background: #e8eef2;
	color: #102a43;
}

.comm-mb-editor {
	min-height: 140px;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.comm-mb-btn {
	padding: 10px 18px;
	border: none;
	border-radius: 4px;
	background: var(--comm-color-primary, #2271b1);
	color: #fff;
	cursor: pointer;
}

.comm-mb-message {
	margin-top: 12px;
	padding: 10px 12px;
	border-radius: 4px;
}

.comm-mb-message-success {
	background: #e6f4ea;
	color: #1e7e34;
}

.comm-mb-message-error {
	background: #fdeaea;
	color: #b02a37;
}

/* Honeypot field: kept in the DOM but hidden off-screen so basic bots that
   fill visible/DOM-present fields still get caught. */
.comm-mb-hp-wrap {
	position: absolute;
	left: -9999px;
	top: -9999px;
	height: 0;
	width: 0;
	overflow: hidden;
}

.comm-mb-preview-modal {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
}

.comm-mb-preview-dialog {
	width: min(600px, calc(100vw - 32px));
	max-height: min(80vh, 760px);
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
	overflow: hidden;
}

.comm-mb-preview-header,
.comm-mb-preview-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 18px;
	border-bottom: 1px solid #dfe5e8;
}

.comm-mb-preview-header h3 {
	margin: 0;
	font-size: 1.1rem;
}

.comm-mb-preview-x {
	margin-left: auto;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #263238;
	font-size: 28px;
	line-height: 1;
}

.comm-mb-preview-body {
	flex: 1 1 auto;
	overflow: auto;
	padding: 24px;
}

.comm-mb-preview-actions {
	justify-content: flex-end;
	border-top: 1px solid #dfe5e8;
	border-bottom: 0;
}
