/* AKQA reference geometry, reimplemented for the Tajan Azma RTL shell. */
.ta-assistant {
	--ta-assistant-ink: #262626;
	--ta-assistant-glass: rgba(255, 255, 255, .58);
	--ta-assistant-tint: rgba(0, 0, 0, .06);
	--ta-assistant-line: rgba(0, 0, 0, .09);
	--ta-assistant-chip: rgba(0, 0, 0, .04);
	--ta-assistant-gleam-core: rgba(0, 0, 0, .82);
	--ta-assistant-gleam-halo: rgba(0, 0, 0, .205);
	--ta-assistant-bottom: 60px;
	position: fixed;
	z-index: 990;
	inset-inline-start: 50%;
	bottom: calc(var(--ta-assistant-bottom) + var(--ta-assistant-keyboard, 0px) + env(safe-area-inset-bottom, 0px));
	width: 320px;
	max-width: calc(100% - 32px);
	transform: translateX(50%);
	color: var(--ta-assistant-ink);
	font: 400 16px/1.6 var(--tajco-site-font, Tahoma, sans-serif);
	text-align: start;
	transition: width .55s cubic-bezier(.19, 1, .22, 1), bottom .52s cubic-bezier(.2,.65,.3,1), opacity .25s ease, transform .55s cubic-bezier(.19,1,.22,1);
}
.ta-assistant[hidden], .ta-assistant [hidden] { display: none !important; }
.ta-assistant *, .ta-assistant *::before, .ta-assistant *::after { box-sizing: border-box; }
.ta-assistant__glass {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--ta-assistant-line);
	border-radius: 100px;
	background: var(--ta-assistant-tint);
	box-shadow: 0 8px 40px rgba(0, 0, 0, .05);
	backdrop-filter: blur(27px);
	-webkit-backdrop-filter: blur(27px);
	max-height: calc(var(--ta-assistant-viewport, 100dvh) - var(--ta-assistant-bottom) - 12px);
	transition: border-radius .6s cubic-bezier(.19, 1, .22, 1), box-shadow .3s ease;
	isolation: isolate;
}
.ta-assistant__glass::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--ta-assistant-glass);
	z-index: -1;
	pointer-events: none;
}
@property --ta-assistant-gleam { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.ta-assistant__glass::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 1px;
	background: conic-gradient(from var(--ta-assistant-gleam), transparent 0deg 276deg, var(--ta-assistant-gleam-halo) 310deg, var(--ta-assistant-gleam-core) 330deg 350deg, transparent 360deg);
	mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	mask-composite: exclude;
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	pointer-events: none;
	animation: ta-assistant-gleam 3s linear infinite;
}
.ta-assistant.is-open { width: 600px; }
.ta-assistant:not(.is-open), .ta-assistant:not(.is-open) .ta-assistant__glass, .ta-assistant:not(.is-open) .ta-assistant__links, .ta-assistant:not(.is-open) .ta-assistant__chips { transition-duration: .32s; }
.ta-assistant.is-open .ta-assistant__glass { border-radius: 20px; }
.ta-assistant__form { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0 15px; height: 54px; }
.ta-assistant__field { position: relative; flex: 1 1 auto; min-width: 0; }
html body .ta-assistant input {
	display: block;
	width: 100%;
	min-width: 0;
	height: 44px;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	outline: none;
	color: var(--ta-assistant-ink);
	font: inherit;
	line-height: 44px;
	direction: rtl;
}
html body .ta-assistant input::placeholder { color: transparent; }
html body .ta-assistant input:focus-visible { outline: none; }
.ta-assistant__prompt { position: absolute; inset: 0; display: flex; align-items: center; gap: 5px; white-space: nowrap; overflow: hidden; pointer-events: none; }
.ta-assistant__prompt [data-ta-assistant-prompt] { overflow: hidden; text-overflow: ellipsis; }
.ta-assistant__prompt .ta-assistant__word { display: inline-block; animation: ta-assistant-word .4s cubic-bezier(.2,.65,.3,1) both; }
.ta-assistant__prompt.is-leaving .ta-assistant__word { animation: ta-assistant-word-out .4s cubic-bezier(.2,.65,.3,1) both; }
.ta-assistant.is-editing .ta-assistant__prompt { visibility: hidden; }
.ta-assistant__caret { display: inline-block; width: 1px; height: 18px; flex: 0 0 1px; background: currentColor; animation: ta-assistant-caret 1s steps(2, end) infinite; }
.ta-assistant__field:focus-within .ta-assistant__caret { visibility: hidden; }
.ta-assistant__toggle, .ta-assistant__send {
	position: relative;
	display: grid;
	place-items: center;
	flex: 0 0 30px;
	width: 30px;
	height: 36px;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	cursor: pointer;
	box-shadow: none;
}
.ta-assistant__toggle span { position: absolute; width: 14px; height: 1px; background: currentColor; transition: transform .4s ease; }
.ta-assistant__toggle span:first-child { transform: translateY(-3px); }
.ta-assistant__toggle span:last-child { transform: translateY(3px); }
.ta-assistant.is-open .ta-assistant__toggle span:first-child { transform: rotate(45deg); }
.ta-assistant.is-open .ta-assistant__toggle span:last-child { transform: rotate(-45deg); }
.ta-assistant__send svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.ta-assistant__links { display: grid; grid-template-rows: 0fr; opacity: 0; visibility: hidden; transition: grid-template-rows .6s cubic-bezier(.19, 1, .22, 1), opacity .25s, visibility .25s; }
.ta-assistant__chips { display: flex; flex-wrap: wrap; gap: 8px; min-height: 0; overflow: hidden; padding: 0 15px; transition: padding .6s cubic-bezier(.19, 1, .22, 1); }
.ta-assistant.is-open .ta-assistant__links { grid-template-rows: 1fr; opacity: 1; visibility: visible; }
.ta-assistant.is-open .ta-assistant__chips { padding-top: 15px; padding-bottom: 15px; }
.ta-assistant__chips a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 7.5px 14px;
	border: 0;
	border-radius: 30px;
	background: var(--ta-assistant-chip);
	color: inherit;
	font: 400 13px/20px var(--tajco-site-font, Tahoma, sans-serif);
	text-decoration: none;
	white-space: nowrap;
	transition: background .25s ease, color .25s ease;
}
.ta-assistant__chips a:hover { background: rgba(0, 0, 0, .09); }
.ta-assistant :is(button, a):focus-visible { outline: 2px solid var(--tajco-site-accent, #008bae); outline-offset: -2px; }
.ta-assistant__field:focus-within { border-radius: 3px; box-shadow: 0 2px 0 -1px var(--ta-assistant-line); }
.ta-assistant__results { overflow: auto; max-height: min(327px, 38dvh, calc(var(--ta-assistant-viewport, 100dvh) - var(--ta-assistant-bottom) - 176px)); border-bottom: 1px solid var(--ta-assistant-line); }
.ta-assistant__answer { padding: 16px 15px; font-size: 17px; line-height: 1.8; overflow-wrap: anywhere; }
.ta-assistant__answer p { margin: 0; }
.ta-assistant__answer a { color: inherit; text-decoration: none; display: inline-block; margin-top: 8px; border-bottom: 1px solid currentColor; }
.ta-assistant__answer a::after { content: " ↙"; }
.ta-assistant__answer.is-arriving { animation: ta-assistant-word .4s ease both; }
.ta-assistant__sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ta-assistant.is-obscured { visibility: hidden; opacity: 0; pointer-events: none; }
html[data-tajco-theme="dark"] .ta-assistant {
	--ta-assistant-ink: #f2f2f2;
	--ta-assistant-glass: rgba(32, 32, 32, .72);
	--ta-assistant-tint: rgba(255, 255, 255, .06);
	--ta-assistant-line: rgba(255, 255, 255, .13);
	--ta-assistant-chip: rgba(255, 255, 255, .07);
	--ta-assistant-gleam-core: rgba(255, 255, 255, .82);
	--ta-assistant-gleam-halo: rgba(255, 255, 255, .205);
}
html[data-tajco-theme="dark"] .ta-assistant__chips a:hover { background: rgba(255, 255, 255, .15); }
@keyframes ta-assistant-word { from { opacity: 0; filter: blur(8px); transform: translateY(3px); } to { opacity: 1; filter: blur(0); transform: translateY(0); } }
@keyframes ta-assistant-word-out { to { opacity: 0; filter: blur(8px); transform: translateY(-3px); } }
@keyframes ta-assistant-gleam { to { --ta-assistant-gleam: 360deg; } }
@keyframes ta-assistant-caret { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.ta-assistant { --ta-assistant-glass: rgba(255, 255, 255, .96); }
	html[data-tajco-theme="dark"] .ta-assistant { --ta-assistant-glass: rgba(32, 32, 32, .97); }
}
.ta-assistant.is-docked { --ta-assistant-bottom: 168px; }
.ta-assistant.is-docked:not(:focus-within):not(.is-editing) .ta-assistant__toggle { visibility: hidden; }
@media (max-width: 600px) {
	.ta-assistant { --ta-assistant-bottom: 28px; width: calc(100% - 46px); max-width: calc(100% - 24px); }
	.ta-assistant.is-open { width: calc(100% - 24px); }
	.ta-assistant__glass { border-radius: 32px; backdrop-filter: blur(128px); -webkit-backdrop-filter: blur(128px); }
	.ta-assistant.is-open .ta-assistant__glass { border-radius: 16px; }
	.ta-assistant__chips { gap: 6px; }
	.ta-assistant__chips a { font-size: 12px; padding-inline: 11px; }
	.ta-assistant__answer { font-size: 16px; }
	.ta-assistant.is-docked { --ta-assistant-bottom: 56px; }
}
.ta-assistant.is-keyboard { --ta-assistant-bottom: 12px; }
@media (hover: hover) and (pointer: fine) and (min-width: 768px) {
	.ta-assistant:not(.is-open):hover { transform: translateX(50%) scale(1.1); }
	.ta-assistant__toggle:hover, .ta-assistant__send:hover { opacity: .8; }
	.ta-assistant__toggle:active, .ta-assistant__send:active { transform: scale(.97); }
}
@media (prefers-reduced-motion: reduce) {
	.ta-assistant, .ta-assistant *, .ta-assistant *::before, .ta-assistant *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
