/* Dreamweave live chat: the emoji picker (v1.192).
 * One set of styles for both sides. Each side sets the four colours below:
 *   --dwe-bg, --dwe-line, --dwe-ink, --dwe-dim, --dwe-hover, --dwe-accent
 */
.dwe-pop {
	position: absolute; left: 0; right: 0; bottom: calc(100% + 8px); z-index: 20;
	display: flex; flex-direction: column; max-height: 320px; min-height: 0; box-sizing: border-box; overflow: hidden;
	border-radius: 16px; border: 1px solid var(--dwe-line, #d8d2c6);
	background: var(--dwe-bg, #fff); color: var(--dwe-ink, #11213f);
	box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .55);
	font-family: inherit;
	opacity: 0; transform: translateY(6px); transition: opacity .18s ease, transform .18s ease;
}
.dwe-pop.is-in { opacity: 1; transform: none; }

.dwe-top { flex: none; display: flex; align-items: center; gap: 6px; padding: 8px 8px 6px; border-bottom: 1px solid var(--dwe-line, #d8d2c6); }
.dwe-pop .dwe-q {
	flex: 1; min-width: 0; box-sizing: border-box; margin: 0; padding: 7px 10px; border-radius: 10px;
	border: 1px solid var(--dwe-line, #d8d2c6); background: var(--dwe-hover, rgba(0, 0, 0, .04));
	color: var(--dwe-ink, #11213f); font: 13px/1.3 inherit; box-shadow: none; height: auto; min-height: 0;
}
.dwe-pop .dwe-q:focus { outline: none; border-color: var(--dwe-accent, #b08a4e); box-shadow: 0 0 0 2px rgba(176, 138, 78, .25); }
.dwe-pop .dwe-q::-webkit-search-cancel-button { filter: grayscale(1); }
.dwe-x {
	flex: none; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 9px; cursor: pointer;
	background: none; color: var(--dwe-dim, #6b6a68); font-size: 21px; line-height: 1;
}
.dwe-x:hover { background: var(--dwe-hover, rgba(0, 0, 0, .06)); color: var(--dwe-ink, #11213f); }

.dwe-tabs { flex: none; display: flex; gap: 2px; padding: 6px 6px 4px; border-bottom: 1px solid var(--dwe-line, #d8d2c6); overflow-x: auto; scrollbar-width: none; }
.dwe-tabs::-webkit-scrollbar { display: none; }
.dwe-tabs[hidden] { display: none; }
.dwe-tab {
	flex: none; width: 34px; height: 30px; padding: 0; border: 0; border-radius: 9px; cursor: pointer;
	background: none; font-size: 17px; line-height: 1; filter: saturate(.85);
}
.dwe-tab:hover { background: var(--dwe-hover, rgba(0, 0, 0, .06)); }
.dwe-tab.is-on { background: var(--dwe-hover, rgba(0, 0, 0, .08)); box-shadow: inset 0 -2px 0 var(--dwe-accent, #b08a4e); filter: none; }

.dwe-grid { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 8px 10px; scrollbar-width: thin; }
.dwe-h {
	position: sticky; top: 0; margin: 0 0 4px; padding: 6px 2px 4px; background: var(--dwe-bg, #fff);
	font: 600 11px/1.3 inherit; letter-spacing: .05em; text-transform: uppercase; color: var(--dwe-dim, #6b6a68);
}
.dwe-h--none { position: static; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 12.5px; line-height: 1.5; padding: 10px 2px; }
.dwe-cells { display: grid; grid-template-columns: repeat(auto-fill, minmax(34px, 1fr)); gap: 2px; }
.dwe-e {
	width: 100%; aspect-ratio: 1; padding: 0; border: 0; border-radius: 9px; cursor: pointer;
	background: none; font-size: 21px; line-height: 1; display: grid; place-items: center;
	font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}
.dwe-e:hover { background: var(--dwe-hover, rgba(0, 0, 0, .08)); transform: scale(1.12); }
.dwe-e:focus-visible { outline: 2px solid var(--dwe-accent, #b08a4e); outline-offset: -2px; }

/* The button that opens it */
.dwe-btn {
	flex: none; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
	background: none; color: var(--dwe-dim, #6b6a68); display: grid; place-items: center;
}
.dwe-btn svg { width: 21px; height: 21px; }
.dwe-btn:hover { color: var(--dwe-accent, #b08a4e); background: var(--dwe-hover, rgba(0, 0, 0, .06)); }
.dwe-btn[aria-expanded="true"] { color: var(--dwe-accent, #b08a4e); background: var(--dwe-hover, rgba(0, 0, 0, .1)); }
.dwe-btn:focus-visible { outline: 2px solid var(--dwe-accent, #b08a4e); outline-offset: 2px; }

@media (max-width: 600px) { .dwe-pop { max-height: 44vh; } .dwe-e { font-size: 23px; } }
@media (prefers-reduced-motion: reduce) { .dwe-pop { transition: none; } .dwe-e:hover { transform: none; } }
