.note-inline-bubble .bubble-tooltip {
	display: none;
	position: absolute;
	left: 28px;
	top: 50%;
	transform: translateY(-50%);
	min-width: 220px;
	max-width: 340px;
	background: #fff;
	border-radius: 0;
	box-shadow: none;
	border: 1px solid #e0e0e0;
	padding: 6px 18px 6px 18px;
	font-size: 14px;
	text-align: right;
	direction: rtl;
	color: #222;
	white-space: normal;
	z-index: 100;
	font-family: 'Assistant', "Segoe UI", "Arial", sans-serif;
}

.note-inline-bubble .bubble-tooltip:before {
	display: none;
}

.bubble-tooltip-title {
	font-weight: bold;
	font-size: 15px;
	margin-bottom: 2px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 4px;
	color: #222;
	text-align: right;
	direction: rtl;
	width: 100%;
	font-family: 'Assistant', "Segoe UI", "Arial", sans-serif;
}

.bubble-tooltip-title .bubble-title-icon {
	font-size: 15px;
	margin-left: 4px;
}

.bubble-tooltip-text {
	font-size: 13px;
	color: #222;
	margin-bottom: 0;
	text-align: right;
	direction: rtl;
	font-family: 'Assistant', "Segoe UI", "Arial", sans-serif;
	width: 100%;
}

/* feedback notes Plugin Styles */
.note-bubbles-container {
	border: 1px solid #ddd;
	margin: 12px 0;
	padding: 8px 12px;
	background: #fafafa;
	border-radius: 6px;
}

.note-bubbles-header {
	font-weight: 600;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: .5px;
	margin-bottom: 6px;
	color: #555;
}

.note-scenario {
	margin-bottom: 10px;
}

.note-scenario-title {
	font-weight: 600;
	margin: 4px 0 6px;
	font-size: 13px;
	color: #333;
}

.note-bubble-list {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.note-bubble {
	border: 1px solid #ccc;
	background: #fff;
	border-radius: 8px;
	padding: 6px 10px;
	position: relative;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
}

.note-bubble .bubble-meta {
	font-size: 11px;
	font-weight: 600;
	color: #666;
	margin-bottom: 2px;
	display: flex;
	gap: 4px;
}

.note-bubble .bubble-name {
	color: #222;
}

.note-bubble .bubble-value {
	font-family: monospace;
	white-space: pre-wrap;
	word-break: break-word;
	font-size: 12px;
}

/* Type coloring */
.note-bubble.bubble-input {
	border-color: #1d6fdc;
}

.note-bubble.bubble-input .bubble-meta {
	color: #1d6fdc;
}

.note-bubble.bubble-output {
	border-color: #2f9e44;
}

.note-bubble.bubble-output .bubble-meta {
	color: #2f9e44;
}

.note-bubble.bubble-error {
	border-color: #c92a2a;
}

.note-bubble.bubble-error .bubble-meta {
	color: #c92a2a;
}

/* Collapsible scenarios (enhanced via JS) */
.note-scenario.collapsed .note-bubble-list {
	display: none;
}

.note-scenario-title {
	cursor: pointer;
}

/* (Removed chip panel styles; using only inline bubbles now) */

/* Inline right-corner bubbles on scenario lines */
.note-inline-bubble {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	padding: 0;
	font-size: 0;
	cursor: pointer;
	z-index: 20;
	line-height: 1;
	transition: box-shadow 0.2s, background 0.2s;
}

.note-inline-bubble .bubble-icon {
	display: inline-block;
	vertical-align: middle;
	width: 20px;
	height: 20px;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 0;
	position: relative;
	box-shadow: none;
	text-align: center;
	line-height: 20px;
	margin: 0;
	font-size: 14px;
	color: #222;
	padding: 0;
}

.note-inline-bubble .bubble-icon:after {
	content: "";
	position: absolute;
	left: 2px;
	bottom: -6px;
	transform: none;
	width: 0;
	height: 0;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 6px solid #fff;
	border-bottom: 0;
	z-index: 1;
}

.note-inline-bubble:hover .bubble-icon {
	background: #f5f5f5;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .22);
}

.note-inline-bubble.expanded .bubble-tooltip {
	display: block;
}