/* ═══ گپستان — Chat UI Demo (isolated, matches plugin dark theme) ═══ */

.gp-chat-showcase {
	position: relative;
	z-index: 1;
	max-width: 1180px;
	margin: 0 auto;
	padding: 2rem 1.25rem 4rem;
}

.gp-chat-showcase .section-head {
	margin-bottom: 1.75rem;
}

/* Stacked blocks — no tabs */
.gp-chat-stack {
	display: flex;
	flex-direction: column;
	gap: 4rem;
}

.gp-chat-block {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	scroll-margin-top: 5rem;
}

.gp-chat-block-head {
	display: flex;
	gap: 1.25rem;
	align-items: flex-start;
	padding: 1.25rem 1.5rem;
	border-radius: 16px;
	background: var(--bg-card, rgba(255,255,255,.03));
	border: 1px solid var(--glass-border, rgba(255,255,255,.08));
}

.gp-chat-block-num {
	font-size: 2.5rem;
	font-weight: 900;
	line-height: 1;
	background: linear-gradient(180deg, rgba(16,185,129,.35), transparent);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	flex-shrink: 0;
	min-width: 2.5rem;
}

.gp-chat-block-head h3 {
	margin: 0 0 0.5rem;
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--text, #e8edf2);
}

.gp-chat-block-head p {
	margin: 0 0 0.75rem;
	font-size: 0.92rem;
	line-height: 1.75;
	color: var(--muted, #8b9bab);
	max-width: 720px;
}

.gp-chat-block-tags {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.gp-chat-block-tags li {
	font-size: 0.75rem;
	font-weight: 600;
	padding: 5px 12px;
	border-radius: 999px;
	background: rgba(13, 148, 136, 0.1);
	border: 1px solid rgba(13, 148, 136, 0.22);
	color: #0f766e;
}

.gp-chat-block-tags code {
	font-size: 0.7rem;
	background: transparent;
	padding: 0;
	color: inherit;
}

.gp-chat-block-highlight {
	animation: gpBlockHighlight 1.2s ease;
}

@keyframes gpBlockHighlight {
	0%, 100% { box-shadow: none; }
	15%, 45% { box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.45); border-radius: 16px; }
}

.gp-chat-tabs {
	display: none;
}

.gp-chat-panels { width: 100%; }

.gp-chat-panel {
	display: block;
}

.gp-chat-panel.is-active { display: block; }

@keyframes gpChatIn {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

.browser-wrap-chat {
	max-width: 100%;
}

.browser-wrap-chat .gcd-float {
	width: min(400px, 100%);
	max-width: 100%;
}

.browser-wrap-chat .browser-glow {
	background: linear-gradient(135deg, rgba(16, 185, 129, 0.35), transparent 45%, rgba(99, 102, 241, 0.15));
}

.panel-demo-dark {
	background: #0e1621;
	min-height: 680px;
	border-radius: 0 0 18px 18px;
	overflow: hidden;
}

.panel-demo-float {
	min-height: 720px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	padding: 2rem 1.5rem 2.5rem;
	background:
		radial-gradient(ellipse 75% 55% at 50% 100%, rgba(16, 185, 129, 0.12), transparent),
		linear-gradient(180deg, #0a1018 0%, #0e1621 100%);
}

/* ── Design tokens (plugin dark) ── */
.gcd-root {
	--gcd-primary: #10b981;
	--gcd-primary-dark: #059669;
	--gcd-primary-light: #1a3d34;
	--gcd-bg: #0e1621;
	--gcd-surface: #17212b;
	--gcd-border: #2b3949;
	--gcd-text: #e8edf2;
	--gcd-muted: #8b9bab;
	--gcd-input: #121d29;
	--gcd-bubble-other: #1e293b;
	--gcd-bubble-mine: #164e4a;
	--gcd-sidebar-w: 280px;
	--gcd-files-w: 260px;
	font-family: var(--font);
	color: var(--gcd-text);
	font-size: 14px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

/* ── Full page app ── */
.gcd-app {
	height: 680px;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--gcd-bg);
}

.gcd-layout {
	display: grid;
	grid-template-columns: var(--gcd-sidebar-w) minmax(0, 1fr) var(--gcd-files-w);
	height: 100%;
	min-height: 0;
}

/* Sidebar */
.gcd-sidebar {
	background: var(--gcd-surface);
	border-left: 1px solid var(--gcd-border);
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.gcd-sidebar-head {
	padding: 12px 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	border-bottom: 1px solid var(--gcd-border);
}

.gcd-sidebar-head h2 {
	margin: 0;
	font-size: 0.92rem;
	font-weight: 600;
}

.gcd-icon-row {
	display: flex;
	gap: 4px;
}

.gcd-icon-btn {
	width: 34px;
	height: 34px;
	border: none;
	background: transparent;
	border-radius: 50%;
	color: var(--gcd-muted);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: default;
	flex-shrink: 0;
}

.gcd-icon-btn svg { width: 18px; height: 18px; }

.gcd-search {
	padding: 8px 12px;
}

.gcd-search input {
	width: 100%;
	padding: 8px 12px 8px 34px;
	border: none;
	border-radius: 10px;
	background: var(--gcd-input);
	color: var(--gcd-text);
	font-family: inherit;
	font-size: 0.84rem;
	outline: none;
	box-sizing: border-box;
}

.gcd-search-wrap {
	position: relative;
}

.gcd-search-wrap svg {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--gcd-muted);
	width: 16px;
	height: 16px;
	pointer-events: none;
}

.gcd-rooms {
	flex: 1;
	overflow: hidden;
	padding: 6px 8px 10px;
}

.gcd-room {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 10px;
	border-radius: 10px;
	margin-bottom: 2px;
	cursor: default;
}

.gcd-room:hover { background: #1c2733; }

.gcd-room.is-active {
	background: color-mix(in srgb, var(--gcd-primary) 24%, #17212b);
	border-right: 3px solid var(--gcd-primary);
}

.gcd-room-av {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: linear-gradient(135deg, #334155, #475569);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.78rem;
	font-weight: 700;
	color: #94a3b8;
	flex-shrink: 0;
}

.gcd-room-av img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
}

.gcd-room-meta { flex: 1; min-width: 0; }

.gcd-room-top {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 6px;
}

.gcd-room-top strong {
	font-size: 0.875rem;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.gcd-room-top time {
	font-size: 0.7rem;
	color: var(--gcd-muted);
	flex-shrink: 0;
}

.gcd-room-preview {
	font-size: 0.78rem;
	color: var(--gcd-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-top: 2px;
}

.gcd-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 999px;
	font-size: 0.68rem;
	font-weight: 700;
	background: var(--gcd-primary-light);
	color: var(--gcd-primary);
}

.gcd-room-end {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
}

/* Main */
.gcd-main {
	display: flex;
	flex-direction: column;
	min-width: 0;
	flex: 1;
	min-height: 0;
	background: var(--gcd-surface);
	overflow: hidden;
}

.gcd-head {
	padding: 10px 14px;
	border-bottom: 1px solid var(--gcd-border);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	min-height: 48px;
	background: var(--gcd-surface);
}

.gcd-head-start,
.gcd-head-end {
	display: flex;
	align-items: center;
	gap: 8px;
}

.gcd-head-start { flex: 1; min-width: 0; }

.gcd-title {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.gcd-title h3 {
	margin: 0;
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.35;
}

.gcd-status {
	font-size: 0.72rem;
	color: var(--gcd-muted);
}

.gcd-status.online { color: #22c55e; }

.gcd-date-sep {
	align-self: center;
	font-size: 0.68rem;
	color: var(--gcd-muted);
	background: rgba(255,255,255,.04);
	padding: 4px 12px;
	border-radius: 999px;
	margin: 8px 0 4px;
}

.gcd-avatar.av-gradient-1,
.gcd-room-av.av-gradient-1 { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.gcd-avatar.av-gradient-2,
.gcd-room-av.av-gradient-2 { background: linear-gradient(135deg, #ec4899, #f43f5e); }
.gcd-avatar.av-gradient-3,
.gcd-room-av.av-gradient-3 { background: linear-gradient(135deg, #f59e0b, #eab308); }
.gcd-avatar.av-gradient-4,
.gcd-room-av.av-gradient-4 { background: linear-gradient(135deg, #14b8a6, #10b981); }

.gcd-tabs {
	display: flex;
	gap: 2px;
}

.gcd-tab {
	padding: 6px 10px;
	border: none;
	background: transparent;
	font-family: inherit;
	font-size: 0.78rem;
	color: var(--gcd-muted);
	cursor: default;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
}

.gcd-tab.is-active {
	color: var(--gcd-primary);
	border-bottom-color: var(--gcd-primary);
	font-weight: 600;
}

.gcd-messages {
	flex: 1;
	overflow-y: auto;
	overflow-x: hidden;
	padding: 12px 14px;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 8px;
	background: var(--gcd-bg);
	min-height: 0;
	width: 100%;
	direction: rtl;
}

.gcd-messages,
.gcd-msg {
	direction: rtl;
}

.gcd-msg {
	display: grid;
	align-items: end;
	gap: 8px;
	width: 100%;
	min-width: 0;
	flex-shrink: 0;
	direction: ltr;
}

.gcd-stack,
.gcd-bubble {
	direction: rtl;
}

.gcd-msg.is-mine {
	grid-template-columns: 1fr;
}

.gcd-msg.is-mine .gcd-stack {
	grid-column: 1;
	justify-self: end;
	margin: 0;
	width: max-content;
	max-width: min(78%, 360px);
}

.gcd-msg:not(.is-mine) {
	display: flex;
	flex-direction: row-reverse;
	justify-content: flex-start;
	align-items: flex-end;
	gap: 6px;
}

.gcd-msg:not(.is-mine) .gcd-avatar {
	flex-shrink: 0;
}

.gcd-msg:not(.is-mine) .gcd-stack {
	flex: 0 1 auto;
	margin: 0;
	width: max-content;
	max-width: min(78%, 360px);
}

.gcd-avatar {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--gcd-primary-light);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.65rem;
	font-weight: 600;
	color: var(--gcd-primary);
	flex-shrink: 0;
	overflow: hidden;
}

.gcd-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gcd-msg.is-mine .gcd-avatar { display: none; }

.gcd-stack {
	display: flex;
	flex-direction: column;
	width: fit-content;
	max-width: min(78%, 360px);
	min-width: 0;
}

.gcd-bubble {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 4px;
	padding: 8px 12px;
	border-radius: 14px;
	font-size: 0.875rem;
	line-height: 1.55;
	word-break: break-word;
	overflow-wrap: anywhere;
}

.gcd-msg:not(.is-mine) .gcd-bubble {
	background: var(--gcd-bubble-other);
	border-bottom-right-radius: 4px;
}

.gcd-msg.is-mine .gcd-bubble {
	background: var(--gcd-bubble-mine);
	border-bottom-left-radius: 4px;
	color: #f0f6fc;
}

.gcd-bubble-head {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 2px;
	font-size: 0.68rem;
}

.gcd-bubble-head .gcd-role {
	margin-right: 0;
}

.gcd-bubble-head strong {
	color: var(--gcd-primary);
	font-weight: 600;
}

.gcd-bubble-head time,
.gcd-bubble-foot {
	color: var(--gcd-muted);
	font-size: 0.62rem;
	opacity: 0.85;
}

.gcd-bubble-foot {
	display: block;
	margin-top: 3px;
	text-align: left;
}

.gcd-msg.is-mine .gcd-bubble-foot {
	align-self: flex-start;
	opacity: 0.85;
}

/* Composer */
.gcd-composer {
	padding: 8px 12px;
	border-top: 1px solid var(--gcd-border);
	background: var(--gcd-surface);
	flex-shrink: 0;
}

.gcd-composer-row {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
}

.gcd-tools {
	display: flex;
	gap: 2px;
	flex-shrink: 0;
}

.gcd-input-wrap { flex: 1; min-width: 0; }

.gcd-input-wrap textarea {
	width: 100%;
	min-height: 40px;
	max-height: 80px;
	padding: 9px 14px;
	border: none;
	border-radius: 20px;
	background: var(--gcd-input);
	color: var(--gcd-text);
	font-family: inherit;
	font-size: 0.875rem;
	resize: none;
	outline: none;
	box-sizing: border-box;
	display: block;
}

.gcd-send {
	width: 40px;
	height: 40px;
	border: none;
	border-radius: 50%;
	background: var(--gcd-primary);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	cursor: default;
}

.gcd-send svg { width: 20px; height: 20px; }

/* Files panel */
.gcd-files {
	background: var(--gcd-surface);
	border-right: 1px solid var(--gcd-border);
	padding: 16px;
	overflow-y: auto;
}

.gcd-files h4 {
	margin: 0 0 14px;
	font-size: 0.95rem;
	font-weight: 600;
}

.gcd-cover {
	height: 96px;
	border-radius: 10px;
	background: var(--gcd-primary-light);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.75rem;
	margin-bottom: 12px;
}

.gcd-files-info h5 {
	margin: 0 0 4px;
	font-size: 0.95rem;
}

.gcd-files-info p {
	margin: 0 0 14px;
	font-size: 0.8rem;
	color: var(--gcd-muted);
}

.gcd-stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-bottom: 16px;
}

.gcd-stat {
	background: var(--gcd-bg);
	border-radius: 10px;
	padding: 10px;
	text-align: center;
}

.gcd-stat strong {
	display: block;
	font-size: 1.1rem;
	color: var(--gcd-primary-dark);
}

.gcd-stat span {
	font-size: 0.7rem;
	color: var(--gcd-muted);
}

.gcd-cats { list-style: none; margin: 0; padding: 0; }

.gcd-cats li {
	display: flex;
	justify-content: space-between;
	padding: 10px 0;
	border-bottom: 1px solid var(--gcd-border);
	font-size: 0.82rem;
}

.gcd-cats li span:last-child {
	color: var(--gcd-muted);
	font-size: 0.75rem;
}

.gcd-secure {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 12px;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 0.72rem;
	color: var(--gcd-muted);
	background: color-mix(in srgb, var(--gcd-primary) 10%, var(--gcd-surface));
	border: 1px solid color-mix(in srgb, var(--gcd-primary) 22%, transparent);
}

/* ── Float widget ── */
.gcd-float {
	width: min(400px, 100%);
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid var(--gcd-border);
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
	display: flex;
	flex-direction: column;
	height: 620px;
	background: var(--gcd-surface);
}

.gcd-float-top {
	padding: 12px 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	border-bottom: 1px solid var(--gcd-border);
	background: var(--gcd-surface);
	flex-shrink: 0;
}

.gcd-float-top > div {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.gcd-float-top strong {
	display: block;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.35;
}

.gcd-float-top span {
	display: block;
	font-size: 0.72rem;
	color: var(--gcd-muted);
	line-height: 1.4;
}

.gcd-float-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-height: 0;
	overflow: hidden;
}

.gcd-float-btn-wrap {
	margin-top: 1.25rem;
	display: flex;
	justify-content: center;
	flex-shrink: 0;
}

/* Mini widget inside phone mockups */
.gcd-float-mini {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-height: 0;
	overflow: hidden;
	background: var(--gcd-surface);
	border-radius: 14px;
	border: 1px solid var(--gcd-border);
}

.gcd-launcher {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--gcd-primary);
	color: #fff;
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
}

.gcd-launcher svg { width: 26px; height: 26px; }

/* Gate / private */
.gcd-gate-wrap {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
	background:
		radial-gradient(ellipse 80% 60% at 50% 0%, rgba(16, 185, 129, 0.1), transparent 60%),
		var(--gcd-bg);
	min-height: 0;
}

.gcd-gate {
	width: min(380px, 100%);
	background: var(--gcd-surface);
	border: 1px solid var(--gcd-border);
	border-radius: 16px;
	padding: 28px 24px;
	text-align: center;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.gcd-gate-icon {
	width: 56px;
	height: 56px;
	margin: 0 auto 12px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--gcd-primary) 18%, var(--gcd-surface));
	color: var(--gcd-primary);
	display: flex;
	align-items: center;
	justify-content: center;
}

.gcd-gate-badge {
	display: inline-block;
	font-size: 0.68rem;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--gcd-primary) 15%, transparent);
	color: var(--gcd-primary);
	margin-bottom: 12px;
}

.gcd-gate h3 {
	margin: 0 0 8px;
	font-size: 1.1rem;
}

.gcd-gate p {
	margin: 0 0 20px;
	font-size: 0.85rem;
	color: var(--gcd-muted);
}

.gcd-field {
	display: flex;
	align-items: stretch;
	gap: 0;
	background: var(--gcd-input);
	border: 1px solid var(--gcd-border);
	border-radius: 12px;
	margin-bottom: 10px;
	overflow: hidden;
	text-align: right;
}

.gcd-field-ico {
	width: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--gcd-muted);
	flex-shrink: 0;
	border-left: 1px solid var(--gcd-border);
}

.gcd-field-body {
	flex: 1;
	padding: 10px 12px;
}

.gcd-field-body label {
	display: block;
	font-size: 0.68rem;
	color: var(--gcd-muted);
	margin-bottom: 2px;
}

.gcd-field-body input {
	width: 100%;
	border: none;
	background: transparent;
	color: var(--gcd-text);
	font-family: inherit;
	font-size: 0.875rem;
	outline: none;
}

.gcd-gate-submit {
	width: 100%;
	margin-top: 8px;
	padding: 12px 16px;
	border: none;
	border-radius: 12px;
	background: var(--gcd-primary);
	color: #fff;
	font-family: inherit;
	font-size: 0.9rem;
	font-weight: 600;
	cursor: default;
}

/* Modal overlay on private tab */
.gcd-has-modal { position: relative; }

.gcd-modal-bg {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	z-index: 5;
	border-radius: 0 0 18px 18px;
}

.gcd-modal {
	background: var(--gcd-surface);
	border: 1px solid var(--gcd-border);
	border-radius: 14px;
	padding: 24px;
	width: min(400px, 100%);
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.gcd-modal h3 {
	margin: 0 0 16px;
	font-size: 1rem;
}

.gcd-modal label {
	display: block;
	font-size: 0.78rem;
	color: var(--gcd-muted);
	margin-bottom: 4px;
}

.gcd-modal input[type="text"] {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid var(--gcd-border);
	border-radius: 10px;
	background: var(--gcd-input);
	color: var(--gcd-text);
	font-family: inherit;
	font-size: 0.875rem;
	margin-bottom: 12px;
	box-sizing: border-box;
}

.gcd-switch-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 12px 0 16px;
	font-size: 0.85rem;
}

.gcd-switch {
	width: 42px;
	height: 24px;
	border-radius: 999px;
	background: var(--gcd-primary);
	position: relative;
	flex-shrink: 0;
}

.gcd-switch::after {
	content: '';
	position: absolute;
	top: 3px;
	right: 3px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
}

.gcd-modal-actions {
	display: flex;
	gap: 8px;
	justify-content: flex-end;
}

.gcd-btn {
	padding: 8px 18px;
	border-radius: 10px;
	border: none;
	font-family: inherit;
	font-size: 0.875rem;
	font-weight: 500;
	cursor: default;
}

.gcd-btn-ghost {
	background: var(--gcd-bg);
	color: var(--gcd-text);
}

.gcd-btn-primary {
	background: var(--gcd-primary);
	color: #fff;
}

/* ── Feature row demos (compact browser previews) ── */
.device-wrap-feature {
	width: 100%;
	align-self: stretch;
}

.browser-wrap-feature {
	width: 100%;
}

.browser-wrap-feature .panel-demo-dark {
	min-height: auto;
}

.panel-demo-support-compact {
	min-height: 480px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 1.25rem 1rem;
	position: relative;
	background:
		radial-gradient(ellipse 70% 50% at 50% 100%, rgba(16, 185, 129, 0.14), transparent),
		linear-gradient(180deg, #0a1018 0%, #0e1621 100%);
}

.gcd-float-feature {
	width: 100%;
	max-width: 360px;
	height: 400px;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid var(--gcd-border);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.gcd-sync-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin-top: 1rem;
}

.gcd-sync-pill {
	font-size: 0.68rem;
	padding: 5px 12px;
	border-radius: 999px;
	background: rgba(16, 185, 129, 0.12);
	border: 1px solid rgba(16, 185, 129, 0.28);
	color: #6ee7b7;
}

.gcd-reply-quote {
	font-size: 0.72rem;
	color: var(--gcd-muted);
	border-right: 3px solid var(--gcd-primary);
	padding: 4px 8px 4px 0;
	margin-bottom: 6px;
	opacity: 0.9;
}

.gcd-reactions {
	margin-top: 6px;
	font-size: 0.85rem;
	letter-spacing: 2px;
}

.gcd-typing {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.72rem;
	color: var(--gcd-muted);
	padding: 4px 0;
}

.gcd-typing-dots {
	display: inline-flex;
	gap: 3px;
}

.gcd-typing-dots i {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--gcd-primary);
	animation: gcdTyping 1.2s infinite ease-in-out;
}

.gcd-typing-dots i:nth-child(2) { animation-delay: 0.15s; }
.gcd-typing-dots i:nth-child(3) { animation-delay: 0.3s; }

@keyframes gcdTyping {
	0%, 80%, 100% { opacity: 0.3; transform: scale(0.85); }
	40% { opacity: 1; transform: scale(1); }
}

/* Rooms feature demo */
.gcd-rooms-feature {
	min-height: 520px;
	position: relative;
}

.gcd-rooms-feature .gcd-app {
	height: 500px;
}

.gcd-rooms-feature .gcd-modal-bg {
	border-radius: 0 0 18px 18px;
}

.gcd-rooms-feature .gcd-app {
	opacity: 0.55;
	filter: blur(0.5px);
}

.gcd-modal-visible .gcd-modal {
	animation: gcdModalPop 0.4s ease;
}

@keyframes gcdModalPop {
	from { opacity: 0; transform: scale(0.94) translateY(8px); }
	to { opacity: 1; transform: scale(1) translateY(0); }
}

.gcd-role {
	font-size: 0.62rem;
	font-weight: 600;
	padding: 1px 6px;
	border-radius: 4px;
	margin-right: 6px;
	vertical-align: middle;
}

.gcd-role.owner {
	background: rgba(245, 158, 11, 0.2);
	color: #fbbf24;
}

.gcd-role.mod {
	background: rgba(99, 102, 241, 0.2);
	color: #a5b4fc;
}

.gcd-lock-tag {
	font-size: 0.62rem;
	padding: 1px 6px;
	border-radius: 4px;
	background: rgba(239, 68, 68, 0.15);
	color: #fca5a5;
}

.gcd-room-locked .gcd-room-av {
	background: rgba(239, 68, 68, 0.12);
}

.gcd-file-list {
	list-style: none;
	margin: 0 0 12px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.gcd-file-list li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.72rem;
	color: var(--gcd-text);
	padding: 6px 8px;
	background: rgba(255, 255, 255, 0.03);
	border-radius: 8px;
}

.gcd-file-list li small {
	margin-right: auto;
	color: var(--gcd-muted);
	font-size: 0.65rem;
}

.gcd-btn-create-room {
	background: var(--gcd-primary-light) !important;
	color: var(--gcd-primary) !important;
	font-size: 1.1rem;
	font-weight: 700;
}

.gcd-switch:not(.on) {
	background: var(--gcd-border);
}

.gcd-switch:not(.on)::after {
	right: auto;
	left: 3px;
}

.gp-chat-caption {
	text-align: center;
	font-size: 0.78rem;
	color: var(--muted);
	margin-top: 0.85rem;
}

@media (max-width: 960px) {
	.gp-chat-block-head {
		flex-direction: column;
		gap: 0.75rem;
		padding: 1rem 1.1rem;
	}

	.gp-chat-block-num {
		font-size: 1.75rem;
		min-width: auto;
	}

	.gp-chat-block-head h3 {
		font-size: 1.15rem;
	}

	.gp-chat-block-head p {
		font-size: 0.85rem;
	}

	.gp-chat-block-tags {
		flex-wrap: wrap;
	}

	.gp-chat-stack { gap: 2.5rem; }

	.gcd-layout {
		grid-template-columns: 220px minmax(0, 1fr);
	}

	.gcd-files { display: none; }

	.gcd-app { height: 560px; }
	.panel-demo-dark { min-height: 560px; }

	.gp-inbox-mock-layout {
		grid-template-columns: 1fr;
	}

	.gp-sidebar-mock { display: none; }
}

@media (max-width: 640px) {
	.gp-chat-showcase {
		padding: 1.5rem 1rem 2.5rem;
	}

	.gp-chat-block-head {
		padding: 0.85rem 0.95rem;
		border-radius: 12px;
	}

	.gp-chat-block-head h3 {
		font-size: 1.05rem;
	}

	.gcd-layout { grid-template-columns: 1fr; }
	.gcd-sidebar { display: none; }
	.gcd-app { height: 480px; min-height: 0; }
	.panel-demo-dark { min-height: 480px; }
	.panel-demo-float { min-height: auto; padding: 0.75rem; }
	.gcd-float { height: min(520px, calc(100dvh - 120px)); max-width: 100%; width: 100%; }

	.panel-demo-float {
		padding: 0.75rem;
		align-items: stretch;
	}

	.gcd-float-top > div {
		max-width: calc(100% - 40px);
	}

	.gcd-messages {
		padding: 10px;
		gap: 10px;
	}

	.gcd-stack {
		max-width: min(88%, 320px);
	}

	.gp-transfer-mock-float {
		padding: 10px;
	}

	.gp-transfer-mock-panel {
		max-width: 100%;
		width: 100%;
	}
}

/* ═══ Enterprise showcase mocks ═══ */
.gp-enterprise-showcase {
	position: relative;
	z-index: 1;
	max-width: 1180px;
	margin: 0 auto;
	padding: 2rem 1.25rem 3rem;
}

.gp-block-link { margin: 0.5rem 0 0; }
.gp-block-link .btn-sm { font-size: 0.78rem; padding: 8px 14px; }

.gp-enterprise-inbox-mock { padding: 0 !important; overflow: hidden; }
.gp-inbox-mock-layout {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	min-height: 340px;
	position: relative;
}

.gp-sidebar-mock { border-left: 1px solid var(--gp-border, #e2e8f0); }
.gp-inbox-filter-mock--bar { margin: 0; padding: 8px 10px; border-top: 0; border-bottom: 1px solid var(--gp-border); }

.gp-dept-tag {
	display: inline-block;
	font-size: 0.58rem;
	font-weight: 800;
	padding: 1px 6px;
	border-radius: 999px;
	margin-right: 4px;
	background: color-mix(in srgb, var(--c) 12%, #fff);
	color: var(--c);
	border: 1px solid color-mix(in srgb, var(--c) 30%, #e2e8f0);
}

.gp-chat-mock-dim { opacity: 0.45; filter: blur(0.3px); pointer-events: none; }

.gp-transfer-mock-float {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(15, 23, 42, 0.35);
	backdrop-filter: blur(3px);
}

.gp-transfer-mock-modal {
	width: min(100%, 320px);
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 24px 48px rgba(15, 23, 42, 0.2);
	overflow: hidden;
	border: 1px solid #e2e8f0;
}

.gp-transfer-mock-head {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 14px 16px 10px;
	border-bottom: 1px solid #e2e8f0;
}

.gp-transfer-mock-icon {
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: linear-gradient(135deg, #0d9488, #14b8a6);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.gp-transfer-mock-head strong { display: block; font-size: 0.88rem; }
.gp-transfer-mock-head span { font-size: 0.72rem; color: #64748b; }

.gp-transfer-mock-body { padding: 12px 16px; display: grid; gap: 10px; }
.gp-transfer-mock-label {
	font-size: 0.65rem;
	font-weight: 800;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.gp-transfer-mock-pills,
.gp-transfer-mock-ops { display: flex; flex-wrap: wrap; gap: 6px; }

.gp-transfer-mock-pills span,
.gp-transfer-mock-ops span {
	padding: 6px 12px;
	border-radius: 999px;
	border: 1px solid #e2e8f0;
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--c, #64748b);
	background: #fff;
}

.gp-transfer-mock-pills span.on,
.gp-transfer-mock-ops span.on {
	border-color: color-mix(in srgb, var(--c, #6366f1) 40%, #e2e8f0);
	background: color-mix(in srgb, var(--c, #6366f1) 10%, #fff);
	color: var(--c, #6366f1);
}

.gp-transfer-mock-foot {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	padding: 10px 16px 14px;
	border-top: 1px solid #e2e8f0;
}

.gp-reports-page-compact { padding: 12px 14px 16px; }

.gp-satisfaction-mock {
	margin-top: 8px;
	padding: 12px;
	border: 1px solid var(--gp-border, #e2e8f0);
	border-radius: 12px;
	background: linear-gradient(135deg, #ecfdf5, #f8fafc);
}

.gp-sat-hero-mock {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(13, 148, 136, 0.15);
}

.gp-sat-emoji-big { font-size: 2rem; line-height: 1; }
.gp-sat-hero-mock strong { display: block; font-size: 1.35rem; font-weight: 800; color: #0f172a; }
.gp-sat-hero-mock span { font-size: 0.72rem; color: #64748b; }
.gp-sat-hero-mock em { margin-right: auto; font-style: normal; font-size: 0.68rem; color: #64748b; }

.gp-sat-table-mock { display: grid; gap: 6px; width: 100%; }
.gp-sat-row {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.7fr) minmax(0, 1fr);
	gap: 8px;
	align-items: center;
	width: 100%;
	padding: 8px 10px;
	background: #fff;
	border-radius: 8px;
	font-size: 0.72rem;
}

.gp-sat-row.head {
	background: transparent;
	font-weight: 700;
	color: #64748b;
	font-size: 0.65rem;
	padding: 0 10px 4px;
}

.gp-sat-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.gp-sat-chips i {
	font-style: normal;
	font-size: 0.68rem;
	padding: 2px 6px;
	border-radius: 999px;
	background: #f1f5f9;
}

.gp-reports-card--sat { grid-column: 1 / -1; }

.gcd-rating-mock {
	margin: 12px 8px 8px;
	padding: 14px 12px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	text-align: center;
}

.gcd-rating-mock p {
	margin: 0 0 12px;
	font-size: 0.82rem;
	line-height: 1.6;
	color: #c5d0db;
}

.gcd-rating-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
}

.gcd-rating-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	padding: 8px 8px;
	min-width: 48px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	background: rgba(0, 0, 0, 0.2);
	cursor: default;
}

.gcd-rating-btn span { font-size: 1.35rem; line-height: 1; }
.gcd-rating-btn small { font-size: 0.58rem; color: #8b9bab; font-weight: 700; }
.gcd-rating-btn.on {
	border-color: rgba(16, 185, 129, 0.5);
	background: rgba(16, 185, 129, 0.12);
	box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.35);
}

.gcd-rating-feedback {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	text-align: right;
	display: grid;
	gap: 8px;
}

.gcd-rating-feedback label {
	font-size: 0.72rem;
	font-weight: 700;
	color: #8b9bab;
}

.gcd-rating-textarea {
	padding: 10px 12px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(0, 0, 0, 0.25);
	font-size: 0.78rem;
	line-height: 1.55;
	color: #c5d0db;
	min-height: 56px;
}

.gcd-rating-submit {
	justify-self: flex-start;
	padding: 8px 16px;
	border: 0;
	border-radius: 10px;
	background: linear-gradient(135deg, #059669, #10b981);
	color: #fff;
	font-family: inherit;
	font-size: 0.78rem;
	font-weight: 700;
	cursor: default;
}

/* Feedback reports mock */
.gp-feedback-mock {
	margin-top: 10px;
	padding: 12px;
	border: 1px solid var(--gp-border, #e2e8f0);
	border-radius: 12px;
	background: #fff;
}

.gp-feedback-mock--full { margin-top: 12px; }

.gp-feedback-mock-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--gp-border, #e2e8f0);
}

.gp-feedback-mock-head strong {
	display: block;
	font-size: 0.82rem;
	font-weight: 800;
	color: #0f172a;
}

.gp-feedback-mock-head span {
	display: block;
	font-size: 0.68rem;
	color: #64748b;
	margin-top: 2px;
}

.gp-feedback-search-mock {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 12px;
	border: 1.5px solid var(--gp-border, #e2e8f0);
	border-radius: 10px;
	background: #f8fafc;
	font-size: 0.72rem;
	color: #64748b;
	min-width: 140px;
}

.gp-feedback-search-mock i {
	font-style: normal;
	width: 22px;
	height: 22px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 6px;
	background: #fff;
	color: #94a3b8;
}

.gp-feedback-table-mock {
	display: grid;
	gap: 0;
	border: 1px solid var(--gp-border, #e2e8f0);
	border-radius: 10px;
	overflow: hidden;
}

.gp-fb-row {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.65fr) minmax(0, 1fr) minmax(0, 1.4fr);
	gap: 8px;
	align-items: center;
	padding: 9px 12px;
	font-size: 0.72rem;
	border-bottom: 1px solid var(--gp-border, #e2e8f0);
	background: #fff;
}

.gp-feedback-table-mock--wide .gp-fb-row {
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.55fr) minmax(0, 0.95fr) minmax(0, 1.35fr) minmax(0, 0.7fr);
}

.gp-fb-row:last-child { border-bottom: 0; }

.gp-fb-row.head {
	background: #f8fafc;
	font-weight: 700;
	color: #64748b;
	font-size: 0.65rem;
}

.gp-fb-row .op {
	display: flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	min-width: 0;
}

.gp-fb-row .op-sm {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 0.7rem;
	min-width: 0;
}

.gp-fb-row .av {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 7px;
	background: rgba(13, 148, 136, 0.1);
	color: #0f766e;
	font-size: 0.62rem;
	font-weight: 800;
	font-style: normal;
	flex-shrink: 0;
}

.gp-fb-row .av-muted {
	background: #f1f5f9;
	color: #64748b;
}

.gp-fb-comment {
	color: #334155;
	line-height: 1.45;
	white-space: normal;
}

.gp-fb-date {
	font-size: 0.68rem;
	color: #64748b;
	white-space: nowrap;
}

.gp-feedback-pager-mock {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 10px;
	padding-top: 8px;
}

.gp-feedback-pager-mock > span {
	font-size: 0.68rem;
	font-weight: 700;
	color: #64748b;
}

.gp-feedback-pager-mock > div {
	display: flex;
	align-items: center;
	gap: 8px;
}

.gp-feedback-pager-mock em {
	font-style: normal;
	font-size: 0.72rem;
	font-weight: 700;
	color: #334155;
}

.gp-page-btn {
	padding: 5px 12px;
	border: 1px solid var(--gp-border, #e2e8f0);
	border-radius: 8px;
	background: #fff;
	font-family: inherit;
	font-size: 0.68rem;
	font-weight: 700;
	color: #64748b;
	cursor: default;
}

.gp-page-btn.on {
	border-color: #0d9488;
	color: #0f766e;
	background: #ecfdf5;
}

.gp-page-btn:disabled {
	opacity: 0.45;
}

@media (max-width: 640px) {
	.gp-inbox-mock-layout { grid-template-columns: 1fr; min-height: 280px; }
	.gp-sidebar-mock { display: none; }
}

/* ═══ Offline inbox showcase ═══ */
.gp-offline-showcase-mock {
	padding: 14px !important;
	background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.gp-offline-split {
	display: grid;
	grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
	gap: 14px;
	align-items: start;
}

.gp-offline-widget-label,
.gp-offline-settings-title {
	font-size: 0.68rem;
	font-weight: 800;
	color: #64748b;
	margin-bottom: 8px;
	letter-spacing: 0.02em;
}

.gp-offline-form-mock {
	background: #fff;
	border: 1px solid var(--gp-border, #e2e8f0);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.gp-offline-form-head {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 14px 14px 12px;
	background: var(--gp-off-header, #0d9488);
	color: #fff;
}

.gp-offline-form-icon { font-size: 1.35rem; line-height: 1; }

.gp-offline-form-head strong {
	display: block;
	font-size: 0.82rem;
	margin-bottom: 2px;
}

.gp-offline-form-head p {
	margin: 0;
	font-size: 0.68rem;
	opacity: 0.92;
	line-height: 1.5;
}

.gp-offline-fields {
	padding: 12px 14px 14px;
	display: grid;
	gap: 8px;
}

.gp-offline-fields label {
	display: grid;
	gap: 4px;
}

.gp-offline-fields label span {
	font-size: 0.68rem;
	font-weight: 700;
	color: #334155;
}

.gp-offline-fields label em {
	font-style: normal;
	font-size: 0.72rem;
	padding: 8px 10px;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	background: #f8fafc;
	color: #94a3b8;
	min-height: 34px;
}

.gp-offline-fields label.wide em { min-height: 64px; }

.gp-offline-submit {
	margin-top: 4px;
	padding: 10px 14px;
	border: 0;
	border-radius: 10px;
	background: var(--gp-off-accent, #10b981);
	color: #fff;
	font-family: inherit;
	font-size: 0.76rem;
	font-weight: 800;
	cursor: default;
}

.gp-offline-admin-mock {
	background: #fff;
	border: 1px solid var(--gp-border, #e2e8f0);
	border-radius: 14px;
	overflow: hidden;
}

.gp-offline-inbox-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
	padding: 12px 14px;
	border-bottom: 1px solid var(--gp-border, #e2e8f0);
}

.gp-offline-inbox-head strong {
	display: block;
	font-size: 0.82rem;
	color: #0f172a;
}

.gp-offline-inbox-head span {
	display: block;
	font-size: 0.66rem;
	color: #64748b;
	margin-top: 2px;
}

.gp-offline-new-pill {
	font-size: 0.62rem;
	font-weight: 800;
	padding: 4px 10px;
	border-radius: 999px;
	background: #fef3c7;
	color: #b45309;
	border: 1px solid #fde68a;
	white-space: nowrap;
}

.gp-offline-toolbar-mock {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 14px;
	border-bottom: 1px solid var(--gp-border, #e2e8f0);
}

.gp-offline-meta-mock {
	font-size: 0.66rem;
	font-weight: 700;
	color: #64748b;
}

.gp-offline-table-mock { padding: 0 10px 8px; }

.gp-off-row {
	display: grid;
	grid-template-columns: 1.1fr 1.2fr 1.6fr 0.7fr;
	gap: 8px;
	align-items: center;
	padding: 8px 4px;
	border-bottom: 1px solid #f1f5f9;
	font-size: 0.68rem;
}

.gp-off-row.head {
	font-weight: 800;
	color: #64748b;
	font-size: 0.62rem;
	padding-top: 6px;
}

.gp-off-row.is-new { background: #fffbeb; border-radius: 8px; }

.gp-off-row .op {
	display: flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	color: #0f172a;
}

.gp-off-row .op .av {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #e2e8f0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.58rem;
	font-style: normal;
}

.gp-off-row .contact {
	font-size: 0.62rem;
	color: #64748b;
}

.gp-off-row .msg {
	color: #334155;
	line-height: 1.45;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.gp-off-row .st {
	font-size: 0.6rem;
	font-weight: 800;
	padding: 2px 8px;
	border-radius: 999px;
	text-align: center;
	justify-self: start;
}

.gp-off-row .st.new {
	background: #fef3c7;
	color: #b45309;
}

.gp-off-row .st.read {
	background: #ecfdf5;
	color: #0f766e;
}

.gp-offline-inbox-compact {
	margin-bottom: 12px;
	padding: 12px 14px;
	background: #fff;
	border: 1px solid var(--gp-border, #e2e8f0);
	border-radius: 12px;
}

.gp-offline-inbox-compact-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 8px;
}

.gp-offline-inbox-compact-head strong {
	display: block;
	font-size: 0.78rem;
}

.gp-offline-inbox-compact-head span {
	display: block;
	font-size: 0.64rem;
	color: #64748b;
}

.gp-offline-table-mock--compact .gp-off-row {
	grid-template-columns: 1.2fr 2fr 0.7fr;
}

.gp-offline-settings-mock {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px dashed var(--gp-border, #e2e8f0);
}

.gp-offline-settings-mock--detail .gp-switch-grid {
	margin-top: 8px;
}

.gp-color-swatch-mock,
.gp-color-pair-mock i {
	display: inline-block;
	width: 100%;
	height: 34px;
	border-radius: 10px;
	background: var(--c, #10b981);
	border: 1px solid #e2e8f0;
}

.gp-color-pair-mock {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

@media (max-width: 860px) {
	.gp-offline-split { grid-template-columns: 1fr; }
	.gp-off-row { grid-template-columns: 1fr 1fr; }
	.gp-off-row .msg,
	.gp-off-row .contact { display: none; }
}

/* ═══ v1.3 showcase mocks (scoped — do not affect chat-preview) ═══ */
.gp-v13-showcase .gcd-msgs {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 12px 14px;
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	background: var(--gcd-bg, #0f172a);
}

.gp-v13-showcase .gcd-msgs-compact { min-height: 220px; }

.gp-v13-showcase .gcd-msg-mine {
	display: flex;
	justify-content: flex-end;
}

.gp-v13-showcase .gcd-msg-mine .gcd-bubble {
	background: var(--gcd-bubble-mine, #164e4a);
	color: #f0f6fc;
	border-radius: 14px 14px 4px 14px;
	padding: 8px 12px;
	font-size: 0.82rem;
	max-width: 85%;
}

.gp-v13-showcase .gcd-msg-theirs,
.gp-v13-showcase .gcd-msg-ai {
	display: flex;
	align-items: flex-end;
	gap: 8px;
}

.gcd-msg.gcd-msg-ai {
	display: flex;
	align-items: flex-end;
	gap: 8px;
}

.gcd-ai-badge {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: linear-gradient(135deg, #6366f1, #8b5cf6);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.62rem;
	font-weight: 700;
	flex-shrink: 0;
}

.gcd-bubble-ai {
	background: rgba(99, 102, 241, 0.18) !important;
	border: 1px solid rgba(99, 102, 241, 0.28) !important;
}

.gcd-reply-ref {
	display: block;
	font-size: 0.68rem;
	opacity: 0.8;
	margin-bottom: 4px;
	color: var(--gcd-primary, #10b981);
}

.panel-demo-light .gcd-bubble-ai {
	background: rgba(99, 102, 241, 0.1) !important;
	border-color: rgba(99, 102, 241, 0.2) !important;
}

.gp-v13-showcase .gcd-av,
.gp-v13-showcase .gcd-ai-badge {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--gcd-primary-light, rgba(13, 148, 136, 0.15));
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.62rem;
	font-weight: 700;
	color: var(--gcd-primary, #0d9488);
	flex-shrink: 0;
}

.gp-v13-showcase .gcd-ai-badge {
	background: linear-gradient(135deg, #6366f1, #8b5cf6);
	color: #fff;
}

.gp-v13-showcase .gcd-bubble-ai {
	background: rgba(99, 102, 241, 0.18);
	border: 1px solid rgba(99, 102, 241, 0.28);
	border-radius: 14px 14px 14px 4px;
	padding: 8px 12px;
	font-size: 0.82rem;
	line-height: 1.55;
	max-width: min(78%, 320px);
}

.gp-v13-showcase .gcd-msg-theirs .gcd-bubble {
	background: var(--gcd-bubble-other, #1e293b);
	border-radius: 14px 14px 14px 4px;
	padding: 8px 12px;
	font-size: 0.82rem;
	max-width: min(78%, 320px);
}

.gp-v13-showcase .gcd-sender {
	display: block;
	font-size: 0.65rem;
	font-weight: 700;
	color: var(--gcd-primary, #0d9488);
	margin-bottom: 2px;
}

.gp-v13-showcase .gcd-handoff-banner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	padding: 8px 12px;
	margin: 4px 0;
	border-radius: 10px;
	background: rgba(249, 115, 22, 0.12);
	border: 1px dashed rgba(249, 115, 22, 0.35);
	text-align: center;
}

.gp-v13-showcase .gcd-handoff-banner strong {
	font-size: 0.72rem;
	color: #fb923c;
}

.gp-v13-showcase .gcd-handoff-banner span {
	font-size: 0.65rem;
	color: var(--gcd-muted, #94a3b8);
}

.gp-v13-showcase .gcd-composer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 10px 12px;
	border-top: 1px solid var(--gcd-border, rgba(255,255,255,0.08));
	background: var(--gcd-surface, #1e293b);
	font-size: 0.78rem;
	color: var(--gcd-muted, #94a3b8);
	flex-shrink: 0;
}

.gp-v13-showcase .gcd-composer > button {
	border: 0;
	background: var(--gcd-primary, #0d9488);
	color: #fff;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	cursor: default;
	flex-shrink: 0;
}

.gp-v13-showcase .gcd-badge.product {
	background: rgba(249, 115, 22, 0.15);
	color: #fb923c;
	font-size: 0.58rem;
	padding: 2px 6px;
	border-radius: 999px;
}

.gp-v13-showcase .gcd-msg-edited {
	position: relative;
	align-items: center;
}

.gp-v13-showcase .gcd-edited-tag {
	display: block;
	font-size: 0.58rem;
	opacity: 0.7;
	margin-top: 2px;
}

.gp-v13-showcase .gcd-msg-action {
	position: absolute;
	left: -4px;
	top: 50%;
	transform: translateY(-50%);
	border: 0;
	background: transparent;
	font-size: 0.75rem;
	opacity: 0.5;
	cursor: default;
	padding: 0;
}

@media (max-width: 640px) {
	.gp-v13-showcase .gp-chat-block .browser-wrap,
	.gp-v13-showcase .gp-chat-block .panel-demo-dark {
		max-width: 100%;
		overflow: hidden;
	}

	.gp-v13-showcase .gcd-msgs-compact { min-height: 180px; }

	.gp-v13-showcase .gcd-msg-mine .gcd-bubble,
	.gp-v13-showcase .gcd-bubble-ai,
	.gp-v13-showcase .gcd-msg-theirs .gcd-bubble {
		max-width: 92%;
		font-size: 0.78rem;
	}

	.gp-v13-grid {
		grid-template-columns: 1fr;
	}
}

/* ── Light theme variant ── */
.panel-demo-light,
.panel-demo-light.gcd-root {
	--gcd-primary: #10b981;
	--gcd-primary-dark: #059669;
	--gcd-primary-light: #d1fae5;
	--gcd-bg: #f5f6f8;
	--gcd-surface: #ffffff;
	--gcd-border: #e8eaed;
	--gcd-text: #1a1d21;
	--gcd-muted: #6b7280;
	--gcd-input: #eef0f3;
	--gcd-bubble-other: #ffffff;
	--gcd-bubble-mine: #eef0f3;
	background: #f5f6f8;
}

.panel-demo-light.panel-demo-float {
	background:
		radial-gradient(ellipse 75% 55% at 50% 100%, rgba(16, 185, 129, 0.08), transparent),
		linear-gradient(180deg, #f8fafc 0%, #f5f6f8 100%);
}

.gp-chat-theme-demos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: -0.5rem 0 2rem;
}

.gp-chat-theme-demos > span {
	font-size: 0.85rem;
	color: var(--muted, #8b9bab);
}

.gp-chat-theme-btn {
	padding: 8px 16px;
	border-radius: 999px;
	border: 1px solid rgba(255,255,255,.12);
	background: rgba(255,255,255,.04);
	color: var(--text, #e8edf2);
	font: inherit;
	font-size: 0.82rem;
	cursor: pointer;
	transition: border-color .15s, background .15s;
}

.gp-chat-theme-btn.is-active {
	border-color: rgba(16, 185, 129, 0.55);
	background: rgba(16, 185, 129, 0.12);
	color: #6ee7b7;
}

.gp-v13-showcase .gcd-reply-ref,
.gp-v13-showcase .gcd-bubble-reply small {
	display: block;
	font-size: 0.68rem;
	opacity: 0.75;
	margin-bottom: 4px;
	color: var(--gcd-primary, #10b981);
}

.gp-v13-showcase .gcd-bubble-ai {
	border-right: 3px solid var(--gcd-primary, #6366f1);
}

/* ── Channel feed mock ── */
.gcd-channels-root { --gcd-primary: #8b5cf6; }
.gcd-channel-av { border-radius: 50%; overflow: hidden; padding: 0; }
.gcd-channel-av img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.gcd-channel-feed { display: flex; flex-direction: column; min-width: 0; background: #0e1621; }
.gcd-channel-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid #2b3949; }
.gcd-channel-head-av { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.gcd-channel-head-av img { width: 100%; height: 100%; object-fit: cover; }
.gcd-channel-head small { display: block; color: #8b9bab; font-size: 0.75rem; margin-top: 2px; }
.gcd-channel-pinned { padding: 10px 16px; background: rgba(139, 92, 246, 0.12); border-bottom: 1px solid rgba(139, 92, 246, 0.2); color: #ddd6fe; font-size: 0.85rem; }
.gcd-channel-posts { padding: 12px 16px; display: flex; flex-direction: column; gap: 12px; overflow: auto; flex: 1; }
.gcd-channel-post { padding: 12px 14px; border-radius: 12px; background: #17212b; border: 1px solid #2b3949; }
.gcd-channel-post p { margin: 0 0 8px; line-height: 1.55; color: #e8edf2; }
.gcd-channel-post time { font-size: 0.72rem; color: #8b9bab; }
.gcd-channel-post.has-thumb img { width: 100%; max-height: 140px; object-fit: cover; border-radius: 8px; margin-bottom: 8px; }
.gcd-channel-product .gcd-product-card { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 10px; background: rgba(139, 92, 246, 0.1); margin-bottom: 8px; }
.gcd-product-card img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; }
.gcd-product-card strong { display: block; color: #e8edf2; }
.gcd-product-card span { font-size: 0.8rem; color: #c4b5fd; }
.gp-channels-admin { padding: 8px 0; }
.gp-channels-admin-head h3 { margin: 0 0 6px; }
.gp-channels-admin-head p { margin: 0 0 16px; color: var(--muted, #8b9bab); font-size: 0.9rem; }
.gp-channels-admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-bottom: 16px; }
.gp-channel-admin-card { padding: 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); display: flex; flex-direction: column; gap: 6px; }
.gp-channel-admin-card.is-active { border-color: rgba(139, 92, 246, 0.45); background: rgba(139, 92, 246, 0.08); }
.gp-channel-admin-av { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #6366f1; color: #fff; font-weight: 700; }
.gp-channel-admin-av img { width: 100%; height: 100%; object-fit: cover; }
.gp-channel-admin-card span { font-size: 0.78rem; color: #8b9bab; }
