/*! J Sons AI Assistant v2.0.0 */
#jsai-root {
	--jsai-primary: #0F2C4C;
	--jsai-accent: #19A7CE;
	--jsai-frost: #F3F8FC;
	--jsai-ink: #14212E;
	--jsai-muted: #5B6B7A;
	--jsai-mist: #DCE8F1;
	--jsai-wa: #1FAF55;
	--jsai-font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	position: fixed;
	bottom: var(--jsai-bottom, 20px);
	right: var(--jsai-side, 20px);
	z-index: 2147483000;
	transition: bottom .25s ease;
	font-family: var(--jsai-font);
	font-size: 15px;
	line-height: 1.5;
	color: var(--jsai-ink);
	-webkit-font-smoothing: antialiased;
}
#jsai-root.jsai-pos-left { right: auto; left: var(--jsai-side, 20px); }
#jsai-root *, #jsai-root *::before, #jsai-root *::after { box-sizing: border-box; }
#jsai-root button, #jsai-root input, #jsai-root select, #jsai-root textarea {
	font-family: inherit; font-size: inherit; color: inherit; letter-spacing: normal; text-transform: none;
	margin: 0; box-shadow: none; min-height: 0; line-height: 1.4;
}
/* Hard reset: many themes style every <button>/<input> globally. */
#jsai-root button {
	background: none; border: 0; padding: 0; cursor: pointer;
	width: auto; min-width: 0; max-width: none; height: auto;
	text-align: inherit; text-decoration: none; font-weight: inherit;
	border-radius: 0; box-shadow: none; text-shadow: none; outline-offset: 2px;
	-webkit-appearance: none; appearance: none;
}
#jsai-root button:hover, #jsai-root button:focus { background-image: none; text-decoration: none; }
#jsai-root svg { display: block; }
#jsai-root [hidden] { display: none !important; }
#jsai-root a { color: var(--jsai-accent); text-decoration: underline; text-underline-offset: 2px; }
#jsai-root :focus-visible { outline: 3px solid var(--jsai-accent); outline-offset: 2px; }
.jsai-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Launcher: the memorable piece ---------- */
.jsai-launcher {
	position: relative;
	width: 66px; height: 66px;
	border-radius: 50% !important;
	background: var(--jsai-primary) !important;
	border: 3px solid #fff !important;
	display: grid !important; place-items: center;
	box-shadow: 0 10px 28px -8px rgba(15, 44, 76, .55), 0 2px 6px rgba(15, 44, 76, .25) !important;
	transition: transform .2s ease;
}
.jsai-launcher:hover { transform: translateY(-2px); }
.jsai-launcher::after {
	content: ""; position: absolute; inset: -6px; border-radius: 50%;
	border: 2px solid var(--jsai-accent); opacity: 0;
	animation: jsai-ring 2.4s ease-out 1.2s 2;
}
.jsai-launcher-art { width: 48px; height: 48px; transition: transform .2s ease, opacity .2s ease; }
.jsai-launcher-close { position: absolute; width: 24px; height: 24px; color: #fff; opacity: 0; transform: rotate(-60deg) scale(.6); transition: .2s ease; }
.jsai-open .jsai-launcher-art { opacity: 0; transform: scale(.6); }
.jsai-open .jsai-launcher-close { opacity: 1; transform: none; }

.jsai-eyes { transform-origin: 32px 23px; animation: jsai-blink 5s infinite; }
.jsai-breeze path { animation: jsai-breeze 2.2s ease-in-out infinite; }
.jsai-breeze path:nth-child(2) { animation-delay: .3s; }
.jsai-breeze path:nth-child(3) { animation-delay: .6s; }

@keyframes jsai-ring { 0% { opacity: .9; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.35); } }
@keyframes jsai-blink { 0%, 94%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
@keyframes jsai-breeze { 0%, 100% { opacity: .25; transform: translateY(-1px); } 50% { opacity: 1; transform: translateY(2px); } }

/* ---------- Greeting bubble ---------- */
.jsai-teaser {
	position: absolute; bottom: 80px; right: 0;
	width: max-content; max-width: 260px;
	background: #fff; border: 1px solid var(--jsai-mist); border-radius: 16px;
	padding: 14px 38px 14px 16px;
	box-shadow: 0 16px 36px -14px rgba(15, 44, 76, .35);
	opacity: 0; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease;
}
.jsai-pos-left .jsai-teaser { right: auto; left: 0; }
.jsai-teaser::after {
	content: ""; position: absolute; bottom: -7px; right: 26px; width: 12px; height: 12px;
	background: #fff; border-right: 1px solid var(--jsai-mist); border-bottom: 1px solid var(--jsai-mist); transform: rotate(45deg);
}
.jsai-pos-left .jsai-teaser::after { right: auto; left: 26px; }
.jsai-teaser-in { opacity: 1; transform: none; }
.jsai-teaser-text { text-align: left; font-weight: 600 !important; font-family: var(--jsai-font) !important; font-size: 15px; color: var(--jsai-ink); }
.jsai-teaser-x { position: absolute; top: 10px; right: 10px; width: 20px; height: 20px; color: var(--jsai-muted); padding: 2px !important; }

/* ---------- Panel ---------- */
.jsai-panel {
	position: absolute; bottom: 84px; right: 0;
	width: 384px;
	height: min(640px, calc(100vh - 120px));
	display: flex; flex-direction: column;
	background: #fff;
	border-radius: 22px;
	overflow: hidden;
	max-width: calc(100vw - 32px);
	box-shadow: 0 30px 60px -20px rgba(15, 44, 76, .45), 0 0 0 1px rgba(15, 44, 76, .06);
	opacity: 0; transform: translateY(12px) scale(.98); transform-origin: bottom right;
	transition: opacity .2s ease, transform .2s ease;
}
.jsai-pos-left .jsai-panel { right: auto; left: 0; transform-origin: bottom left; }
.jsai-panel.jsai-in { opacity: 1; transform: none; }

.jsai-head {
	display: flex; align-items: center; gap: 12px;
	padding: 16px 14px 16px 16px;
	background: var(--jsai-primary);
	background-image: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--jsai-accent) 35%, transparent), transparent 60%);
	color: #fff;
}
.jsai-avatar { position: relative; width: 44px; height: 44px; border-radius: 14px; background: rgba(255, 255, 255, .12); display: grid; place-items: center; flex: none; }
.jsai-avatar-art { width: 36px; height: 36px; }
.jsai-dot { position: absolute; right: -2px; bottom: -2px; width: 12px; height: 12px; border-radius: 50%; background: #34D399; border: 2px solid var(--jsai-primary); }
.jsai-title { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.jsai-title strong { font-size: 16px; font-weight: 800; line-height: 1.25; color: #fff; }
.jsai-title span { font-size: 13px; opacity: .8; }
.jsai-icon-btn { width: 36px; height: 36px; border-radius: 10px !important; display: grid !important; place-items: center; color: #fff !important; transition: background .15s; }
.jsai-icon-btn:hover { background: rgba(255, 255, 255, .14) !important; }
.jsai-icon-btn svg { width: 20px; height: 20px; }

.jsai-actions { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--jsai-mist); background: #fff; }
#jsai-root .jsai-act {
	display: flex !important; flex-direction: column; align-items: center; gap: 3px;
	padding: 10px 4px !important;
	font-size: 12.5px; font-weight: 700; color: var(--jsai-primary) !important; text-decoration: none !important;
	transition: background .15s;
}
.jsai-act + .jsai-act { border-left: 1px solid var(--jsai-mist) !important; }
.jsai-act:hover { background: var(--jsai-frost) !important; }
.jsai-act svg { width: 20px; height: 20px; color: var(--jsai-accent); }
.jsai-act-wa svg { color: var(--jsai-wa); }

/* ---------- Messages ---------- */
.jsai-log { scrollbar-width: thin; scrollbar-color: #C9D8E4 transparent; flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; padding: 18px 14px 8px; background: var(--jsai-frost); scroll-behavior: smooth; overscroll-behavior: contain; }
.jsai-msg { display: flex; gap: 8px; margin-bottom: 12px; align-items: flex-end; animation: jsai-pop .2s ease; }
.jsai-user { justify-content: flex-end; }
.jsai-mini { width: 28px; height: 28px; border-radius: 9px; background: var(--jsai-primary); display: grid; place-items: center; flex: none; }
.jsai-mini svg { width: 22px; height: 22px; }
.jsai-bubble { max-width: 82%; padding: 11px 14px; border-radius: 16px; font-size: 14.5px; overflow-wrap: anywhere; }
.jsai-bot .jsai-bubble { background: #fff; border: 1px solid var(--jsai-mist); border-bottom-left-radius: 6px; }
.jsai-user .jsai-bubble { background: var(--jsai-primary); color: #fff; border-bottom-right-radius: 6px; }
.jsai-bubble p { margin: 0 0 8px; }
.jsai-bubble p:last-child { margin-bottom: 0; }
.jsai-bubble ul { margin: 4px 0 8px; padding-left: 18px; }
.jsai-bubble ul:last-child { margin-bottom: 0; }
.jsai-bubble li { margin: 2px 0; }
.jsai-bubble strong { font-weight: 800; }
@keyframes jsai-pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.jsai-typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.jsai-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--jsai-accent); animation: jsai-dot 1s infinite ease-in-out; }
.jsai-typing i:nth-child(2) { animation-delay: .15s; }
.jsai-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes jsai-dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }

.jsai-suggest { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin: -4px 0 14px 36px; }
.jsai-suggest button {
	text-align: left; font-size: 13.5px !important; font-weight: 600; color: var(--jsai-primary) !important;
	background: #fff !important; border: 1px solid var(--jsai-mist) !important; border-radius: 12px !important;
	padding: 7px 12px !important; transition: border-color .15s, background .15s;
}
.jsai-suggest button:hover { border-color: var(--jsai-accent) !important; background: color-mix(in srgb, var(--jsai-accent) 8%, #fff) !important; }

/* ---------- Chips ---------- */
.jsai-chips { display: flex; gap: 8px; overflow-x: auto; padding: 10px 14px; background: var(--jsai-frost); scrollbar-width: none; }
.jsai-chips::-webkit-scrollbar { display: none; }
.jsai-chips-hide { display: none; }
.jsai-chip {
	flex: none; white-space: nowrap; font-size: 13px !important; font-weight: 700; color: var(--jsai-primary) !important;
	background: #fff !important; border: 1.5px solid color-mix(in srgb, var(--jsai-accent) 55%, #fff) !important;
	border-radius: 999px !important; padding: 7px 13px !important; transition: background .15s;
}
.jsai-chip:hover { background: color-mix(in srgb, var(--jsai-accent) 10%, #fff) !important; }

/* ---------- Input ---------- */
.jsai-input { display: flex; gap: 8px; padding: 12px 14px 6px; background: #fff; border-top: 1px solid var(--jsai-mist); margin: 0; }
.jsai-input input {
	flex: 1; min-width: 0; height: 46px !important;
	border: 1.5px solid var(--jsai-mist) !important; border-radius: 999px !important;
	padding: 0 18px !important; background: #fff !important; font-size: 15px !important; outline: none;
	transition: border-color .15s;
}
#jsai-root .jsai-input input:focus, #jsai-root .jsai-input input:focus-visible { border-color: var(--jsai-accent) !important; outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--jsai-accent) 22%, transparent) !important; }
.jsai-input input::placeholder { color: #8A99A8; }
.jsai-send {
	width: 46px; height: 46px; flex: none; border-radius: 50% !important;
	background: var(--jsai-accent) !important; color: #fff !important;
	display: grid !important; place-items: center; transition: opacity .15s, transform .15s;
}
.jsai-send svg { width: 20px; height: 20px; }
.jsai-send:disabled { opacity: .35; cursor: default; }
.jsai-send:not(:disabled):hover { transform: scale(1.05); }
.jsai-foot { margin: 0 !important; padding: 2px 14px 10px; font-size: 11.5px; color: var(--jsai-muted); text-align: center; background: #fff; }

/* ---------- Quote card ---------- */
.jsai-card-row { display: block; }
.jsai-card { background: #fff; border: 1px solid var(--jsai-mist); border-radius: 16px; padding: 14px; margin: 0 0 4px 36px; }
.jsai-card-title { margin: 0 0 8px !important; font-weight: 800; font-size: 15px; color: var(--jsai-primary); }
.jsai-card label { display: block; font-size: 12.5px; font-weight: 700; color: var(--jsai-muted); margin: 0 0 8px; }
.jsai-card input, .jsai-card select, .jsai-card textarea {
	display: block; width: 100%; margin-top: 4px !important;
	border: 1.5px solid var(--jsai-mist) !important; border-radius: 10px !important;
	padding: 9px 11px !important; font-size: 14.5px !important; font-weight: 500; color: var(--jsai-ink) !important;
	background: #fff !important; outline: none; height: auto !important;
}
#jsai-root .jsai-card input:focus-visible, #jsai-root .jsai-card select:focus-visible, #jsai-root .jsai-card textarea:focus-visible, .jsai-card input:focus, .jsai-card select:focus, .jsai-card textarea:focus { border-color: var(--jsai-accent) !important; outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--jsai-accent) 22%, transparent) !important; }
.jsai-card textarea { resize: vertical; }
.jsai-card .jsai-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.jsai-card-err { margin: 0 0 8px !important; color: #B42318; font-size: 13px; font-weight: 600; }
.jsai-card-err:empty { display: none; }
.jsai-card-btn {
	width: 100%; height: 44px; border-radius: 12px !important;
	background: var(--jsai-primary) !important; color: #fff !important; font-weight: 800; font-size: 15px !important;
}
.jsai-card-btn:disabled { opacity: .6; }
.jsai-card-note { margin: 8px 0 0 !important; font-size: 11.5px; color: var(--jsai-muted); }

/* ---------- Mobile ---------- */
@media (max-width: 540px) {
	#jsai-root.jsai-no-mobile { display: none; }
	.jsai-launcher { width: 60px; height: 60px; }
	.jsai-launcher-art { width: 42px; height: 42px; }
	.jsai-teaser { bottom: 74px; max-width: calc(100vw - 32px); }
	.jsai-panel {
		position: fixed; inset: 0; width: 100%; height: 100%; height: 100dvh;
		border-radius: 0; transform: translateY(16px);
	}
	.jsai-head { padding-top: calc(14px + env(safe-area-inset-top, 0px)); }
	.jsai-foot { padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
	.jsai-open .jsai-launcher { display: none !important; }
	.jsai-input input { font-size: 16px !important; } /* prevents iOS zoom */
	.jsai-bubble { max-width: 86%; }
	html.jsai-lock, html.jsai-lock body { overflow: hidden; }
}

@media (prefers-reduced-motion: reduce) {
	#jsai-root *, #jsai-root *::before, #jsai-root *::after { animation: none !important; transition: none !important; }
}

@media print { #jsai-root { display: none; } }

#jsai-root .jsai-log::-webkit-scrollbar { width: 6px; height: 0; }
#jsai-root .jsai-log::-webkit-scrollbar-thumb { background: #C9D8E4; border-radius: 6px; }
#jsai-root .jsai-chips::-webkit-scrollbar { height: 0; }
#jsai-root .jsai-msg, #jsai-root .jsai-suggest, #jsai-root .jsai-card { min-width: 0; max-width: 100%; }
#jsai-root .jsai-bubble a { word-break: break-word; }

/* Send button: fixed size whatever the theme does */
#jsai-root .jsai-input { align-items: center; }
#jsai-root .jsai-send {
	width: 46px !important; height: 46px !important; min-width: 46px !important; max-width: 46px !important;
	flex: 0 0 46px !important; padding: 0 !important; margin: 0 !important;
	border-radius: 50% !important; line-height: 0 !important;
	display: grid !important; place-items: center !important;
}
#jsai-root .jsai-send svg { width: 20px !important; height: 20px !important; margin: 0 0 0 2px; }

/* Launcher: never stretched by theme button styles */
#jsai-root .jsai-launcher {
	width: 66px !important; height: 66px !important; min-width: 66px !important; padding: 0 !important; margin: 0 !important;
	border-radius: 50% !important;
}

/* Quote form button: full width, centred */
#jsai-root .jsai-card-btn {
	display: flex !important; align-items: center !important; justify-content: center !important;
	width: 100% !important; height: 46px !important; padding: 0 16px !important; margin: 4px 0 0 !important;
	text-align: center !important; font-size: 15px !important; font-weight: 800 !important;
	color: #fff !important; background: var(--jsai-primary) !important; border: 0 !important; border-radius: 12px !important;
	line-height: 1 !important; letter-spacing: 0 !important;
}
#jsai-root .jsai-card-btn:hover { filter: brightness(1.15); }

/* Icon buttons in the header */
#jsai-root .jsai-icon-btn { width: 36px !important; height: 36px !important; padding: 0 !important; flex: none; }

/* Chips / suggestion buttons keep their own padding */
#jsai-root .jsai-chip { padding: 7px 13px !important; line-height: 1.3 !important; width: auto !important; }
#jsai-root .jsai-suggest button { padding: 7px 12px !important; line-height: 1.35 !important; width: auto !important; max-width: 100%; white-space: normal; }
#jsai-root .jsai-teaser-text { padding: 0 !important; width: auto !important; line-height: 1.4 !important; }
#jsai-root .jsai-teaser-x { width: 20px !important; height: 20px !important; padding: 2px !important; }

@media (max-width: 540px) {
	#jsai-root .jsai-launcher { width: 60px !important; height: 60px !important; min-width: 60px !important; }
	#jsai-root .jsai-panel { max-width: 100vw; }
}

/* ================= v2 additions ================= */

/* Greeting bubble: always fits the screen, never clipped by theme styles */
#jsai-root .jsai-teaser {
	width: max-content !important;
	max-width: min(280px, calc(100vw - var(--jsai-side, 20px) - 16px)) !important;
	padding: 12px 40px 12px 16px !important;
	box-sizing: border-box !important;
}
#jsai-root .jsai-teaser-text {
	display: block !important; width: 100% !important; max-width: 100% !important;
	white-space: normal !important; overflow: visible !important; text-overflow: clip !important;
	overflow-wrap: anywhere; word-break: normal; height: auto !important; min-height: 0 !important;
	font-size: 14.5px !important; line-height: 1.45 !important; text-align: left !important;
	color: var(--jsai-ink) !important; background: none !important; border: 0 !important;
}
#jsai-root .jsai-teaser-x { position: absolute !important; top: 8px !important; right: 8px !important; color: var(--jsai-muted) !important; display: grid !important; place-items: center; }
#jsai-root .jsai-teaser-x svg { width: 14px; height: 14px; }

/* Unread badge on the launcher */
#jsai-root .jsai-unread {
	position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px;
	border-radius: 11px; background: #E5484D; color: #fff; font-size: 12px; font-weight: 800;
	display: grid; place-items: center; border: 2px solid #fff; line-height: 1;
}

/* Four quick actions */
#jsai-root .jsai-actions { grid-template-columns: repeat(4, 1fr); }
#jsai-root .jsai-act { font-size: 12px !important; text-align: center; }

/* Quick options stacked under messages */
.jsai-options { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; margin: -2px 0 14px 36px; }
#jsai-root .jsai-opt {
	display: inline-flex !important; align-items: center; gap: 9px; max-width: 100%;
	padding: 9px 14px 9px 10px !important; border-radius: 14px !important;
	background: #fff !important; border: 1px solid var(--jsai-mist) !important;
	color: var(--jsai-primary) !important; font-size: 14px !important; font-weight: 700 !important;
	line-height: 1.3 !important; text-align: left !important; white-space: normal !important; width: auto !important;
	box-shadow: 0 1px 2px rgba(15, 44, 76, .05) !important;
	transition: border-color .15s, background .15s, transform .15s;
}
#jsai-root .jsai-opt:hover { border-color: var(--jsai-accent) !important; background: color-mix(in srgb, var(--jsai-accent) 7%, #fff) !important; }
#jsai-root .jsai-opt:active { transform: scale(.98); }
#jsai-root .jsai-opt-ic { width: 26px; height: 26px; flex: none; border-radius: 8px; display: grid; place-items: center; background: color-mix(in srgb, var(--jsai-accent) 14%, #fff); color: var(--jsai-accent); }
#jsai-root .jsai-opt-ic svg { width: 15px; height: 15px; }
#jsai-root .jsai-opt-primary { background: var(--jsai-primary) !important; border-color: var(--jsai-primary) !important; color: #fff !important; }
#jsai-root .jsai-opt-primary:hover { background: var(--jsai-primary) !important; filter: brightness(1.15); }
#jsai-root .jsai-opt-primary .jsai-opt-ic { background: rgba(255,255,255,.16); color: #fff; }

/* Team messages */
.jsai-mini-agent { background: var(--jsai-accent) !important; }
.jsai-agent-av { color: #fff; font-weight: 800; font-size: 13px; }
.jsai-agent .jsai-bubble { border-color: color-mix(in srgb, var(--jsai-accent) 45%, #fff) !important; background: color-mix(in srgb, var(--jsai-accent) 6%, #fff) !important; }
.jsai-who { display: block; font-size: 11.5px; font-weight: 800; color: var(--jsai-accent); margin-bottom: 2px; }
.jsai-system { justify-content: center; }
.jsai-system span { font-size: 12px; color: var(--jsai-muted); background: #fff; border: 1px solid var(--jsai-mist); padding: 4px 12px; border-radius: 99px; text-align: center; max-width: 90%; }
#jsai-root.jsai-live-on .jsai-dot { background: var(--jsai-accent); }
#jsai-root.jsai-live-wait .jsai-dot { background: #F5A524; animation: jsai-pulse 1.4s infinite; }
@keyframes jsai-pulse { 50% { opacity: .35; } }

/* Forms */
.jsai-opt-l { font-weight: 500; color: #8A99A8; }
.jsai-card-hint { margin: -2px 0 8px !important; font-size: 12px; color: var(--jsai-muted); }
#jsai-root .jsai-card-skip {
	display: block !important; width: 100% !important; margin: 8px 0 0 !important; padding: 8px !important;
	text-align: center !important; color: var(--jsai-muted) !important; font-size: 13.5px !important; font-weight: 600 !important;
	background: none !important; border: 0 !important; text-decoration: underline !important;
}
#jsai-root .jsai-card select optgroup { font-weight: 700; color: var(--jsai-primary); }
#jsai-root .jsai-card select option { font-weight: 500; color: var(--jsai-ink); }
#jsai-root .jsai-card select { -webkit-appearance: auto !important; appearance: auto !important; }

/* Footer */
#jsai-root .jsai-foot a { color: var(--jsai-muted); }

/* Small phones */
@media (max-width: 380px) {
	#jsai-root .jsai-act { font-size: 11px !important; padding: 9px 2px !important; }
	#jsai-root .jsai-act svg { width: 18px; height: 18px; }
	.jsai-options { margin-left: 0; }
	.jsai-card { margin-left: 0 !important; }
	.jsai-mini { display: none; }
	.jsai-bubble { max-width: 92% !important; }
}
@media (max-width: 540px) and (min-width: 381px) {
	.jsai-options { margin-left: 36px; }
	#jsai-root .jsai-opt { font-size: 14.5px !important; padding: 10px 14px 10px 10px !important; }
}

/* v2.2: required fields */
#jsai-root .jsai-card label.jsai-invalid { color: #B42318; }
#jsai-root .jsai-card label.jsai-invalid input,
#jsai-root .jsai-card label.jsai-invalid select,
#jsai-root .jsai-card label.jsai-invalid textarea { border-color: #E5484D !important; background: #FFF7F7 !important; }
.jsai-field-hint { display: block; font-weight: 500; font-size: 11.5px; color: #8A99A8; margin-top: 3px; }
#jsai-root .jsai-card input::placeholder, #jsai-root .jsai-card textarea::placeholder { color: #9AA8B5; font-weight: 400; }
