@charset "UTF-8";
/* Wording Helper widget */

:root{
	--hp-ink: #22354C;
	--hp-harbour: #5789D6;
	--hp-harbour-deep: #4472BC;
	--hp-seamist: #EFF4FA;
	--hp-surface: #FFFFFF;
	--hp-line: #DCE5F1;
	--hp-soft: #64748E;
}

/* ---------- Launcher ---------- */
.helpButton{
	position: fixed;
	right: 50px;
	top: 10px;
	z-index: 1035;
}
.helper-launch{
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid rgba(255,255,255,0.35);
	background: var(--hp-ink);
	color: #fff;
	font-size: 17px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(34,53,76,0.30);
	transition: background 0.15s ease, transform 0.15s ease;
	padding: 0;
}
.helper-launch:hover{
	background: var(--hp-harbour-deep);
	transform: translateY(-1px);
}
.helper-launch:focus{
	outline: none;
	box-shadow: 0 0 0 3px rgba(87,137,214,0.45);
}

/* ---------- Drawer shell ---------- */
.helper-modal .modal-dialog{
	position: fixed;
	top: 16px;
	right: 16px;
	bottom: 16px;
	margin: 0;
	width: 400px;
	max-width: calc(100vw - 32px);
	display: flex;
}
.helper-modal.fade .modal-dialog{
	transition: transform 0.25s ease-out;
	transform: translateX(28px);
}
.helper-modal.show .modal-dialog{
	transform: none;
}
.helper-modal .modal-content{
	height: 100%;
	max-height: 100%;
	border: 0;
	border-radius: 16px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 12px 40px rgba(34,53,76,0.35);
	font-family: Roboto, Helvetica, Arial, sans-serif;
}
.modal-backdrop.helper-backdrop{
	background: var(--hp-ink);
}
.modal-backdrop.helper-backdrop.show{
	opacity: 0.3;
}

/* ---------- Header ---------- */
.helper-head{
	background: var(--hp-ink);
	color: #fff;
	padding: 14px 16px 10px;
	flex-shrink: 0;
}
.helper-head-row{
	display: flex;
	align-items: center;
}
.helper-title{
	font-family: 'Nunito', Roboto, Helvetica, Arial, sans-serif;
	font-weight: 800;
	font-size: 17px;
	margin: 0;
	flex: 1;
	display: flex;
	align-items: center;
}
.helper-title .fa-life-ring{
	color: var(--hp-harbour);
	margin-right: 9px;
	font-size: 19px;
}
.helper-iconbtn{
	background: transparent;
	border: 0;
	color: rgba(255,255,255,0.65);
	width: 32px;
	height: 32px;
	border-radius: 8px;
	font-size: 15px;
	cursor: pointer;
	padding: 0;
	margin-left: 4px;
	transition: background 0.15s ease, color 0.15s ease;
}
.helper-iconbtn:hover{
	background: rgba(255,255,255,0.12);
	color: #fff;
}
.helper-iconbtn:focus{
	outline: none;
	box-shadow: 0 0 0 2px rgba(87,137,214,0.6);
}

