.cdca-app {
	max-width: 880px;
	margin: 0 auto;
	font-size: 16px;
	line-height: 1.5;
	overflow-wrap: break-word;
	min-width: 0;
}

.cdca-app * {
	box-sizing: border-box;
	overflow-wrap: break-word;
	min-width: 0;
}

.cdca-app a {
	overflow-wrap: anywhere;
	word-break: break-word;
}

.cdca-app pre,
.cdca-app code {
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}

.cdca-disclaimer {
	background: #fff7e6;
	border: 1px solid #e6b800;
	border-left: 6px solid #e6b800;
	padding: 12px 16px;
	border-radius: 4px;
	margin-bottom: 20px;
	font-size: 0.92em;
}

.cdca-alert {
	padding: 12px 16px;
	border-radius: 4px;
	margin-bottom: 16px;
}

.cdca-alert--error {
	background: #fdecea;
	border: 1px solid #d93025;
	color: #611a15;
}

.cdca-alert--warning {
	background: #fff4e5;
	border: 1px solid #b25000;
	color: #5c2c00;
}

.cdca-alert--neuraxial {
	background: #fdecea;
	border: 2px solid #d93025;
	color: #611a15;
	font-weight: 600;
}

.cdca-section {
	border: 1px solid #d9d9d9;
	border-radius: 6px;
	padding: 16px;
	margin-bottom: 16px;
	background: #fafafa;
}

.cdca-section h3 {
	margin-top: 0;
	margin-bottom: 12px;
	font-size: 1.05em;
}

.cdca-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 10px;
}

.cdca-field {
	flex: 1 1 200px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.cdca-field label {
	font-size: 0.85em;
	font-weight: 600;
	color: #333;
}

.cdca-field select,
.cdca-field input {
	padding: 8px;
	border: 1px solid #b3b3b3;
	border-radius: 4px;
	font-size: 1em;
}

.cdca-actions {
	display: flex;
	gap: 10px;
	margin-top: 12px;
	flex-wrap: wrap;
}

.cdca-btn {
	padding: 10px 18px;
	border-radius: 4px;
	border: 1px solid #0b6e4f;
	background: #0b6e4f;
	color: #fff;
	cursor: pointer;
	font-size: 0.95em;
}

.cdca-btn:hover {
	background: #095c42;
}

.cdca-btn--secondary {
	background: #fff;
	color: #0b6e4f;
}

.cdca-btn--secondary:hover {
	background: #f0faf6;
}

.cdca-results {
	border: 1px solid #0b6e4f;
	border-radius: 6px;
	padding: 16px;
	background: #f0faf6;
}

.cdca-results h3 {
	margin-top: 0;
}

.cdca-result-value {
	font-size: 1.6em;
	font-weight: 700;
	color: #0b6e4f;
}

.cdca-badge {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 12px;
	font-size: 0.75em;
	font-weight: 600;
	margin-left: 8px;
	vertical-align: middle;
}

.cdca-badge--fda_label,
.cdca-badge--cdc_factor {
	background: #d6f5e3;
	color: #0b6e4f;
}

.cdca-badge--published_ratio {
	background: #fff2cc;
	color: #7a5c00;
}

.cdca-badge--no_data {
	background: #f0f0f0;
	color: #555;
}

.cdca-source {
	font-size: 0.82em;
	color: #555;
	margin-top: 6px;
}

.cdca-hidden {
	display: none !important;
}
