/* ==========================================================================
   CoolHub Desk v1.1.0 — CoolToYou Studio Architectural Dark & Cyan Edition
   ========================================================================== */

.cty-prose-card:has(.chd-portal-shell) {
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
	box-shadow: none !important;
}

.chd-portal-shell {
	max-width: 1224px;
	margin: 0 auto 24px;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	color: #0a1426;
	line-height: 1.6;
}

.chd-portal-shell *,
.chd-widget-root * {
	box-sizing: border-box;
}

.chd-portal-shell [hidden],
.chd-widget-root [hidden] {
	display: none !important;
}

/* Portal Top Bar */
.chd-portal-topbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 22px 28px;
	margin-bottom: 24px;
	box-shadow: 0 4px 16px rgba(10, 20, 38, 0.05);
}

.chd-badge-pill {
	display: inline-block;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 6px;
	background: rgba(34, 211, 238, 0.14);
	color: #0e7490;
	margin-bottom: 6px;
}

.chd-badge-pill.is-cyan {
	background: rgba(34, 211, 238, 0.16);
	color: #22d3ee;
	border: 1px solid rgba(34, 211, 238, 0.3);
}

.chd-portal-topbar h2 {
	margin: 0 !important;
	font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
	font-size: 22px !important;
	font-weight: 800;
	color: #0a1426;
}

.chd-portal-top-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

/* CoolToYou Signature Buttons */
.chd-btn-primary {
	background: linear-gradient(135deg, #22d3ee 0%, #38bdf8 100%);
	color: #0a1426 !important;
	border: 0;
	border-radius: 8px;
	padding: 12px 22px;
	font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
	font-weight: 800;
	font-size: 14px;
	text-decoration: none !important;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	box-shadow: 0 8px 22px rgba(34, 211, 238, 0.28);
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.chd-btn-primary:hover {
	transform: translateY(-2px);
	filter: brightness(1.04);
	box-shadow: 0 12px 28px rgba(34, 211, 238, 0.38);
}

.chd-btn-outline {
	background: #ffffff;
	color: #0a1426 !important;
	border: 1.5px solid #cbd5e1;
	border-radius: 8px;
	padding: 11px 20px;
	font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
	font-weight: 700;
	font-size: 13.5px;
	text-decoration: none !important;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.chd-btn-outline:hover {
	border-color: #0a1426;
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(10, 20, 38, 0.08);
}

.chd-btn-full {
	width: 100%;
}

/* Portal Grid & Cards */
.chd-portal-grid {
	display: grid;
	grid-template-columns: 1.48fr 0.85fr;
	gap: 28px;
	align-items: start;
}

@media (max-width: 900px) {
	.chd-portal-grid {
		grid-template-columns: 1fr;
	}
}

.chd-portal-card,
.chd-portal-thread-card,
.chd-kb-article-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 28px;
	box-shadow: 0 4px 16px rgba(10, 20, 38, 0.05);
	margin-bottom: 22px;
	transition: border-color 0.22s ease;
}

.chd-portal-side .chd-portal-card:hover {
	border-color: rgba(34, 211, 238, 0.5);
}

.chd-portal-card h3 {
	margin: 0 0 8px !important;
	font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
	font-size: 18px !important;
	font-weight: 800;
	color: #0a1426;
}

.chd-muted {
	color: #526076;
	font-size: 13.5px;
	margin: 0 0 18px;
}

.chd-form-row-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

@media (max-width: 640px) {
	.chd-form-row-2 {
		grid-template-columns: 1fr;
	}
}

.chd-field {
	margin-bottom: 16px;
}

.chd-field label,
.chd-portal-reply-form label {
	display: block;
	font-weight: 600;
	font-size: 13px;
	color: #0a1426;
	margin-bottom: 6px;
}

.chd-field input[type="text"],
.chd-field input[type="email"],
.chd-field select,
.chd-field textarea,
.chd-portal-reply-form textarea {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
	font-size: 14px;
	color: #0a1426;
	background: #ffffff;
	transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.chd-field input:focus,
.chd-field select:focus,
.chd-field textarea:focus,
.chd-portal-reply-form textarea:focus {
	outline: none;
	border-color: #0ea5e9;
	box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.2);
}

.chd-dynamic-conditional {
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	border-left: 3.5px solid #0ea5e9;
	padding: 13px 15px;
	border-radius: 8px;
}

/* Early Ticket Deflection Box */
.chd-deflect-results {
	margin-top: 10px;
	background: #f0f9ff;
	border: 1px solid #7dd3fc;
	border-radius: 10px;
	padding: 13px;
}

.chd-deflect-head {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.02em;
	color: #0369a1;
	margin-bottom: 8px;
}

.chd-deflect-item {
	background: #ffffff;
	border: 1px solid #bae6fd;
	border-radius: 8px;
	padding: 10px 12px;
	margin-bottom: 7px;
}

.chd-deflect-item:last-child {
	margin-bottom: 0;
}

.chd-deflect-item strong a {
	font-size: 13.5px;
	color: #0284c7 !important;
	text-decoration: none;
}

.chd-deflect-item strong a:hover {
	text-decoration: underline !important;
}

.chd-deflect-item p {
	margin: 4px 0 8px;
	font-size: 12.5px;
	color: #475569;
}

.chd-deflect-solved-btn {
	background: #0a1426;
	color: #22d3ee;
	border: 1px solid rgba(34, 211, 238, 0.4);
	border-radius: 6px;
	padding: 5px 11px;
	font-size: 11.5px;
	font-weight: 700;
	cursor: pointer;
}

/* Ecosystem Quick Links Card */
.chd-eco-links {
	list-style: none;
	margin: 8px 0 0;
	padding: 0;
}

.chd-eco-links li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 9px 0;
	border-bottom: 1px solid #f1f5f9;
	font-size: 13.5px;
}

.chd-eco-links li:last-child {
	border-bottom: 0;
}

.chd-eco-links li span {
	color: #526076;
}

.chd-eco-links li a {
	color: #0284c7 !important;
	font-weight: 700;
}

/* Customer Ticket Thread & CSAT */
.chd-portal-thread-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 14px;
	flex-wrap: wrap;
	border-bottom: 1px solid #e2e8f0;
	padding-bottom: 16px;
	margin-bottom: 18px;
}