/* Product pills */
.helper-products-label{
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.55);
	margin: 10px 0 5px;
}
.helper-products{
	display: flex;
	background: rgba(255,255,255,0.10);
	border-radius: 10px;
	padding: 3px;
}
.helper-pill{
	flex: 1;
	position: relative;
	text-align: center;
	margin: 0;
	padding: 6px 4px;
	font-size: 13px;
	font-weight: 500;
	color: rgba(255,255,255,0.75);
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
	user-select: none;
}
.helper-pill:hover{
	color: #fff;
}
.helper-pill input{
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.helper-pill.active{
	background: var(--hp-harbour);
	color: #fff;
}
.helper-pill:focus-within{
	box-shadow: 0 0 0 2px rgba(87,137,214,0.6);
}

/* ---------- Feed ---------- */
/* the wave: navy header dipping into the water */
.helper-wave{
	flex-shrink: 0;
	height: 7px;
	background-color: var(--hp-seamist);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='7' viewBox='0 0 36 7'%3E%3Cpath d='M0 0 H36 V2.5 Q27 7 18 2.5 T0 2.5 Z' fill='%2322354C'/%3E%3C/svg%3E");
	background-repeat: repeat-x;
	background-position: top left;
}
.helper-feed-wrap{
	flex: 1 1 auto;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	background: var(--hp-seamist);
	padding: 12px 14px 10px;
	position: relative;
}

.chat_row{
	display: flex;
	margin-bottom: 10px;
}
.chat_row:last-child{
	margin-bottom: 4px;
}
.mebubble,
.gptbubble{
	max-width: 85%;
	padding: 9px 13px;
	border-radius: 14px;
	font-size: 14px;
	line-height: 1.45;
	word-wrap: break-word;
	overflow-wrap: break-word;
	min-width: 0;
}
.mebubble{
	margin-left: auto;
	background: var(--hp-harbour);
	color: #fff;
	border-bottom-right-radius: 4px;
}
.gptbubble{
	margin-right: auto;
	background: var(--hp-surface);
	color: var(--hp-ink);
	border: 1px solid var(--hp-line);
	border-bottom-left-radius: 4px;
	box-shadow: 0 1px 2px rgba(34,53,76,0.06);
}

/* formatted answer content */
.gptbubble h1, .gptbubble h2, .gptbubble h3,
.gptbubble h4, .gptbubble h5, .gptbubble h6{
	font-size: 14px;
	font-weight: 700;
	margin: 10px 0 4px;
	line-height: 1.35;
}
.gptbubble h1:first-child, .gptbubble h2:first-child, .gptbubble h3:first-child,
.gptbubble h4:first-child, .gptbubble h5:first-child, .gptbubble h6:first-child{
	margin-top: 0;
}
.gptbubble code{
	background: var(--hp-seamist);
	color: var(--hp-ink);
	padding: 1px 5px;
	border-radius: 4px;
	font-size: 90%;
}
.gptbubble pre{
	background: var(--hp-seamist);
	padding: 8px 10px;
	border-radius: 8px;
	overflow-x: auto;
	margin: 6px 0;
}
.gptbubble pre code{
	padding: 0;
	background: transparent;
}
.gptbubble blockquote{
	border-left: 3px solid var(--hp-harbour);
	margin: 6px 0;
	padding: 2px 0 2px 10px;
	color: var(--hp-soft);
}
.gptbubble ul, .gptbubble ol{
	padding-left: 20px;
	margin: 4px 0;
}
.gptbubble hr{
	border: 0;
	border-top: 1px solid var(--hp-line);
	margin: 8px 0;
}
.gptbubble a{
	color: var(--hp-harbour-deep);
	text-decoration: underline;
}

/* ---------- Empty state ---------- */
.helper-empty{
	text-align: center;
	padding: 44px 24px 24px;
	color: var(--hp-soft);
}
.helper-empty-icon{
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--hp-surface);
	border: 1px solid var(--hp-line);
	color: var(--hp-harbour);
	font-size: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 14px;
}
.helper-empty h6{
	font-family: 'Nunito', Roboto, Helvetica, Arial, sans-serif;
	font-weight: 800;
	font-size: 15px;
	color: var(--hp-ink);
	margin-bottom: 6px;
}
.helper-empty p{
	font-size: 13px;
	line-height: 1.5;
	margin: 0;
}

/* ---------- Typing indicator ---------- */
#helper_typing{
	display: none;
	margin-bottom: 10px;
}
#helper_typing .helper-typing-bubble{
	display: inline-flex;
	align-items: center;
	background: var(--hp-surface);
	border: 1px solid var(--hp-line);
	border-radius: 14px;
	border-bottom-left-radius: 4px;
	padding: 11px 13px;
	box-shadow: 0 1px 2px rgba(34,53,76,0.06);
}
.helper-dot{
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--hp-harbour);
	margin-right: 5px;
	animation: helperBob 1.1s ease-in-out infinite;
}
.helper-dot:nth-child(2){ animation-delay: 0.15s; }
.helper-dot:nth-child(3){ animation-delay: 0.3s; margin-right: 0; }
@keyframes helperBob{
	0%, 60%, 100%{ transform: translateY(0); opacity: 0.5; }
	30%{ transform: translateY(-4px); opacity: 1; }
}
#helper_loader_text{
	font-size: 12px;
	color: var(--hp-soft);
	margin-left: 10px;
}
#helper_loader_text:empty{
	display: none;
}
@media (prefers-reduced-motion: reduce){
	.helper-dot{ animation: none; opacity: 0.8; }
	.helper-modal.fade .modal-dialog{ transition: none; transform: none; }
	.helper-launch{ transition: none; }
}

/* ---------- Composer ---------- */
.helper-composer{
	flex-shrink: 0;
	background: var(--hp-surface);
	border-top: 1px solid var(--hp-line);
	padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
	display: flex;
	align-items: flex-end;
}
#helper_search{
	flex: 1;
	border: 0;
	outline: none;
	box-shadow: none;
	resize: none;
	background: transparent;
	font-size: 14px;
	line-height: 1.4;
	color: var(--hp-ink);
	padding: 9px 10px 9px 4px;
	max-height: 120px;
	overflow-y: auto;
	font-family: inherit;
}
#helper_search::placeholder{
	color: #9AA8BE;
}
.helper-send{
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 0;
	background: var(--hp-harbour);
	color: #fff;
	font-size: 15px;
	cursor: pointer;
	flex-shrink: 0;
	margin-left: 8px;
	padding: 0;
	transition: background 0.15s ease;
}
.helper-send:hover{
	background: var(--hp-harbour-deep);
}
.helper-send:focus{
	outline: none;
	box-shadow: 0 0 0 3px rgba(87,137,214,0.35);
}
.helper-send:disabled{
	background: var(--hp-line);
	color: var(--hp-soft);
	cursor: default;
}

/* ---------- Mobile ---------- */
@media (max-width: 575.98px){
	.helper-modal .modal-dialog{
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		width: 100%;
		max-width: 100%;
	}
	.helper-modal .modal-content{
		border-radius: 0;
	}
	.mebubble, .gptbubble{
		max-width: 92%;
	}
}
