/* Search options: one full-width clickable title per row, including legacy cards. */
[data-jawla-chat] .jawla-chat__card > div { min-width: 0; overflow-wrap: anywhere; }
[data-jawla-chat] .jawla-chat__cards { grid-template-columns: minmax(0, 1fr); gap: 6px; }
[data-jawla-chat] .jawla-chat__card { display: block; min-width: 0; }
[data-jawla-chat] .jawla-chat__card img,
[data-jawla-chat] .jawla-chat__card small,
[data-jawla-chat] .jawla-chat__card p { display: none; }
[data-jawla-chat] .jawla-chat__card > div { padding: 9px 11px; }
[data-jawla-chat] .jawla-chat__card:focus-visible { outline: 2px solid var(--jc-green); outline-offset: 2px; }
@media (max-width: 700px) {
	[data-jawla-chat].jawla-chat {
		right: calc(max(12px, env(safe-area-inset-right)) + var(--jwl-chat-right, 0px));
		bottom: calc(max(10px, env(safe-area-inset-bottom)) + var(--jwl-chat-bottom, 0px));
	}
	[data-jawla-chat] .jawla-chat__panel:not([hidden]) {
		display: flex;
		flex-direction: column;
		right: 0;
		bottom: 62px;
		width: min(334px, calc(100vw - 32px), calc(var(--jwl-chat-width, 100vw) - 32px));
		height: min(414px, calc(100vh - 92px));
		height: min(414px, calc(100dvh - 92px), max(0px, calc(var(--jwl-chat-height, 100dvh) - 92px)));
		overflow: hidden;
	}
	[data-jawla-chat] .jawla-chat__panel header { flex: 0 0 auto; min-height: 56px; gap: 8px; padding: 7px 10px; }
	[data-jawla-chat] .jawla-chat__avatar { width: 34px; height: 34px; border-radius: 10px; }
	[data-jawla-chat] .jawla-chat__identity { min-width: 0; }
	[data-jawla-chat] .jawla-chat__identity strong { font-size: 15px; }
	[data-jawla-chat] .jawla-chat__close { flex: 0 0 34px; width: 34px; height: 34px; }
	[data-jawla-chat] .jawla-chat__messages { flex: 1 1 auto; height: auto; min-height: 0; padding: 10px; overscroll-behavior: contain; }
	[data-jawla-chat] .jawla-chat__form { flex: 0 0 auto; padding: 7px 9px 5px; }
	[data-jawla-chat] .jawla-chat__form textarea { min-width: 0; font-size: 16px; }
	[data-jawla-chat] .jawla-chat__form button { flex: 0 0 44px; }
	[data-jawla-chat] .jawla-chat__privacy { flex: 0 0 auto; padding-bottom: 5px; }
}