.chd-ticket-code {
	display: inline-block;
	background: #0a1426;
	color: #22d3ee;
	font-weight: 800;
	font-size: 12px;
	padding: 3px 9px;
	border-radius: 6px;
	margin-bottom: 6px;
}

.chd-status-pill {
	font-size: 11.5px;
	font-weight: 700;
	padding: 4px 11px;
	border-radius: 999px;
	background: #f1f5f9;
	color: #334155;
}

.chd-status-pill.is-resolved { background: #d1fae5; color: #065f46; }
.chd-status-pill.is-pending { background: #fef3c7; color: #92400e; }
.chd-status-pill.is-open, .chd-status-pill.is-new { background: #e0f2fe; color: #0369a1; }

.chd-portal-msg {
	padding: 16px 18px;
	border-radius: 10px;
	border: 1px solid #e2e8f0;
	margin-bottom: 12px;
	background: #ffffff;
}

.chd-portal-msg.is-agent {
	background: #f0f9ff;
	border-color: #bae6fd;
	border-left: 4px solid #0ea5e9;
}

.chd-portal-msg-meta {
	display: flex;
	justify-content: space-between;
	font-size: 12.5px;
	margin-bottom: 8px;
	color: #526076;
}

.chd-portal-reply-foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 12px;
}

.chd-csat-box {
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	border-left: 4px solid #22d3ee;
	border-radius: 10px;
	padding: 18px 20px;
	margin-bottom: 20px;
}

.chd-csat-box h4 {
	margin: 0 0 10px !important;
	font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

.chd-csat-stars {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 12px;
}

.chd-csat-choice {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 13px;
	border-radius: 8px;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	cursor: pointer;
	font-weight: 700;
	font-size: 13px;
	transition: all 0.15s ease;
}

.chd-csat-choice.is-selected {
	background: #0a1426;
	border-color: #22d3ee;
	color: #22d3ee;
}

.chd-csat-comment-row {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.chd-csat-comment-row input {
	flex: 1;
	min-width: 200px;
	padding: 10px 13px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-family: inherit;
}

.chd-my-ticket-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.chd-my-ticket-list li a {
	display: block;
	padding: 11px 0;
	border-bottom: 1px solid #f1f5f9;
	text-decoration: none;
	color: inherit;
}

.chd-my-ticket-list li:last-child a {
	border-bottom: 0;
}

.chd-my-t-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 4px;
}

.chd-my-t-subj {
	font-size: 13.5px;
	color: #334155;
}

.chd-alert {
	padding: 13px 16px;
	border-radius: 8px;
	margin-bottom: 16px;
	font-weight: 600;
	font-size: 13.5px;
}
.chd-alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #6ee7b7; }
.chd-alert-danger { background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5; }
.chd-alert-info { background: #f0f9ff; color: #075985; border: 1px solid #7dd3fc; }

/* ==========================================================================
   HELP CENTER / KNOWLEDGE BASE (ARCHITECTURAL DARK HERO)
   ========================================================================== */
.chd-kb-hero {
	background: linear-gradient(135deg, #070b14 0%, #0c1322 58%, #13223d 100%);
	border: 1px solid rgba(34, 211, 238, 0.22);
	color: #ffffff;
	padding: 34px 32px;
	border-radius: 14px;
	margin-bottom: 24px;
	box-shadow: 0 18px 40px -14px rgba(4, 9, 20, 0.42);
}

.chd-kb-hero h2 {
	color: #ffffff !important;
	font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
	font-size: 26px !important;
	margin: 8px 0 0 !important;
}

.chd-kb-hero-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.chd-kb-lang-pills a {
	color: #94a3b8 !important;
	text-decoration: none;
	font-size: 12.5px;
	font-weight: 600;
	padding: 5px 12px;
	border-radius: 999px;
}

.chd-kb-lang-pills a.is-active {
	background: rgba(34, 211, 238, 0.16);
	color: #22d3ee !important;
	border: 1px solid rgba(34, 211, 238, 0.35);
}

.chd-kb-search-bar {
	display: flex;
	gap: 10px;
	margin-top: 18px;
}

.chd-kb-search-bar input {
	flex: 1;
	padding: 13px 16px;
	border-radius: 8px;
	border: 1px solid rgba(148, 163, 184, 0.25);
	background: #131c31;
	font-family: 'Inter', sans-serif;
	font-size: 14.5px;
	color: #ffffff;
}

.chd-kb-search-bar input::placeholder {
	color: #94a3b8;
}

.chd-kb-search-bar input:focus {
	outline: none;
	border-color: #22d3ee;
}

.chd-kb-search-bar button {
	background: linear-gradient(135deg, #22d3ee 0%, #38bdf8 100%);
	color: #0a1426;
	border: 0;
	border-radius: 8px;
	padding: 0 22px;
	font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
	font-weight: 800;
	font-size: 14px;
	cursor: pointer;
}

.chd-kb-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
	gap: 18px;
}

.chd-kb-item-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 24px;
	text-decoration: none !important;
	color: inherit;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.chd-kb-item-card:hover {
	transform: translateY(-3px);
	border-color: rgba(34, 211, 238, 0.55);
	box-shadow: 0 14px 32px rgba(10, 20, 38, 0.1);
}

.chd-kb-item-card h3 {
	margin: 12px 0 8px !important;
	font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
	font-size: 17px !important;
	line-height: 1.38;
	color: #0a1426;
}

.chd-kb-item-card p {
	margin: 0 0 16px;
	font-size: 13.5px;
	color: #526076;
}

.chd-kb-item-meta,
.chd-kb-item-foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 12px;
	color: #64748b;
}

.chd-kb-cat {
	background: #f0f9ff;
	color: #0284c7;
	font-weight: 700;
	padding: 3px 9px;
	border-radius: 6px;
}

.chd-kb-breadcrumb {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 13px;
	color: #64748b;
	margin-bottom: 16px;
}

.chd-kb-breadcrumb a {
	color: #0284c7 !important;
	font-weight: 700;
}

.chd-kb-translations {
	margin: 12px 0 18px;
	padding: 10px 14px;
	background: #f8fafc;
	border-radius: 8px;
	font-size: 13px;
}

.chd-kb-translations a {
	color: #0284c7 !important;
	font-weight: 700;
	margin-left: 8px;
}

.chd-kb-article-body h3 {
	margin: 22px 0 8px !important;
	font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
	font-size: 18px !important;
}

.chd-kb-feedback-box {
	margin-top: 26px;
	padding-top: 18px;
	border-top: 1px solid #e2e8f0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
}

.chd-kb-vote-btns {
	display: flex;
	gap: 8px;
	align-items: center;
	flex-wrap: wrap;
}

.chd-kb-vote-btns button {
	padding: 8px 14px;
	border-radius: 8px;
	border: 1px solid #cbd5e1;
	background: #f8fafc;
	font-family: inherit;
	cursor: pointer;
	font-weight: 600;
	font-size: 13px;
}

/* ==========================================================================
   COOLTOYOU ARCHITECTURAL FLOATING SUPPORT & LIVE CHAT WIDGET
   ========================================================================== */
.chd-widget-root {
	position: fixed;
	bottom: 24px;
	z-index: 99990;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.chd-widget-root.is-right { right: 24px; }
.chd-widget-root.is-left { left: 24px; }

.chd-widget-launcher {
	width: 56px;
	height: 56px;
	border-radius: 16px;
	background: linear-gradient(135deg, #0a1426 0%, #13223d 100%);
	border: 1.5px solid rgba(34, 211, 238, 0.55);
	color: #22d3ee;
	box-shadow: 0 14px 32px rgba(4, 9, 20, 0.45), 0 0 22px rgba(34, 211, 238, 0.22);
	cursor: pointer;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease, box-shadow 0.2s ease;
}

.chd-widget-launcher:hover {
	transform: translateY(-3px) scale(1.03);
	border-color: #22d3ee;
	box-shadow: 0 18px 36px rgba(4, 9, 20, 0.55), 0 0 28px rgba(34, 211, 238, 0.36);
}

.chd-widget-launcher .chd-ico-close {
	display: none;
}

.chd-widget-root.is-open .chd-widget-launcher .chd-ico-chat {
	display: none;
}

.chd-widget-root.is-open .chd-widget-launcher .chd-ico-close {
	display: block;
}

.chd-widget-status-dot {
	position: absolute;
	top: -3px;
	right: -3px;
	width: 13px;
	height: 13px;
	border-radius: 50%;
	border: 2.5px solid #070b14;
}
.chd-widget-status-dot.is-online { background: #10b981; }
.chd-widget-status-dot.is-offline { background: #f59e0b; }

.chd-widget-panel {
	position: absolute;
	bottom: 70px;
	right: 0;
	width: 384px;
	max-width: calc(100vw - 32px);
	background: #ffffff;
	border-radius: 14px;
	box-shadow: 0 24px 60px rgba(4, 9, 20, 0.42), 0 0 0 1px rgba(34, 211, 238, 0.22);
	overflow: hidden;
	color: #0a1426;
	animation: chdWidgetPop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes chdWidgetPop {
	from { opacity: 0; transform: translateY(10px) scale(0.98); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

.chd-widget-root.is-left .chd-widget-panel {
	right: auto;
	left: 0;
}

.chd-widget-header {
	background: linear-gradient(135deg, #070b14 0%, #0c1322 58%, #13223d 100%);
	border-bottom: 1px solid rgba(34, 211, 238, 0.24);
	color: #ffffff;
	padding: 18px 18px 16px;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 10px;
}

.chd-widget-brand-row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 5px;
}

.chd-widget-eyebrow {
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.09em;
	color: #22d3ee;
}

.chd-widget-mode-pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 10.5px;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 999px;
	background: rgba(16, 185, 129, 0.16);
	color: #6ee7b7;
	border: 1px solid rgba(16, 185, 129, 0.3);
}

.chd-widget-mode-pill.is-offline {
	background: rgba(245, 158, 11, 0.16);
	color: #fcd34d;
	border-color: rgba(245, 158, 11, 0.3);
}

.chd-widget-mode-pill.is-ticket {
	background: rgba(34, 211, 238, 0.16);
	color: #67e8f9;
	border-color: rgba(34, 211, 238, 0.35);
}

.chd-pill-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
	display: inline-block;
}

.chd-widget-title {
	display: block;
	font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
	font-size: 17px;
	font-weight: 800;
	color: #ffffff;
	letter-spacing: -0.01em;
}

.chd-widget-sub {
	margin: 4px 0 0;
	font-size: 12.5px;
	line-height: 1.45;
	color: #94a3b8;
}

.chd-widget-close {
	background: rgba(255, 255, 255, 0.08);
	border: 0;
	border-radius: 6px;
	width: 28px;
	height: 28px;
	color: #cbd5e1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex-shrink: 0;
	transition: background 0.16s ease, color 0.16s ease;
}

.chd-widget-close:hover {
	background: #22d3ee;
	color: #0a1426;
}

/* Instant Deflection Search Bar */
.chd-widget-deflect-box {
	padding: 10px 14px;
	background: #f8fafc;
	border-bottom: 1px solid #e2e8f0;
}

.chd-widget-search-field {
	position: relative;
	display: flex;
	align-items: center;
}

.chd-widget-search-field svg {
	position: absolute;
	left: 11px;
	color: #64748b;
	pointer-events: none;
}

.chd-widget-search-field input {
	width: 100%;
	padding: 8px 12px 8px 32px;
	border-radius: 8px;
	border: 1px solid #cbd5e1;
	background: #ffffff;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
	font-size: 12.5px;
	color: #0a1426;
}

.chd-widget-search-field input:focus {
	outline: none;
	border-color: #0ea5e9;
	box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.18);
}

/* Live Messages Area */
.chd-widget-messages {
	max-height: 245px;
	overflow-y: auto;
	padding: 12px 14px;
	background: #f3f7fc;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.chd-w-bubble {
	padding: 9px 12px;
	border-radius: 10px;
	font-size: 13px;
	line-height: 1.48;
	max-width: 88%;
}

.chd-w-bubble p {
	margin: 0;
}

.chd-w-bubble.is-customer {
	background: #0c1322;
	color: #f8fafc;
	border: 1px solid rgba(34, 211, 238, 0.25);
	align-self: flex-end;
	border-bottom-right-radius: 3px;
}

.chd-w-bubble.is-agent {
	background: #ffffff;
	border: 1px solid #cbd5e1;
	color: #0a1426;
	align-self: flex-start;
	border-bottom-left-radius: 3px;
}

/* Widget Form & Compact Signed-In Identity Bar */
.chd-widget-form {
	padding: 12px 14px 14px;
	background: #ffffff;
}

.chd-widget-user-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 6px 10px;
	margin-bottom: 9px;
	font-size: 12px;
	color: #334155;
}

.chd-widget-user-bar span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.chd-link-btn {
	background: transparent;
	border: 0;
	padding: 0;
	color: #0284c7;
	font-family: inherit;
	font-size: 11.5px;
	font-weight: 700;
	cursor: pointer;
	flex-shrink: 0;
}

.chd-widget-guest-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-bottom: 9px;
}

.chd-widget-guest-grid input {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
	font-size: 12.5px;
	color: #0a1426;
}

.chd-widget-guest-grid input:focus {
	outline: none;
	border-color: #0ea5e9;
}

.chd-widget-compose-row {
	display: flex;
	gap: 8px;
	align-items: stretch;
}

.chd-widget-compose-row textarea {
	flex: 1;
	padding: 9px 11px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
	font-size: 13px;
	line-height: 1.45;
	color: #0a1426;
	resize: none;
}

.chd-widget-compose-row textarea:focus {
	outline: none;
	border-color: #0ea5e9;
	box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.18);
}

.chd-widget-send-btn {
	background: linear-gradient(135deg, #22d3ee 0%, #38bdf8 100%);
	color: #0a1426;
	border: 0;
	border-radius: 8px;
	padding: 0 15px;
	font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
	font-weight: 800;
	font-size: 13px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	cursor: pointer;
	white-space: nowrap;
	box-shadow: 0 6px 16px rgba(34, 211, 238, 0.28);
	transition: transform 0.15s ease, filter 0.15s ease;
}

.chd-widget-send-btn:hover {
	transform: translateY(-1px);
	filter: brightness(1.04);
}

.chd-widget-foot-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	margin-top: 8px;
}

.chd-widget-context-hint {
	font-size: 11px;
	color: #64748b;
}

.chd-widget-portal-link {
	font-size: 11.5px;
	font-weight: 700;
	color: #0284c7 !important;
	white-space: nowrap;
}

/* Ticket-Only Mode Structured Fields & Confirmation Card */
.chd-widget-ticket-fields {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.chd-widget-ticket-fields select,
.chd-widget-ticket-fields input[type="text"],
.chd-widget-ticket-fields textarea {
	width: 100%;
	padding: 9px 11px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	background: #ffffff;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
	font-size: 13px;
	line-height: 1.45;
	color: #0a1426;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.chd-widget-ticket-fields textarea {
	resize: vertical;
	min-height: 74px;
}

.chd-widget-ticket-fields select:focus,
.chd-widget-ticket-fields input[type="text"]:focus,
.chd-widget-ticket-fields textarea:focus {
	outline: none;
	border-color: #0ea5e9;
	box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.18);
}

.chd-widget-submit-full {
	width: 100%;
	height: 40px;
	background: linear-gradient(135deg, #22d3ee 0%, #38bdf8 100%);
	color: #0a1426 !important;
	border: 0;
	border-radius: 8px;
	padding: 0 16px;
	font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
	font-weight: 800;
	font-size: 13.5px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(34, 211, 238, 0.28);
	transition: transform 0.15s ease, filter 0.15s ease;
}

.chd-widget-submit-full:hover {
	transform: translateY(-1px);
	filter: brightness(1.04);
}

.chd-widget-ticket-done {
	padding: 22px 18px;
	text-align: center;
	background: #ffffff;
}

.chd-ticket-done-badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 999px;
	background: #ecfdf5;
	color: #047857;
	border: 1px solid #a7f3d0;
	margin-bottom: 8px;
}

.chd-widget-ticket-done h4 {
	margin: 0 0 6px !important;
	font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
	font-size: 20px !important;
	font-weight: 800;
	color: #0a1426;
}

.chd-widget-ticket-done p {
	margin: 0 0 16px;
	font-size: 13px;
	line-height: 1.5;
	color: #526076;
}

.chd-widget-reset-btn {
	margin-top: 10px;
	background: transparent;
	border: 0;
	color: #526076;
	font-family: inherit;
	font-size: 12.5px;
	font-weight: 600;
	cursor: pointer;
}

.chd-widget-reset-btn:hover {
	color: #0284c7;
}
