/* 1RR AI Interpretation Bar — brand colors navy #004274, red #F54343, blue #00aeff */

#rr-ai-bar {
	position: relative;
	z-index: 4;
	background: #fff;
	border-bottom: 1px solid #e4e7eb;
	padding: 10px 16px;
	font: 14px/1.4 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	color: #1a2433;
}

#rr-ai-bar.rr-aib-hidden { display: none; }

#rr-ai-bar .rr-aib-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

#rr-ai-bar .rr-aib-label {
	color: #6b7280;
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
}

#rr-ai-bar .rr-aib-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

#rr-ai-bar .rr-aib-chip {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: #e6f4fb;
	color: #004274;
	border: 1px solid #b5e0f2;
	border-radius: 14px;
	padding: 3px 4px 3px 10px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.2;
}

#rr-ai-bar .rr-aib-chip-x {
	border: 0;
	background: transparent;
	color: #004274;
	cursor: pointer;
	padding: 0 6px;
	font-size: 17px;
	line-height: 1;
	border-radius: 50%;
}
#rr-ai-bar .rr-aib-chip-x:hover { background: #b5e0f2; }

#rr-ai-bar .rr-aib-edit {
	display: flex;
	gap: 4px;
	margin-left: auto;
	min-width: 240px;
	flex: 1 1 240px;
	max-width: 420px;
}
#rr-ai-bar .rr-aib-edit input {
	flex: 1;
	border: 1px solid #d1d5db;
	border-radius: 18px;
	padding: 6px 12px;
	font: inherit;
	outline: none;
	background: #f7f9fb;
}
#rr-ai-bar .rr-aib-edit input:focus {
	border-color: #00aeff;
	background: #fff;
	box-shadow: 0 0 0 2px rgba(0, 174, 255, 0.15);
}
#rr-ai-bar .rr-aib-edit button {
	border: 0;
	background: #F54343;
	color: #fff;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	font-size: 14px;
	cursor: pointer;
	line-height: 1;
}
#rr-ai-bar .rr-aib-edit button:hover { background: #d93030; }

#rr-ai-bar .rr-aib-suggestions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	flex-basis: 100%;
	margin-top: 6px;
	padding: 8px 10px;
	background: #fff8e6;
	border: 1px solid #f6d976;
	border-radius: 8px;
}
#rr-ai-bar .rr-aib-sug-label {
	font-size: 13px;
	font-weight: 600;
	color: #7a5a00;
	margin-right: 4px;
}
#rr-ai-bar .rr-aib-sug-chip {
	background: #fff;
	border: 1px solid #e0c869;
	color: #5a3f00;
	border-radius: 12px;
	padding: 4px 10px;
	font: inherit;
	font-size: 12.5px;
	cursor: pointer;
	line-height: 1.2;
}
#rr-ai-bar .rr-aib-sug-chip:hover {
	background: #ffe599;
	border-color: #c9a634;
}

#rr-ai-bar .rr-aib-warn {
	flex-basis: 100%;
	color: #92400e;
	background: #fef3c7;
	border-radius: 6px;
	padding: 6px 10px;
	font-size: 12.5px;
	margin-top: 2px;
}
#rr-ai-bar .rr-aib-warn > div + div { margin-top: 2px; }

@media (max-width: 720px) {
	#rr-ai-bar .rr-aib-edit { margin-left: 0; max-width: 100%; }
	#rr-ai-bar .rr-aib-label { width: 100%; }
}
