:root {
	--hit-bot-burgundy: #4c2d33;
	--hit-bot-burgundy-deep: #342026;
	--hit-bot-cream: #f2e7df;
	--hit-bot-cream-light: #fffaf6;
	--hit-bot-gold: #d4af37;
	--hit-bot-gold-dark: #9d7a12;
	--hit-bot-text: #251d1f;
	--hit-bot-muted: #66585c;
	--hit-bot-white: #ffffff;
	--hit-bot-danger: #7a1717;
	--hit-bot-focus: #075fc7;
	--hit-bot-shadow: 0 28px 85px rgba(29, 17, 21, 0.34);
	--hit-bot-desktop-right: 28px;
	--hit-bot-mobile-bottom: 12px;
}


/* Shortcode button: compact, theme-safe and intentionally free of pink hover states. */
.hit-chronicler-shortcut.hit-chronicler-shortcut {
	-webkit-appearance: none !important;
	appearance: none !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 7px !important;
	width: auto !important;
	max-width: 100% !important;
	min-width: 0 !important;
	min-height: 40px !important;
	margin: 0 !important;
	padding: 8px 14px !important;
	border: 1px solid var(--hit-bot-burgundy) !important;
	border-radius: 10px !important;
	background: var(--hit-bot-burgundy) !important;
	background-image: none !important;
	color: var(--hit-bot-white) !important;
	font-family: Heebo, Arial, sans-serif !important;
	font-size: 15px !important;
	font-style: normal !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	letter-spacing: 0 !important;
	text-align: center !important;
	text-decoration: none !important;
	text-shadow: none !important;
	white-space: nowrap !important;
	cursor: pointer !important;
	box-shadow: 0 2px 7px rgba(76,45,51,.14) !important;
	filter: none !important;
	opacity: 1 !important;
	transform: none !important;
	transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease !important;
	isolation: isolate;
}
.hit-chronicler-shortcut.hit-chronicler-shortcut::before,
.hit-chronicler-shortcut.hit-chronicler-shortcut::after {
	content: none !important;
	display: none !important;
}
.hit-chronicler-shortcut.hit-chronicler-shortcut:hover,
.hit-chronicler-shortcut.hit-chronicler-shortcut:active {
	border-color: var(--hit-bot-gold) !important;
	background: var(--hit-bot-burgundy-deep) !important;
	background-image: none !important;
	color: var(--hit-bot-white) !important;
	box-shadow: 0 2px 8px rgba(52,32,38,.18) !important;
	filter: none !important;
	transform: none !important;
}
.hit-chronicler-shortcut.hit-chronicler-shortcut:focus-visible {
	outline: 3px solid var(--hit-bot-focus) !important;
	outline-offset: 3px !important;
}
.hit-chronicler-shortcut.hit-chronicler-shortcut--outline {
	background: transparent !important;
	color: var(--hit-bot-burgundy) !important;
	box-shadow: none !important;
}
.hit-chronicler-shortcut.hit-chronicler-shortcut--outline:hover,
.hit-chronicler-shortcut.hit-chronicler-shortcut--outline:active {
	border-color: var(--hit-bot-gold) !important;
	background: var(--hit-bot-cream-light) !important;
	color: var(--hit-bot-burgundy-deep) !important;
}
.hit-chronicler-shortcut.hit-chronicler-shortcut--plain {
	min-height: 36px !important;
	padding: 6px 8px !important;
	border-color: transparent !important;
	border-radius: 8px !important;
	background: transparent !important;
	color: var(--hit-bot-burgundy) !important;
	box-shadow: none !important;
}
.hit-chronicler-shortcut.hit-chronicler-shortcut--plain:hover,
.hit-chronicler-shortcut.hit-chronicler-shortcut--plain:active {
	background: var(--hit-bot-cream-light) !important;
	color: var(--hit-bot-burgundy-deep) !important;
}
.hit-chronicler-shortcut.hit-chronicler-shortcut--icon {
	width: 40px !important;
	height: 40px !important;
	min-height: 40px !important;
	padding: 0 !important;
	border-radius: 50% !important;
}
.hit-chronicler-shortcut--icon .hit-chronicler-shortcut__label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hit-chronicler-shortcut.hit-chronicler-shortcut--small { min-height: 34px !important; padding: 6px 11px !important; font-size: 14px !important; }
.hit-chronicler-shortcut.hit-chronicler-shortcut--large { min-height: 44px !important; padding: 10px 17px !important; font-size: 16px !important; }
.hit-chronicler-shortcut__icon { width: 16px !important; height: 16px !important; flex: 0 0 auto; }
.hit-chronicler-shortcut__label { overflow: hidden; text-overflow: ellipsis; }
@media (prefers-reduced-motion: reduce) { .hit-chronicler-shortcut.hit-chronicler-shortcut { transition: none !important; } }

.hit-bot-sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

html.hit-bot-scroll-lock,
body.hit-bot-scroll-lock {
	overflow: hidden !important;
	overscroll-behavior: none;
}


/* Chronicler Identity System 4.4 */
.hit-bot-brand-mark {
	position: relative;
	display: inline-grid;
	place-items: center;
	flex: 0 0 auto;
	isolation: isolate;
}

.hit-bot-brand-mark--header {
	width: 42px;
	height: 42px;
	margin-inline-end: 1px;
}

.hit-bot-brand-ring {
	position: absolute;
	inset: 1px;
	border: 1.5px solid rgba(212, 175, 55, 0.7);
	border-radius: 50%;
	box-shadow: inset 0 0 0 4px rgba(212, 175, 55, 0.06), 0 0 14px rgba(212, 175, 55, 0.14);
	pointer-events: none;
}

.hit-bot-brand-ring::before {
	content: "";
	position: absolute;
	inset: -2px;
	border-radius: inherit;
	border-top: 2px solid var(--hit-bot-gold);
	border-left: 2px solid transparent;
	border-right: 2px solid transparent;
	border-bottom: 2px solid transparent;
	opacity: 0;
}

.hit-bot-brand-icon {
	position: relative;
	z-index: 2;
	width: 29px;
	height: 29px;
	color: var(--hit-bot-gold);
	transform-origin: 34% 74%;
	filter: drop-shadow(0 2px 5px rgba(0,0,0,0.22));
}

.hit-bot-brand-ink {
	position: absolute;
	z-index: 1;
	left: 10px;
	right: 8px;
	bottom: 4px;
	height: 2px;
	border-radius: 999px;
	background: linear-gradient(90deg, transparent, var(--hit-bot-gold), transparent);
	transform: scaleX(0);
	transform-origin: right center;
	opacity: 0;
}

.hit-bot-brand-spark {
	position: absolute;
	z-index: 3;
	top: 1px;
	left: 2px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #fff4b8;
	box-shadow: 0 0 10px 3px rgba(255, 226, 116, 0.45);
	opacity: 0;
}

.hit-bot-brand-status {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 18px;
	margin-top: 5px;
	color: #f8eee9;
	font-size: 0.76rem;
	font-weight: 700;
	line-height: 1.35;
}

.hit-bot-presence-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--hit-bot-gold);
	box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.5);
	flex: 0 0 auto;
}

#hit-history-bot-root[data-chronicler-state="idle"] .hit-bot-brand-icon {
	animation: hitBotFeatherBreathe 3.8s ease-in-out infinite;
}
#hit-history-bot-root[data-chronicler-state="idle"] .hit-bot-presence-dot {
	animation: hitBotPresencePulse 2.6s ease-out infinite;
}
#hit-history-bot-root[data-chronicler-state="listening"] .hit-bot-brand-icon {
	animation: hitBotFeatherListen 0.72s ease-in-out infinite alternate;
}
#hit-history-bot-root[data-chronicler-state="listening"] .hit-bot-brand-ink {
	animation: hitBotInkListen 1.15s ease-in-out infinite;
}
#hit-history-bot-root[data-chronicler-state="searching"] .hit-bot-brand-ring::before {
	opacity: 1;
	animation: hitBotRingSearch 1.05s linear infinite;
}
#hit-history-bot-root[data-chronicler-state="searching"] .hit-bot-brand-icon {
	animation: hitBotFeatherDip 1.05s ease-in-out infinite;
}
#hit-history-bot-root[data-chronicler-state="thinking"] .hit-bot-brand-icon {
	animation: hitBotFeatherWrite 0.82s cubic-bezier(.4,0,.2,1) infinite;
}
#hit-history-bot-root[data-chronicler-state="thinking"] .hit-bot-brand-ink {
	animation: hitBotInkWrite 0.82s ease-in-out infinite;
}
#hit-history-bot-root[data-chronicler-state="ready"] .hit-bot-brand-ring,
#hit-history-bot-root[data-chronicler-state="ready"] .hit-bot-presence-dot {
	animation: hitBotReadyGlow 0.72s ease-out 1;
}
#hit-history-bot-root[data-chronicler-state="ready"] .hit-bot-brand-spark {
	animation: hitBotSpark 0.82s ease-out 1;
}
#hit-history-bot-root[data-chronicler-state="error"] .hit-bot-brand-ring {
	border-color: #e59a86;
	box-shadow: 0 0 12px rgba(229,154,134,.28);
}

@keyframes hitBotFeatherBreathe {
	0%,100% { transform: translateY(0) rotate(-1deg) scale(1); }
	50% { transform: translateY(-1.5px) rotate(1.5deg) scale(1.035); }
}
@keyframes hitBotPresencePulse {
	0% { box-shadow: 0 0 0 0 rgba(212,175,55,.48); }
	65%,100% { box-shadow: 0 0 0 7px rgba(212,175,55,0); }
}
@keyframes hitBotFeatherListen {
	from { transform: rotate(-4deg) translateY(0); }
	to { transform: rotate(4deg) translateY(-1px); }
}
@keyframes hitBotInkListen {
	0%,100% { transform: scaleX(.15); opacity: .22; }
	50% { transform: scaleX(.8); opacity: .72; }
}
@keyframes hitBotRingSearch { to { transform: rotate(360deg); } }
@keyframes hitBotFeatherDip {
	0%,100% { transform: translateY(0) rotate(-3deg); }
	50% { transform: translateY(2px) rotate(3deg); }
}
@keyframes hitBotFeatherWrite {
	0%,100% { transform: translate3d(1px,-1px,0) rotate(-8deg); }
	50% { transform: translate3d(-3px,2px,0) rotate(5deg); }
}
@keyframes hitBotInkWrite {
	0% { transform: scaleX(.08); opacity: .2; }
	55% { transform: scaleX(1); opacity: .92; }
	100% { transform: scaleX(.28); opacity: .25; }
}
@keyframes hitBotReadyGlow {
	0% { transform: scale(.86); box-shadow: 0 0 0 rgba(212,175,55,0); }
	55% { transform: scale(1.08); box-shadow: 0 0 20px rgba(212,175,55,.56); }
	100% { transform: scale(1); }
}
@keyframes hitBotSpark {
	0% { opacity: 0; transform: translate(5px,5px) scale(.3); }
	45% { opacity: 1; transform: translate(0,0) scale(1.25); }
	100% { opacity: 0; transform: translate(-4px,-5px) scale(.45); }
}

/* נוכחות מותג בכפתורי האתר ובווידג'ט הבית */
.hit-chronicler-brand-trigger,
.hit-chronicler-brand-surface {
	position: relative !important;
	isolation: isolate;
}
.hit-chronicler-brand-trigger::before,
.hit-chronicler-brand-surface::before {
	content: "";
	position: absolute;
	inset: 5px;
	border: 1px solid rgba(212,175,55,.52);
	border-radius: 50%;
	pointer-events: none;
	opacity: .68;
}
.hit-chronicler-brand-trigger[data-hit-chronicler-state="idle"]::before,
.hit-chronicler-brand-surface[data-hit-chronicler-state="idle"]::before {
	animation: hitBotPresencePulse 2.8s ease-out infinite;
}
.hit-chronicler-brand-trigger[data-hit-chronicler-state="listening"] i,
.hit-chronicler-brand-trigger[data-hit-chronicler-state="listening"] svg,
.hit-chronicler-brand-surface[data-hit-chronicler-state="listening"] i,
.hit-chronicler-brand-surface[data-hit-chronicler-state="listening"] svg {
	animation: hitBotFeatherListen .72s ease-in-out infinite alternate;
}
.hit-chronicler-brand-trigger[data-hit-chronicler-state="searching"]::before,
.hit-chronicler-brand-surface[data-hit-chronicler-state="searching"]::before {
	border-top-width: 2px;
	border-right-color: transparent;
	animation: hitBotRingSearch 1.05s linear infinite;
}
.hit-chronicler-brand-trigger[data-hit-chronicler-state="thinking"] i,
.hit-chronicler-brand-trigger[data-hit-chronicler-state="thinking"] svg,
.hit-chronicler-brand-surface[data-hit-chronicler-state="thinking"] i,
.hit-chronicler-brand-surface[data-hit-chronicler-state="thinking"] svg {
	animation: hitBotFeatherWrite .82s ease-in-out infinite;
}
.hit-chronicler-brand-trigger[data-hit-chronicler-state="ready"]::before,
.hit-chronicler-brand-surface[data-hit-chronicler-state="ready"]::before {
	animation: hitBotReadyGlow .72s ease-out 1;
}
.hit-chronicler-brand-surface[data-hit-logo-clickable="true"] {
	cursor: pointer;
}
.hit-chronicler-brand-surface:focus-visible {
	outline: 3px solid var(--hit-bot-gold, #d4af37);
	outline-offset: 4px;
}

/* רמז נוכחות מקומי ליד שדות חיפוש */
.hit-chronicler-search-presence {
	position: fixed;
	z-index: 2147482500;
	display: none;
	align-items: center;
	gap: 10px;
	max-width: min(390px, calc(100vw - 20px));
	padding: 9px 10px 9px 12px;
	border: 1px solid rgba(212,175,55,.72);
	border-radius: 15px;
	background: rgba(255,250,246,.98);
	color: #342026;
	box-shadow: 0 14px 34px rgba(52,32,38,.2);
	font-family: Heebo, Arial, sans-serif;
	direction: rtl;
	text-align: right;
}
.hit-chronicler-search-presence.is-visible { display: flex; }
.hit-chronicler-search-presence-mark {
	position: relative;
	width: 32px;
	height: 32px;
	display: grid;
	place-items: center;
	flex: 0 0 32px;
	border: 1px solid rgba(212,175,55,.72);
	border-radius: 50%;
	background: #4c2d33;
	color: #d4af37;
}
.hit-chronicler-search-presence-mark svg { width: 20px; height: 20px; fill: currentColor; }
.hit-chronicler-search-presence-copy { min-width: 0; flex: 1; }
.hit-chronicler-search-presence-title { display: block; font-size: .78rem; font-weight: 900; line-height: 1.3; }
.hit-chronicler-search-presence-text { display: block; margin-top: 1px; font-size: .72rem; line-height: 1.35; color: #66585c; }
.hit-chronicler-search-presence button {
	flex: 0 0 auto;
	min-height: 34px;
	padding: 5px 10px !important;
	border: 1px solid #4c2d33 !important;
	border-radius: 999px !important;
	background: #4c2d33 !important;
	color: #fff !important;
	font: 800 .72rem/1.2 Heebo, Arial, sans-serif;
	cursor: pointer;
}
.hit-chronicler-search-presence button:hover,
.hit-chronicler-search-presence button:focus-visible {
	background: #d4af37 !important;
	border-color: #d4af37 !important;
	color: #342026 !important;
}
.hit-chronicler-search-field-active {
	box-shadow: 0 0 0 3px rgba(212,175,55,.18) !important;
}

#hit-history-bot-root[data-chronicler-motion="subtle"] .hit-bot-brand-icon,
.hit-chronicler-brand-trigger[data-hit-chronicler-motion="subtle"] i,
.hit-chronicler-brand-trigger[data-hit-chronicler-motion="subtle"] svg,
.hit-chronicler-brand-surface[data-hit-chronicler-motion="subtle"] i,
.hit-chronicler-brand-surface[data-hit-chronicler-motion="subtle"] svg {
	animation-duration: 1.8s !important;
}
#hit-history-bot-root[data-chronicler-motion="off"] *,
.hit-chronicler-brand-trigger[data-hit-chronicler-motion="off"] *,
.hit-chronicler-brand-trigger[data-hit-chronicler-motion="off"]::before,
.hit-chronicler-brand-surface[data-hit-chronicler-motion="off"] *,
.hit-chronicler-brand-surface[data-hit-chronicler-motion="off"]::before {
	animation: none !important;
	transition: none !important;
}

#hit-history-bot-root {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	pointer-events: none;
	font-family: Heebo, Arial, sans-serif;
	direction: rtl;
	text-align: right;
	color-scheme: light;
}

#hit-history-bot-root,
#hit-history-bot-root * {
	box-sizing: border-box;
}

#hit-history-bot-root button,
#hit-history-bot-root textarea,
#hit-history-bot-root a {
	font-family: inherit;
	-webkit-tap-highlight-color: transparent;
}

#hit-history-bot-root[hidden] {
	display: none !important;
}

.hit-bot-overlay {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0 !important;
	border-radius: 0 !important;
	padding: 0;
	margin: 0;
	background: rgba(24, 15, 18, 0.62) !important;
	box-shadow: none !important;
	opacity: 0;
	pointer-events: none;
	cursor: default;
	transition: opacity 190ms ease;
}

.hit-bot-overlay:hover,
.hit-bot-overlay:focus,
.hit-bot-overlay:active {
	background: rgba(24, 15, 18, 0.62) !important;
}

.hit-bot-dialog {
	position: absolute;
	top: 50%;
	left: 50%;
	right: auto;
	width: min(470px, calc(100vw - 40px));
	height: min(750px, calc(100dvh - 48px));
	max-height: 86vh;
	display: grid;
	grid-template-rows: auto minmax(0, 1fr) auto;
	overflow: hidden;
	background: var(--hit-bot-cream);
	color: var(--hit-bot-text);
	border: 3px solid var(--hit-bot-gold);
	border-radius: 26px;
	box-shadow: var(--hit-bot-shadow);
	opacity: 0;
	transform: translate(-50%, -50%) scale(0.985);
	pointer-events: none;
	transition: opacity 190ms ease, transform 190ms ease;
	isolation: isolate;
}

#hit-history-bot-root.is-open {
	pointer-events: auto;
}

#hit-history-bot-root.is-open .hit-bot-overlay {
	opacity: 1;
	pointer-events: auto;
}

#hit-history-bot-root.is-open .hit-bot-dialog {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
	pointer-events: auto;
}

.hit-bot-header {
	position: relative;
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 94px;
	padding: 18px 20px;
	background:
		linear-gradient(135deg, rgba(255,255,255,0.035), transparent 48%),
		var(--hit-bot-burgundy);
	color: var(--hit-bot-white);
	border-bottom: 2px solid var(--hit-bot-gold);
}

.hit-bot-heading {
	min-width: 0;
	flex: 1;
	padding-inline-start: 2px;
}

.hit-bot-title-row {
	display: flex;
	align-items: center;
	gap: 10px;
}

.hit-bot-brand-icon {
	flex: 0 0 auto;
	width: 31px;
	height: 31px;
	color: var(--hit-bot-gold);
}

.hit-bot-title {
	margin: 0;
	color: var(--hit-bot-white) !important;
	font-size: clamp(1.35rem, 1.8vw, 1.65rem);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.015em;
}

.hit-bot-subtitle {
	margin: 5px 0 0;
	color: #f5ece7 !important;
	font-size: 0.92rem;
	line-height: 1.5;
	font-weight: 400;
}

.hit-bot-close {
	flex: 0 0 auto;
	width: 52px;
	height: 52px;
	display: inline-grid;
	place-items: center;
	padding: 0 !important;
	border: 2px solid var(--hit-bot-gold) !important;
	border-radius: 16px !important;
	background: transparent !important;
	color: var(--hit-bot-white) !important;
	box-shadow: none !important;
	cursor: pointer;
	touch-action: manipulation;
	transition: background-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.hit-bot-close:hover {
	background: var(--hit-bot-gold) !important;
	color: var(--hit-bot-burgundy-deep) !important;
	transform: translateY(-1px);
}

.hit-bot-close:active {
	background: var(--hit-bot-gold-dark) !important;
	color: var(--hit-bot-white) !important;
	transform: translateY(0);
}

.hit-bot-close svg {
	width: 25px;
	height: 25px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.2;
	stroke-linecap: round;
}

.hit-bot-messages {
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-gutter: stable;
	padding: 26px 22px 24px;
	display: flex;
	flex-direction: column;
	gap: 18px;
	background:
		radial-gradient(circle at 8% 0%, rgba(212, 175, 55, 0.12), transparent 34%),
		linear-gradient(180deg, #f8efe8 0%, var(--hit-bot-cream) 100%);
	scrollbar-color: var(--hit-bot-burgundy) transparent;
}

.hit-bot-message {
	width: fit-content;
	max-width: 91%;
	padding: 15px 18px;
	border-radius: 20px;
	font-size: 1rem;
	line-height: 1.78;
	overflow-wrap: break-word;
	word-break: normal;
	white-space: pre-wrap;
	direction: rtl;
	text-align: right;
	unicode-bidi: plaintext;
	letter-spacing: 0;
}

.hit-bot-message p {
	margin: 0;
}

.hit-bot-message p + p {
	margin-top: 0.8em;
}

.hit-bot-welcome {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	align-items: start;
	gap: 13px;
	width: 100%;
	padding: 17px 18px;
	border: 1px solid rgba(76, 45, 51, 0.16);
	border-radius: 20px;
	background: var(--hit-bot-white);
	box-shadow: 0 10px 28px rgba(76, 45, 51, 0.08);
}

.hit-bot-welcome-icon {
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border-radius: 14px;
	background: var(--hit-bot-burgundy);
	color: var(--hit-bot-gold);
}

.hit-bot-welcome-icon svg {
	width: 24px;
	height: 24px;
	fill: currentColor;
}

.hit-bot-welcome-copy {
	min-width: 0;
}

.hit-bot-welcome-title {
	margin: 0 0 4px;
	color: var(--hit-bot-burgundy);
	font-size: 1.04rem;
	font-weight: 800;
	line-height: 1.45;
}

.hit-bot-welcome-text {
	margin: 0;
	color: var(--hit-bot-text);
	font-size: 0.94rem;
	line-height: 1.68;
	text-align: right;
}

.hit-bot-message--assistant {
	align-self: stretch;
	width: 100%;
	max-width: 100%;
	background: var(--hit-bot-white);
	color: var(--hit-bot-text);
	border: 1px solid rgba(76, 45, 51, 0.16);
	border-radius: 22px 22px 8px 22px;
	box-shadow: 0 10px 28px rgba(76, 45, 51, 0.09);
}


.hit-bot-message--assistant.is-typing::after {
	content: "▌";
	display: inline-block;
	margin-inline-start: 3px;
	font-weight: 800;
	animation: hitBotTypingCursor 0.72s steps(1, end) infinite;
}

@keyframes hitBotTypingCursor {
	0%, 48% { opacity: 1; }
	49%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.hit-bot-message--assistant.is-typing::after {
		animation: none;
		opacity: 1;
	}
}

.hit-bot-message--user {
	align-self: flex-end;
	background: var(--hit-bot-burgundy);
	color: var(--hit-bot-white);
	border: 1px solid var(--hit-bot-burgundy);
	border-radius: 20px 20px 20px 7px;
	box-shadow: 0 8px 22px rgba(76, 45, 51, 0.18);
}

.hit-bot-message--error {
	align-self: stretch;
	width: 100%;
	max-width: 100%;
	background: #fff8f2;
	color: var(--hit-bot-danger);
	border: 2px solid #b35a45;
}

.hit-bot-quick-wrap {
	display: grid;
	gap: 12px;
	margin: 2px 0 4px;
}

.hit-bot-quick-title {
	margin: 0;
	color: var(--hit-bot-burgundy);
	font-size: 0.98rem;
	font-weight: 800;
	text-align: center;
}

.hit-bot-quick-title::after {
	content: "";
	display: block;
	width: 72px;
	height: 2px;
	margin: 8px auto 0;
	border-radius: 999px;
	background: var(--hit-bot-gold);
}

.hit-bot-quick-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	justify-content: center;
	gap: 10px;
	width: 100%;
	margin: 0 auto;
}

.hit-bot-quick-action[hidden] {
	display: none !important;
}

.hit-bot-quick-action {
	min-height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 14px !important;
	border: 2px solid var(--hit-bot-burgundy) !important;
	border-radius: 999px !important;
	background: var(--hit-bot-white) !important;
	color: var(--hit-bot-burgundy) !important;
	box-shadow: 0 5px 14px rgba(76, 45, 51, 0.06) !important;
	font-size: 0.92rem;
	font-weight: 750;
	line-height: 1.35;
	text-align: center;
	cursor: pointer;
	touch-action: manipulation;
	transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease, transform 150ms ease;
}


.hit-bot-quick-action:hover {
	background: var(--hit-bot-burgundy) !important;
	border-color: var(--hit-bot-burgundy) !important;
	color: var(--hit-bot-white) !important;
	transform: translateY(-1px);
}

.hit-bot-quick-action:active {
	background: var(--hit-bot-burgundy-deep) !important;
	border-color: var(--hit-bot-gold) !important;
	color: var(--hit-bot-white) !important;
	transform: translateY(0);
}

.hit-bot-related {
	align-self: stretch;
	padding: 15px 17px;
	border: 1px solid rgba(76, 45, 51, 0.18);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.88);
}

.hit-bot-related-title {
	margin: 0 0 9px;
	font-size: 0.95rem;
	font-weight: 800;
}

.hit-bot-related-list {
	margin: 0;
	padding-inline-start: 0;
	padding-inline-end: 22px;
	text-align: right;
}

.hit-bot-related-list li + li {
	margin-top: 7px;
}

.hit-bot-related a,
.hit-bot-related a:visited {
	color: var(--hit-bot-burgundy) !important;
	background: transparent !important;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: var(--hit-bot-gold);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.hit-bot-related a:hover {
	color: var(--hit-bot-burgundy-deep) !important;
	background: #fff7e5 !important;
	text-decoration-color: var(--hit-bot-burgundy);
}

.hit-bot-related a:active {
	color: var(--hit-bot-white) !important;
	background: var(--hit-bot-burgundy) !important;
}

.hit-bot-feedback {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 7px;
	margin: 2px 0 10px;
	padding: 0 4px;
	color: var(--hit-bot-muted);
	font-size: 0.75rem;
}

.hit-bot-feedback button {
	min-height: 31px;
	padding: 4px 9px !important;
	border: 1px solid rgba(76, 45, 51, 0.24) !important;
	border-radius: 999px !important;
	background: rgba(255, 255, 255, 0.48) !important;
	color: var(--hit-bot-burgundy) !important;
	box-shadow: none !important;
	cursor: pointer;
	font-size: 0.72rem;
	font-weight: 700;
}

.hit-bot-feedback button:hover,
.hit-bot-feedback button:focus-visible,
.hit-discovery-auto-ask:focus-visible {
	border-color: var(--hit-bot-gold) !important;
	background: var(--hit-bot-cream-light) !important;
}

.hit-bot-feedback.is-sent button {
	display: none;
}

.hit-bot-feedback-status {
	font-weight: 700;
	color: var(--hit-bot-burgundy);
}

.hit-bot-basis {
	align-self: stretch;
	padding: 10px 13px;
	border: 1px solid rgba(76, 45, 51, 0.16);
	border-radius: 14px;
	background: rgba(255, 250, 246, 0.82);
	color: var(--hit-bot-muted);
	font-size: 0.84rem;
}

.hit-bot-basis summary {
	cursor: pointer;
	color: var(--hit-bot-burgundy);
	font-weight: 800;
	list-style-position: inside;
}

.hit-bot-basis summary:hover {
	color: var(--hit-bot-burgundy-deep);
}

.hit-bot-basis-list {
	margin: 9px 0 0;
	padding: 0 18px 0 0;
	line-height: 1.55;
}

.hit-bot-basis-list li + li {
	margin-top: 4px;
}



.hit-bot-status--identity .hit-bot-brand-icon { color: var(--hit-bot-burgundy); filter: none; }
.hit-bot-status--identity .hit-bot-brand-ring { border-color: rgba(76,45,51,.35); box-shadow: none; }
.hit-bot-status--identity[data-stage="searching"] .hit-bot-brand-ring::before { opacity: 1; animation: hitBotRingSearch 1.05s linear infinite; border-top-color: var(--hit-bot-burgundy); }
.hit-bot-status--identity[data-stage="thinking"] .hit-bot-brand-icon { animation: hitBotFeatherWrite .82s ease-in-out infinite; }
.hit-bot-status--identity[data-stage="thinking"] .hit-bot-brand-ink { animation: hitBotInkWrite .82s ease-in-out infinite; background: var(--hit-bot-burgundy); }

.hit-bot-status {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 10px 14px;
	border-radius: 999px;
	background: var(--hit-bot-white);
	color: var(--hit-bot-burgundy);
	border: 1px solid rgba(76, 45, 51, 0.16);
	font-size: 0.92rem;
}

.hit-bot-dots {
	display: inline-flex;
	gap: 4px;
}

.hit-bot-dots span {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
	animation: hitBotPulse 1.2s infinite ease-in-out;
}

.hit-bot-dots span:nth-child(2) { animation-delay: 120ms; }
.hit-bot-dots span:nth-child(3) { animation-delay: 240ms; }

@keyframes hitBotPulse {
	0%, 70%, 100% { opacity: 0.28; transform: translateY(0); }
	35% { opacity: 1; transform: translateY(-3px); }
}

.hit-bot-composer {
	padding: 14px 16px max(14px, env(safe-area-inset-bottom));
	background: var(--hit-bot-white);
	border-top: 1px solid rgba(76, 45, 51, 0.16);
	box-shadow: 0 -8px 24px rgba(76, 45, 51, 0.06);
}

.hit-bot-form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 52px;
	gap: 10px;
	align-items: end;
}

.hit-bot-input {
	width: 100%;
	min-height: 52px;
	max-height: 140px;
	resize: none;
	padding: 13px 15px;
	border: 2px solid var(--hit-bot-burgundy) !important;
	border-radius: 16px !important;
	background: var(--hit-bot-white) !important;
	color: var(--hit-bot-text) !important;
	box-shadow: none !important;
	font-size: 1rem;
	line-height: 1.5;
	direction: rtl;
	text-align: right;
	unicode-bidi: plaintext;
	caret-color: var(--hit-bot-burgundy);
}

.hit-bot-input::placeholder {
	color: #75686c;
	opacity: 1;
}

.hit-bot-input:hover {
	border-color: var(--hit-bot-gold-dark) !important;
	background: var(--hit-bot-white) !important;
}

.hit-bot-submit {
	width: 52px;
	height: 52px;
	display: inline-grid;
	place-items: center;
	padding: 0 !important;
	border: 2px solid var(--hit-bot-burgundy) !important;
	border-radius: 16px !important;
	background: var(--hit-bot-burgundy) !important;
	color: var(--hit-bot-white) !important;
	box-shadow: none !important;
	cursor: pointer;
	touch-action: manipulation;
	transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.hit-bot-submit:hover {
	background: var(--hit-bot-gold) !important;
	border-color: var(--hit-bot-gold) !important;
	color: var(--hit-bot-burgundy-deep) !important;
	transform: translateY(-1px);
}

.hit-bot-submit:active {
	background: var(--hit-bot-gold-dark) !important;
	border-color: var(--hit-bot-gold-dark) !important;
	color: var(--hit-bot-white) !important;
	transform: translateY(0);
}

.hit-bot-submit:disabled,
.hit-bot-input:disabled {
	opacity: 0.58;
	cursor: not-allowed;
}

.hit-bot-submit svg {
	width: 23px;
	height: 23px;
	fill: currentColor;
}

.hit-bot-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px 14px;
	margin-top: 9px;
	color: var(--hit-bot-muted);
	font-size: 0.76rem;
	line-height: 1.45;
}

.hit-bot-clear {
	min-height: 34px;
	padding: 4px 7px !important;
	border: 0 !important;
	border-radius: 7px !important;
	background: transparent !important;
	color: var(--hit-bot-burgundy) !important;
	box-shadow: none !important;
	font-size: inherit;
	font-weight: 800;
	text-decoration: underline;
	text-decoration-color: var(--hit-bot-gold);
	text-underline-offset: 3px;
	cursor: pointer;
}

.hit-bot-clear:hover {
	background: #fff7e5 !important;
	color: var(--hit-bot-burgundy-deep) !important;
}

.hit-bot-clear:active {
	background: var(--hit-bot-burgundy) !important;
	color: var(--hit-bot-white) !important;
}

.hit-search-has-chronicler,
.hit-search-chronicler-slot {
	align-items: center;
	gap: 6px;
}

.hit-discovery-auto-ask {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 40px;
	margin-inline-start: 6px;
	padding: 7px 12px !important;
	border: 1px solid #4c2d33 !important;
	border-radius: 999px !important;
	background: #4c2d33 !important;
	color: #fff !important;
	font-family: Heebo, Arial, sans-serif;
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
	white-space: nowrap;
	box-shadow: 0 4px 12px rgba(52, 32, 38, .16);
	cursor: pointer;
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.hit-discovery-auto-ask svg { width: 16px; height: 16px; flex: 0 0 16px; }
.hit-discovery-auto-ask:hover { background: #d4af37 !important; color: #342026 !important; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(52, 32, 38, .2); }
.hit-discovery-auto-ask:active { transform: translateY(0); }
@media (max-width: 640px) {
	.hit-discovery-auto-ask { min-width: 42px; width: 42px; padding: 7px !important; }
	.hit-discovery-auto-ask span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
}

.hit-bot-close:focus-visible,
.hit-bot-quick-action:focus-visible,
.hit-bot-input:focus-visible,
.hit-bot-submit:focus-visible,
.hit-bot-clear:focus-visible,
.hit-bot-related a:focus-visible,
.hit-bot-basis summary:focus-visible,
.hit-bot-feedback button:focus-visible,
.hit-discovery-auto-ask:focus-visible {
	outline: 3px solid var(--hit-bot-focus) !important;
	outline-offset: 3px !important;
}

@media (max-width: 1024px) {
	.hit-bot-dialog {
		top: auto;
		left: auto;
		right: 12px;
		bottom: var(--hit-bot-mobile-bottom);
		width: calc(100% - 24px);
		height: min(790px, calc(100dvh - var(--hit-bot-mobile-bottom) - 12px));
		max-height: none;
		border-radius: 24px;
		transform: translateY(26px) scale(0.99);
	}

	#hit-history-bot-root.is-open .hit-bot-dialog {
		transform: translateY(0) scale(1);
	}

	.hit-bot-header {
		min-height: 88px;
	}
}

@media (max-width: 600px) {
	.hit-bot-dialog {
		right: 8px;
		width: calc(100% - 16px);
		height: calc(100dvh - var(--hit-bot-mobile-bottom) - 8px);
		border-width: 2px;
		border-radius: 22px;
	}

	.hit-bot-header {
		min-height: 82px;
		padding: max(14px, env(safe-area-inset-top)) 15px 14px;
		gap: 12px;
	}

	.hit-bot-brand-icon {
		width: 27px;
		height: 27px;
	}

	.hit-bot-title {
		font-size: 1.32rem;
	}

	.hit-bot-subtitle {
		font-size: 0.82rem;
	}

	.hit-bot-close {
		width: 48px;
		height: 48px;
		border-radius: 14px !important;
	}

	.hit-bot-messages {
		padding: 18px 14px;
		gap: 15px;
	}

	.hit-bot-message {
		max-width: 96%;
		padding: 13px 15px;
		font-size: 0.98rem;
		line-height: 1.72;
	}

	.hit-bot-message--assistant {
		max-width: 100%;
	}

	.hit-bot-welcome {
		grid-template-columns: 40px minmax(0, 1fr);
		gap: 11px;
		padding: 15px;
		border-radius: 18px;
	}

	.hit-bot-welcome-icon {
		width: 40px;
		height: 40px;
		border-radius: 12px;
	}

	.hit-bot-welcome-title {
		font-size: 0.99rem;
	}

	.hit-bot-welcome-text {
		font-size: 0.9rem;
		line-height: 1.62;
	}

	.hit-bot-message--assistant:first-child {
		padding: 17px 16px;
	}

	.hit-bot-quick-actions {
		grid-template-columns: 1fr;
		gap: 9px;
		width: min(100%, 330px);
	}


	.hit-bot-composer {
		padding: 11px 11px max(11px, env(safe-area-inset-bottom));
	}

	.hit-bot-form {
		grid-template-columns: minmax(0, 1fr) 50px;
		gap: 8px;
	}

	.hit-bot-input,
	.hit-bot-submit {
		min-height: 50px;
		height: 50px;
	}

	.hit-bot-submit {
		width: 50px;
	}

	.hit-bot-meta {
		font-size: 0.72rem;
	}

	.hit-bot-meta span {
		display: none;
	}
}

@media (max-width: 380px) {
	.hit-bot-heading {
		padding-inline-start: 0;
	}

	.hit-bot-brand-mark--header {
		display: none;
	}

	.hit-bot-title {
		font-size: 1.22rem;
	}

	.hit-bot-subtitle {
		font-size: 0.78rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hit-bot-brand-icon,
	.hit-bot-brand-ring,
	.hit-bot-brand-ring::before,
	.hit-bot-brand-ink,
	.hit-bot-brand-spark,
	.hit-bot-presence-dot,
	.hit-chronicler-brand-trigger *,
	.hit-chronicler-brand-trigger::before,
	.hit-chronicler-brand-surface *,
	.hit-chronicler-brand-surface::before,
	.hit-chronicler-search-presence,
	.hit-bot-overlay,
	.hit-bot-dialog,
	.hit-bot-close,
	.hit-bot-quick-action,
	.hit-bot-submit,
	.hit-bot-dots span {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}
}

@media (prefers-contrast: more) {
	.hit-bot-dialog,
	.hit-bot-message--assistant,
	.hit-bot-input,
	.hit-bot-quick-action {
		border-width: 3px !important;
	}
}

@media (forced-colors: active) {
	.hit-bot-dialog,
	.hit-bot-close,
	.hit-bot-input,
	.hit-bot-quick-action,
	.hit-bot-related,
	.hit-bot-submit {
		border: 2px solid CanvasText !important;
		forced-color-adjust: auto;
	}
}

/* Chronicler Premium Experience 4.5 */
#hit-history-bot-root[data-premium-ui="true"] {
	--hit-bot-burgundy: #412831;
	--hit-bot-burgundy-deep: #29191f;
	--hit-bot-cream: #f5efe7;
	--hit-bot-cream-light: #fffdf9;
	--hit-bot-gold: #c8a13a;
	--hit-bot-gold-dark: #9a741b;
	--hit-bot-text: #292529;
	--hit-bot-muted: #6d6467;
	--hit-bot-focus: #c8a13a;
	--hit-bot-shadow: 0 34px 100px rgba(30, 18, 22, 0.38), 0 10px 30px rgba(30, 18, 22, 0.14);
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-overlay {
	background: rgba(24, 17, 19, 0.69) !important;
	backdrop-filter: blur(3px) saturate(.82);
	-webkit-backdrop-filter: blur(3px) saturate(.82);
	transition: opacity 260ms ease;
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-dialog {
	width: min(500px, calc(100vw - 36px));
	height: min(760px, calc(100dvh - 42px));
	max-height: 88vh;
	border: 1px solid rgba(200, 161, 58, .68);
	border-radius: 25px;
	background: #f6f1e9;
	box-shadow: var(--hit-bot-shadow);
	transform: translate(-50%, calc(-50% + 18px)) scale(.972);
	transition: opacity 260ms ease, transform 320ms cubic-bezier(.2,.8,.2,1);
}

#hit-history-bot-root[data-premium-ui="true"].is-open .hit-bot-dialog {
	transform: translate(-50%, -50%) scale(1);
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-dialog::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.42);
	pointer-events: none;
	z-index: 5;
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-header {
	min-height: 90px;
	padding: 17px 18px;
	gap: 13px;
	background:
		radial-gradient(circle at 18% 20%, rgba(218,180,77,.13), transparent 34%),
		linear-gradient(145deg, #4a2e38 0%, #38222a 58%, #2d1c22 100%);
	border-bottom: 1px solid rgba(200,161,58,.72);
	box-shadow: inset 0 -1px rgba(255,255,255,.04);
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-heading {
	display: grid;
	gap: 3px;
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-title-row {
	gap: 11px;
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-brand-mark--header {
	width: 45px;
	height: 45px;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, rgba(255,245,198,.13), rgba(200,161,58,.035) 54%, transparent 55%);
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-brand-ring {
	inset: 0;
	border-color: rgba(222,185,83,.78);
	box-shadow: inset 0 0 0 4px rgba(222,185,83,.055), 0 0 18px rgba(200,161,58,.12);
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-brand-icon {
	width: 29px;
	height: 29px;
	color: #ddb94f;
	filter: drop-shadow(0 3px 5px rgba(0,0,0,.2));
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-title {
	font-size: clamp(1.3rem, 2vw, 1.55rem);
	font-weight: 850;
	letter-spacing: -.02em;
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-subtitle {
	margin-top: 2px;
	color: rgba(255,250,246,.82) !important;
	font-size: .82rem;
	line-height: 1.35;
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-brand-status {
	width: fit-content;
	min-height: 23px;
	margin-top: 4px;
	padding: 3px 8px;
	gap: 6px;
	border: 1px solid rgba(255,255,255,.12);
	border-radius: 999px;
	background: rgba(255,255,255,.055);
	color: rgba(255,250,246,.9);
	font-size: .68rem;
	backdrop-filter: blur(6px);
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-brand-status::before {
	content: attr(data-context-label);
	display: none;
	padding-inline-end: 7px;
	margin-inline-end: 1px;
	border-inline-end: 1px solid rgba(255,255,255,.16);
	color: #e1bd57;
	font-weight: 850;
}

#hit-history-bot-root[data-premium-ui="true"][data-context-badge="true"] .hit-bot-brand-status::before {
	display: inline-block;
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-presence-dot {
	width: 6px;
	height: 6px;
	background: #dfba4d;
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-close {
	width: 42px;
	height: 42px;
	border: 1px solid rgba(255,255,255,.19) !important;
	border-radius: 13px !important;
	background: rgba(255,255,255,.055) !important;
	color: #fffaf6 !important;
	backdrop-filter: blur(6px);
	transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-close:hover {
	background: rgba(223,186,77,.16) !important;
	border-color: rgba(223,186,77,.72) !important;
	color: #f3d77c !important;
	transform: translateY(-1px) rotate(2deg);
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-messages {
	padding: 22px 20px 26px;
	gap: 15px;
	background:
		radial-gradient(circle at 8% 4%, rgba(200,161,58,.08), transparent 30%),
		radial-gradient(circle at 92% 58%, rgba(65,40,49,.035), transparent 34%),
		linear-gradient(180deg, #faf7f1 0%, #f4eee6 100%);
	scrollbar-color: rgba(65,40,49,.48) transparent;
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-welcome {
	grid-template-columns: 47px minmax(0, 1fr);
	gap: 14px;
	padding: 16px 17px;
	border: 1px solid rgba(200,161,58,.25);
	border-inline-start: 3px solid rgba(200,161,58,.75);
	border-radius: 18px;
	background: linear-gradient(145deg, rgba(255,254,251,.98), rgba(251,246,236,.94));
	box-shadow: 0 12px 32px rgba(54,39,44,.055);
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-welcome-icon {
	width: 47px;
	height: 47px;
	border: 1px solid rgba(200,161,58,.46);
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #573541, #3a242c 72%);
	color: #ddb84d;
	box-shadow: 0 8px 18px rgba(65,40,49,.14);
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-welcome-title {
	color: #3d2d32;
	font-size: 1rem;
	letter-spacing: -.01em;
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-welcome-text {
	color: #4f494b;
	font-size: .91rem;
	line-height: 1.62;
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-message {
	font-size: .96rem;
	line-height: 1.72;
	animation: hitBotPremiumMessageIn 280ms cubic-bezier(.2,.8,.2,1) both;
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-message--assistant {
	background: rgba(255,253,249,.98);
	color: #292529;
	border: 1px solid rgba(77,60,65,.11);
	border-inline-start: 3px solid rgba(200,161,58,.72);
	border-radius: 18px 18px 7px 18px;
	box-shadow: 0 10px 28px rgba(47,32,37,.07);
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-message--user {
	background: linear-gradient(145deg, #4a2e38, #38222a);
	color: #fffdfa;
	border: 1px solid rgba(65,40,49,.9);
	border-radius: 18px 18px 18px 6px;
	box-shadow: 0 9px 24px rgba(65,40,49,.17);
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-quick-wrap {
	gap: 10px;
	margin-top: 0;
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-quick-title {
	color: #433238;
	font-size: .9rem;
	letter-spacing: -.01em;
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-quick-title::after {
	width: 44px;
	height: 2px;
	margin-top: 7px;
	background: linear-gradient(90deg, transparent, #c8a13a, transparent);
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-quick-actions {
	gap: 9px;
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-quick-action {
	position: relative;
	min-height: 47px;
	justify-content: flex-start;
	gap: 8px;
	padding: 9px 13px !important;
	border: 1px solid rgba(154,116,27,.25) !important;
	border-radius: 14px !important;
	background: rgba(255,253,249,.78) !important;
	color: #49353c !important;
	box-shadow: 0 7px 18px rgba(53,38,43,.045) !important;
	font-size: .87rem;
	font-weight: 770;
	text-align: right;
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-quick-action::before {
	content: "✦";
	width: 24px;
	height: 24px;
	display: inline-grid;
	place-items: center;
	flex: 0 0 24px;
	border-radius: 50%;
	background: rgba(200,161,58,.12);
	color: #9a741b;
	font-size: .72rem;
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-quick-action:hover {
	background: #fff8e8 !important;
	border-color: rgba(200,161,58,.62) !important;
	color: #37262c !important;
	box-shadow: 0 10px 22px rgba(61,42,48,.075) !important;
	transform: translateY(-2px);
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-quick-action:hover::before {
	background: #c8a13a;
	color: #fff;
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-related,
#hit-history-bot-root[data-premium-ui="true"] .hit-bot-basis {
	border: 1px solid rgba(154,116,27,.2);
	border-radius: 16px;
	background: rgba(255,252,246,.9);
	box-shadow: 0 8px 22px rgba(55,39,44,.045);
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-basis {
	padding: 0;
	overflow: hidden;
	font-size: .8rem;
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-basis summary {
	position: relative;
	padding: 11px 13px;
	color: #49353c;
	background: rgba(200,161,58,.055);
	font-weight: 800;
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-basis-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 10px 12px 0;
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-basis-chip {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding: 3px 8px;
	border: 1px solid rgba(200,161,58,.2);
	border-radius: 999px;
	background: #fffaf0;
	color: #5b4b4f;
	font-size: .69rem;
	font-weight: 750;
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-basis-list {
	margin: 8px 0 0;
	padding: 0 29px 12px 12px;
	color: #655b5e;
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-feedback {
	margin-bottom: 4px;
	color: #756b6e;
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-feedback button {
	border-color: rgba(154,116,27,.22) !important;
	background: rgba(255,253,249,.72) !important;
	color: #4a353c !important;
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-answer-tools {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 7px;
	width: min(92%, 650px);
	margin: -5px 0 4px auto;
	padding-inline: 4px;
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-answer-tool {
	min-height: 32px;
	padding: 5px 10px !important;
	border: 1px solid rgba(154,116,27,.24) !important;
	border-radius: 999px !important;
	background: rgba(255,253,249,.82) !important;
	color: #4a353c !important;
	font: inherit;
	font-size: .72rem;
	font-weight: 780;
	cursor: pointer;
	transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-answer-tool:hover {
	background: #fff5dc !important;
	border-color: rgba(154,116,27,.42) !important;
	transform: translateY(-1px);
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-answer-tool:focus-visible {
	outline: 3px solid rgba(200,161,58,.42) !important;
	outline-offset: 2px !important;
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-answer-tool-status {
	color: #75696d;
	font-size: .7rem;
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-uncertainty {
	width: min(92%, 650px);
	margin: 0 0 6px auto;
	padding: 10px 12px;
	border-inline-start: 3px solid #c8a13a;
	border-radius: 10px;
	background: rgba(255,248,226,.8);
	color: #5b4b4f;
	font-size: .76rem;
	line-height: 1.55;
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-followups {
	align-self: stretch;
	width: 100%;
	max-width: 100%;
	padding: 2px 0 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	animation: hitBotPremiumMessageIn 300ms 80ms cubic-bezier(.2,.8,.2,1) both;
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-followup-title {
	margin: 0 0 8px;
	color: #75696d;
	font-size: .74rem;
	font-weight: 750;
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-followup-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-followup-action {
	min-height: 34px;
	padding: 6px 10px !important;
	border: 1px solid rgba(154,116,27,.25) !important;
	border-radius: 999px !important;
	background: rgba(255,253,249,.88) !important;
	color: #4a353c !important;
	box-shadow: none !important;
	font-size: .74rem;
	font-weight: 750;
	cursor: pointer;
	transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-followup-action:hover {
	background: #fff5dc !important;
	border-color: rgba(200,161,58,.65) !important;
	transform: translateY(-1px);
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-status {
	border-color: rgba(200,161,58,.22);
	background: rgba(255,253,249,.94);
	box-shadow: 0 8px 20px rgba(52,37,42,.05);
	font-size: .83rem;
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-composer {
	padding: 12px 14px max(12px, env(safe-area-inset-bottom));
	background: rgba(255,253,249,.96);
	border-top: 1px solid rgba(65,40,49,.1);
	box-shadow: 0 -12px 30px rgba(51,36,41,.055);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-form {
	grid-template-columns: minmax(0, 1fr) 46px;
	gap: 5px;
	align-items: center;
	padding: 5px;
	border: 1px solid rgba(77,60,65,.2);
	border-radius: 19px;
	background: #fff;
	box-shadow: 0 7px 20px rgba(45,31,36,.045);
	transition: border-color 170ms ease, box-shadow 170ms ease, background-color 170ms ease;
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-form:focus-within {
	border-color: rgba(200,161,58,.88);
	box-shadow: 0 0 0 3px rgba(200,161,58,.15), 0 9px 24px rgba(45,31,36,.06);
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-input {
	min-height: 44px;
	padding: 10px 12px;
	border: 0 !important;
	border-radius: 14px !important;
	outline: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #302b2e !important;
	font-size: .95rem;
	caret-color: #9a741b;
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-input:hover,
#hit-history-bot-root[data-premium-ui="true"] .hit-bot-input:focus,
#hit-history-bot-root[data-premium-ui="true"] .hit-bot-input:focus-visible {
	border: 0 !important;
	outline: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-input::placeholder {
	color: #847a7d;
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-submit {
	width: 46px;
	height: 46px;
	min-height: 46px;
	border: 0 !important;
	border-radius: 14px !important;
	background: linear-gradient(145deg, #4a2e38, #342028) !important;
	color: #fffdf9 !important;
	box-shadow: 0 8px 18px rgba(65,40,49,.2) !important;
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-submit:hover {
	background: linear-gradient(145deg, #cda846, #aa821f) !important;
	color: #2f2025 !important;
	transform: translateY(-1px) scale(1.02);
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-meta {
	margin-top: 7px;
	padding-inline: 2px;
	color: #81777a;
	font-size: .69rem;
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-clear {
	min-height: 28px;
	padding: 2px 5px !important;
	color: #604951 !important;
	text-decoration: none;
	border-bottom: 1px solid rgba(200,161,58,.55) !important;
	border-radius: 0 !important;
}

#hit-history-bot-root[data-premium-ui="true"] .hit-bot-close:focus-visible,
#hit-history-bot-root[data-premium-ui="true"] .hit-bot-quick-action:focus-visible,
#hit-history-bot-root[data-premium-ui="true"] .hit-bot-submit:focus-visible,
#hit-history-bot-root[data-premium-ui="true"] .hit-bot-clear:focus-visible,
#hit-history-bot-root[data-premium-ui="true"] .hit-bot-followup-action:focus-visible,
#hit-history-bot-root[data-premium-ui="true"] .hit-bot-related a:focus-visible,
#hit-history-bot-root[data-premium-ui="true"] .hit-bot-basis summary:focus-visible,
#hit-history-bot-root[data-premium-ui="true"] .hit-bot-feedback button:focus-visible {
	outline: 2px solid #c8a13a !important;
	outline-offset: 2px !important;
}

@keyframes hitBotPremiumMessageIn {
	from { opacity: 0; transform: translateY(7px) scale(.99); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

#hit-history-bot-root[data-premium-ui="true"][data-chronicler-state="idle"] .hit-bot-brand-spark {
	animation: hitBotPremiumIdleGlint 5.4s ease-in-out infinite;
}

#hit-history-bot-root[data-premium-ui="true"][data-chronicler-state="thinking"] .hit-bot-brand-ring {
	box-shadow: inset 0 0 0 4px rgba(222,185,83,.07), 0 0 23px rgba(222,185,83,.25);
}

@keyframes hitBotPremiumIdleGlint {
	0%, 72%, 100% { opacity: 0; transform: translate(7px,5px) scale(.35); }
	79% { opacity: .9; transform: translate(1px,0) scale(1); }
	86% { opacity: 0; transform: translate(-5px,-5px) scale(.45); }
}

@media (max-width: 1024px) {
	#hit-history-bot-root[data-premium-ui="true"] .hit-bot-dialog {
		top: auto;
		left: auto;
		right: 12px;
		bottom: var(--hit-bot-mobile-bottom);
		width: calc(100% - 24px);
		height: min(790px, calc(100dvh - var(--hit-bot-mobile-bottom) - 12px));
		max-height: none;
		transform: translateY(22px) scale(.986);
	}
	#hit-history-bot-root[data-premium-ui="true"].is-open .hit-bot-dialog {
		transform: translateY(0) scale(1);
	}
}

@media (max-width: 600px) {
	#hit-history-bot-root[data-premium-ui="true"] .hit-bot-dialog {
		right: 7px;
		width: calc(100% - 14px);
		height: calc(100dvh - var(--hit-bot-mobile-bottom) - 7px);
		border-radius: 21px;
	}
	#hit-history-bot-root[data-premium-ui="true"] .hit-bot-header {
		min-height: 82px;
		padding: max(13px, env(safe-area-inset-top)) 13px 13px;
	}
	#hit-history-bot-root[data-premium-ui="true"] .hit-bot-brand-mark--header {
		width: 39px;
		height: 39px;
	}
	#hit-history-bot-root[data-premium-ui="true"] .hit-bot-close {
		width: 39px;
		height: 39px;
	}
	#hit-history-bot-root[data-premium-ui="true"] .hit-bot-messages {
		padding: 16px 12px 19px;
	}
	#hit-history-bot-root[data-premium-ui="true"] .hit-bot-welcome {
		grid-template-columns: 42px minmax(0,1fr);
		padding: 14px;
	}
	#hit-history-bot-root[data-premium-ui="true"] .hit-bot-welcome-icon {
		width: 42px;
		height: 42px;
	}
	#hit-history-bot-root[data-premium-ui="true"] .hit-bot-quick-actions {
		grid-template-columns: 1fr;
		width: 100%;
	}
	#hit-history-bot-root[data-premium-ui="true"] .hit-bot-quick-action {
		min-height: 44px;
	}
	#hit-history-bot-root[data-premium-ui="true"] .hit-bot-composer {
		padding: 10px 10px max(10px, env(safe-area-inset-bottom));
	}
	#hit-history-bot-root[data-premium-ui="true"] .hit-bot-meta span {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	#hit-history-bot-root[data-premium-ui="true"] .hit-bot-message,
	#hit-history-bot-root[data-premium-ui="true"] .hit-bot-followups {
		animation: none !important;
	}
}


/* Chronicler Evidence Graph 4.6 */
#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-research-switch {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 0 1px 9px;
	padding: 5px;
	border: 1px solid rgba(154,116,27,.18);
	border-radius: 14px;
	background: rgba(255,253,249,.72);
}
#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-research-label {
	padding-inline-start: 8px;
	font-size: .76rem;
	font-weight: 750;
	color: #675c60;
}
#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-research-options {
	display: inline-flex;
	gap: 3px;
	padding: 3px;
	border-radius: 11px;
	background: #eee7df;
}
#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-research-option {
	min-height: 30px;
	padding: 4px 11px;
	border: 0;
	border-radius: 9px;
	background: transparent;
	color: #5c5054;
	font: inherit;
	font-size: .75rem;
	font-weight: 780;
	cursor: pointer;
}
#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-research-option[aria-pressed="true"] {
	background: #422a33;
	color: #fffdf9;
	box-shadow: 0 4px 12px rgba(65,40,49,.16);
}
#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-evidence-path {
	display: grid;
	gap: 7px;
	margin: 10px 0 2px;
	padding: 11px;
	border-radius: 13px;
	background: linear-gradient(145deg, rgba(200,161,58,.09), rgba(255,253,249,.76));
	border: 1px solid rgba(200,161,58,.21);
}
#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-evidence-path-title {
	margin: 0;
	font-size: .76rem;
	font-weight: 850;
	color: #4b3039;
}
#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-evidence-step {
	display: grid;
	grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
	align-items: center;
	gap: 7px;
	font-size: .74rem;
	line-height: 1.35;
	color: #554b4e;
}
#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-evidence-step strong {
	min-width: 0;
	font-weight: 780;
}
#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-evidence-relation {
	position: relative;
	padding: 2px 8px;
	border-radius: 999px;
	background: rgba(65,40,49,.075);
	color: #8a6818;
	font-size: .66rem;
	white-space: nowrap;
}
#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-conflicts {
	margin-top: 10px;
	padding: 10px 11px;
	border-radius: 12px;
	border: 1px solid rgba(164,112,38,.25);
	background: #fff9ea;
	color: #5e4b2d;
}
#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-conflicts-title {
	margin: 0 0 5px;
	font-size: .76rem;
	font-weight: 850;
}
#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-conflict-item {
	margin: 3px 0 0;
	font-size: .72rem;
	line-height: 1.45;
}
#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-basis summary::before {
	content: "✦";
	margin-inline-end: 6px;
	color: #b58b24;
}
#hit-history-bot-root[data-evidence-graph="true"][data-research-mode="research"] .hit-bot-brand-ring {
	box-shadow: inset 0 0 0 4px rgba(222,185,83,.075), 0 0 22px rgba(222,185,83,.23);
}
@media (max-width: 600px) {
	#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-research-label { display: none; }
	#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-research-switch { justify-content: center; }
	#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-evidence-step { grid-template-columns: 1fr; gap: 3px; }
	#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-evidence-relation { width: fit-content; }
}


/* Chronicler Conversational Intelligence 5.2 */
#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-research-switch {
	display: grid;
	grid-template-columns: auto minmax(0,1fr);
	gap: 8px 12px;
	align-items: center;
	margin: 0 1px 10px;
	padding: 9px;
	border: 1px solid rgba(164,126,36,.22);
	border-radius: 17px;
	background: linear-gradient(145deg, rgba(255,254,251,.96), rgba(248,242,232,.9));
	box-shadow: 0 7px 22px rgba(65,40,49,.055), inset 0 1px 0 rgba(255,255,255,.88);
	transition: border-color .24s ease, box-shadow .24s ease, transform .24s ease;
}
#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-research-switch.is-switching {
	border-color: rgba(199,157,48,.54);
	box-shadow: 0 10px 28px rgba(65,40,49,.075), 0 0 0 3px rgba(213,175,55,.09);
	transform: translateY(-1px);
}
#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-research-label {
	grid-column: 1;
	grid-row: 1;
	padding: 0 4px;
	font-size: .73rem;
	font-weight: 820;
	color: #675a5f;
	white-space: nowrap;
}
#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-research-options {
	grid-column: 2;
	grid-row: 1;
	display: grid;
	grid-template-columns: repeat(2, minmax(0,1fr));
	gap: 5px;
	padding: 4px;
	border: 1px solid rgba(75,48,57,.07);
	border-radius: 14px;
	background: rgba(79,51,60,.07);
}
#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-research-option {
	min-width: 0;
	min-height: 47px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 7px 10px;
	border: 1px solid transparent;
	border-radius: 11px;
	background: transparent;
	color: #62565a;
	font: inherit;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-research-option:hover {
	background: rgba(255,255,255,.68);
	border-color: rgba(181,139,36,.16);
	transform: translateY(-1px);
}
#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-research-option[aria-checked="true"],
#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-research-option[aria-pressed="true"] {
	background: linear-gradient(145deg, #4d303a, #3e252e);
	border-color: rgba(226,190,91,.34);
	color: #fffdf9;
	box-shadow: 0 7px 17px rgba(65,40,49,.18), inset 0 1px 0 rgba(255,255,255,.09);
	transform: translateY(-1px);
}
#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-research-option:focus-visible {
	outline: 3px solid rgba(212,175,55,.58);
	outline-offset: 2px;
}
#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-mode-symbol {
	flex: 0 0 auto;
	width: 25px;
	height: 25px;
	display: inline-grid;
	place-items: center;
	border-radius: 50%;
	background: rgba(190,147,41,.12);
	color: #a67d19;
	font-size: .79rem;
	transition: transform .24s ease, background-color .24s ease, color .24s ease;
}
#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-research-option[aria-checked="true"] .hit-bot-mode-symbol {
	background: rgba(229,194,92,.16);
	color: #efd477;
	transform: rotate(-8deg) scale(1.04);
}
#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-mode-copy {
	min-width: 0;
	display: grid;
	gap: 1px;
	text-align: start;
	line-height: 1.15;
}
#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-mode-copy strong {
	font-size: .78rem;
	font-weight: 850;
}
#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-mode-copy small {
	font-size: .64rem;
	font-weight: 620;
	opacity: .78;
	white-space: nowrap;
}
#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-mode-feedback {
	grid-column: 1 / -1;
	grid-row: 2;
	display: grid;
	grid-template-columns: auto minmax(0,1fr) auto;
	align-items: center;
	gap: 9px;
	min-height: 42px;
	padding: 8px 10px;
	border-radius: 12px;
	background: rgba(255,255,255,.58);
	border: 1px solid rgba(164,126,36,.12);
	color: #564a4e;
}
#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-mode-feedback-icon {
	width: 27px;
	height: 27px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: #f7eed6;
	color: #9f7717;
	font-size: .76rem;
}
#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-mode-feedback-copy {
	min-width: 0;
	display: grid;
	gap: 1px;
	line-height: 1.25;
}
#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-mode-feedback-copy strong {
	font-size: .73rem;
	font-weight: 850;
	color: #4b3039;
}
#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-mode-feedback-copy span {
	font-size: .67rem;
	font-weight: 560;
	color: #766a6e;
}
#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-mode-badge {
	padding: 4px 8px;
	border-radius: 999px;
	background: rgba(76,45,51,.075);
	color: #563943;
	font-size: .63rem;
	font-weight: 850;
	white-space: nowrap;
}
#hit-history-bot-root[data-evidence-graph="true"][data-research-mode="research"] .hit-bot-mode-feedback {
	background: linear-gradient(145deg, rgba(75,46,57,.96), rgba(57,34,42,.96));
	border-color: rgba(225,189,91,.29);
	color: #fffaf0;
}
#hit-history-bot-root[data-evidence-graph="true"][data-research-mode="research"] .hit-bot-mode-feedback-copy strong,
#hit-history-bot-root[data-evidence-graph="true"][data-research-mode="research"] .hit-bot-mode-feedback-copy span {
	color: #fffaf0;
}
#hit-history-bot-root[data-evidence-graph="true"][data-research-mode="research"] .hit-bot-mode-feedback-icon,
#hit-history-bot-root[data-evidence-graph="true"][data-research-mode="research"] .hit-bot-mode-badge {
	background: rgba(231,196,98,.15);
	color: #f0d377;
}
#hit-history-bot-root[data-evidence-graph="true"][data-research-mode="research"] .hit-bot-brand-ring {
	box-shadow: inset 0 0 0 4px rgba(222,185,83,.09), 0 0 25px rgba(222,185,83,.28);
}

#hit-history-bot-root .hit-bot-related {
	margin-top: 10px;
	padding: 13px;
	border: 1px solid rgba(171,130,31,.2);
	border-radius: 16px;
	background: linear-gradient(145deg, rgba(255,254,250,.97), rgba(248,241,228,.92));
	box-shadow: 0 8px 22px rgba(65,40,49,.055);
}
#hit-history-bot-root .hit-bot-related-title {
	margin: 0 0 9px;
	font-size: .82rem;
	font-weight: 900;
	color: #4d3039;
}
#hit-history-bot-root .hit-bot-related-list {
	display: grid;
	gap: 7px;
	margin: 0;
	padding: 0;
	list-style: none;
}
#hit-history-bot-root .hit-bot-related-list li {
	margin: 0;
	padding: 0;
}
#hit-history-bot-root .hit-bot-related-list a {
	display: grid;
	grid-template-columns: minmax(0,1fr) auto;
	gap: 7px;
	align-items: center;
	min-height: 45px;
	padding: 9px 11px;
	border: 1px solid rgba(76,45,51,.12);
	border-radius: 12px;
	background: rgba(255,255,255,.72);
	color: #4a3039;
	text-decoration: none;
	font-size: .76rem;
	font-weight: 780;
	line-height: 1.35;
	transition: transform .18s ease, border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
#hit-history-bot-root .hit-bot-related-list a > span {
	min-width: 0;
	display: grid;
	gap: 2px;
}
#hit-history-bot-root .hit-bot-related-list a strong {
	font: inherit;
	font-weight: 820;
	color: inherit;
}
#hit-history-bot-root .hit-bot-related-list a small {
	font-size: .65rem;
	font-weight: 560;
	line-height: 1.35;
	color: #786d70;
}
#hit-history-bot-root .hit-bot-related-list a::after {
	content: "←";
	width: 26px;
	height: 26px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: #f6edda;
	color: #9c7414;
	font-size: .8rem;
}
#hit-history-bot-root .hit-bot-related-list a:hover {
	transform: translateY(-1px);
	border-color: rgba(181,139,36,.34);
	background: #fff;
	box-shadow: 0 6px 15px rgba(65,40,49,.07);
}
#hit-history-bot-root .hit-bot-related-list a:focus-visible {
	outline: 3px solid rgba(212,175,55,.55);
	outline-offset: 2px;
}
#hit-history-bot-root .hit-bot-message[data-response-kind="system"],
#hit-history-bot-root .hit-bot-message[data-response-kind="discovery"],
#hit-history-bot-root .hit-bot-message[data-response-kind="clarification"] {
	border-inline-start: 4px solid rgba(198,155,46,.7);
}

@media (max-width: 600px) {
	#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-research-switch {
		grid-template-columns: 1fr;
		gap: 7px;
		padding: 8px;
	}
	#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-research-label {
		display: block;
		grid-column: 1;
		grid-row: auto;
		text-align: start;
	}
	#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-research-options,
	#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-mode-feedback {
		grid-column: 1;
		grid-row: auto;
	}
	#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-research-option {
		min-height: 43px;
		padding: 6px 8px;
	}
	#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-mode-copy small {
		display: none;
	}
	#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-mode-feedback-copy span {
		font-size: .64rem;
	}
}
@media (max-width: 380px) {
	#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-mode-feedback {
		grid-template-columns: auto minmax(0,1fr);
	}
	#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-mode-badge {
		display: none;
	}
}
@media (prefers-reduced-motion: reduce) {
	#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-research-switch,
	#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-research-option,
	#hit-history-bot-root[data-evidence-graph="true"] .hit-bot-mode-symbol,
	#hit-history-bot-root .hit-bot-related-list a {
		transition: none !important;
		transform: none !important;
	}
}

/* Core Agent 6.2: quieter, responsive and accessible mobile surface */
@media (max-width: 640px) {
	#hit-history-bot-root .hit-bot-dialog {
		width: 100vw !important;
		height: 100dvh !important;
		max-width: none !important;
		max-height: none !important;
		border-radius: 0 !important;
		border-width: 0 !important;
		box-shadow: none !important;
	}
	#hit-history-bot-root .hit-bot-header { padding: 14px 16px 12px !important; min-height: 98px !important; }
	#hit-history-bot-root .hit-bot-title { font-size: clamp(1.55rem, 8vw, 2rem) !important; }
	#hit-history-bot-root .hit-bot-subtitle { font-size: .84rem !important; }
	#hit-history-bot-root .hit-bot-messages { padding: 14px 12px 22px !important; }
	#hit-history-bot-root .hit-bot-quick-grid { grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
	#hit-history-bot-root .hit-bot-quick-action { min-height: 48px !important; padding: 9px 10px !important; font-size: .88rem !important; }
	#hit-history-bot-root .hit-bot-message { max-width: 94% !important; font-size: 1rem !important; line-height: 1.65 !important; }
	#hit-history-bot-root .hit-bot-footer { padding: 10px 10px max(10px, env(safe-area-inset-bottom)) !important; }
	#hit-history-bot-root .hit-bot-research-panel { padding: 8px 10px !important; }
}
@media (max-width: 380px) {
	#hit-history-bot-root .hit-bot-quick-grid { grid-template-columns: 1fr !important; }
}
@media (forced-colors: active) {
	#hit-history-bot-root button, #hit-history-bot-root a, #hit-history-bot-root textarea { forced-color-adjust: auto; }
}


/* Chronicler 7.0 responsive knowledge workspace */
#hit-history-bot-root .hit-bot-dialog {
	width: min(760px, calc(100vw - 40px));
	height: min(820px, calc(100dvh - 48px));
	border-radius: 28px;
	overflow: hidden;
	border: 1px solid rgba(24, 31, 44, .14);
	box-shadow: 0 28px 90px rgba(18, 25, 38, .22), 0 4px 18px rgba(18, 25, 38, .08);
	background: #fffdf9;
}
#hit-history-bot-root .hit-bot-header {
	padding: 20px 24px 18px;
	background: linear-gradient(180deg, #fffdf9 0%, #f7f1e7 100%);
	border-bottom: 1px solid rgba(49, 45, 38, .1);
}
#hit-history-bot-root .hit-bot-messages {
	padding: 22px 24px 30px;
	background: radial-gradient(circle at 100% 0, rgba(174, 138, 74, .08), transparent 34%), #fbfaf7;
}
#hit-history-bot-root .hit-bot-welcome {
	border: 1px solid rgba(118, 91, 46, .14);
	border-radius: 20px;
	padding: 18px;
	background: rgba(255,255,255,.86);
	box-shadow: 0 8px 30px rgba(48, 39, 23, .06);
}
#hit-history-bot-root .hit-bot-quick-actions,
#hit-history-bot-root .hit-bot-quick-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0,1fr));
	gap: 10px;
}
#hit-history-bot-root .hit-bot-quick-action {
	min-height: 54px;
	border-radius: 15px;
	border: 1px solid rgba(79, 65, 42, .14);
	background: #fff;
	box-shadow: 0 4px 14px rgba(50, 42, 28, .05);
	font-weight: 700;
}
#hit-history-bot-root .hit-bot-message--assistant,
#hit-history-bot-root .hit-bot-message[data-role="assistant"] {
	border-radius: 18px 18px 6px 18px;
	background: #fff;
	border: 1px solid rgba(47, 55, 67, .1);
	box-shadow: 0 6px 22px rgba(24,31,44,.06);
}
#hit-history-bot-root .hit-bot-footer {
	padding: 14px 18px 18px;
	background: rgba(255,253,249,.96);
	border-top: 1px solid rgba(49,45,38,.1);
	backdrop-filter: blur(14px);
}
#hit-history-bot-root .hit-bot-form {
	border-radius: 18px;
	box-shadow: 0 7px 25px rgba(24,31,44,.08);
}
@media (max-width: 640px) {
	#hit-history-bot-root .hit-bot-overlay { background: rgba(17,20,27,.48); }
	#hit-history-bot-root .hit-bot-dialog {
		inset: auto 0 0 0 !important;
		width: 100% !important;
		height: min(92dvh, 860px) !important;
		max-height: 92dvh !important;
		border-radius: 24px 24px 0 0 !important;
		border: 1px solid rgba(24,31,44,.12) !important;
		box-shadow: 0 -18px 60px rgba(16,22,34,.2) !important;
	}
	#hit-history-bot-root .hit-bot-dialog::before {
		content: "";
		display: block;
		position: absolute;
		top: 8px;
		left: 50%;
		width: 44px;
		height: 5px;
		border-radius: 999px;
		background: rgba(35,39,48,.22);
		transform: translateX(-50%);
		z-index: 5;
	}
	#hit-history-bot-root .hit-bot-header { padding: 24px 16px 12px !important; min-height: auto !important; }
	#hit-history-bot-root .hit-bot-title { font-size: 1.55rem !important; }
	#hit-history-bot-root .hit-bot-messages { padding: 14px 12px 24px !important; }
	#hit-history-bot-root .hit-bot-quick-actions,
	#hit-history-bot-root .hit-bot-quick-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
	#hit-history-bot-root .hit-bot-quick-action { min-height: 50px !important; font-size: .9rem !important; }
	#hit-history-bot-root .hit-bot-footer { padding: 10px 10px max(12px, env(safe-area-inset-bottom)) !important; }
}
@media (max-width: 390px) {
	#hit-history-bot-root .hit-bot-quick-actions,
	#hit-history-bot-root .hit-bot-quick-grid { grid-template-columns: 1fr !important; }
}

/* Floating fallback launcher: shown only when the active theme supplies no visible launcher. */
.hit-chronicler-fab[hidden] {
	display: none !important;
}
.hit-chronicler-fab {
	-webkit-appearance: none !important;
	appearance: none !important;
	position: fixed !important;
	right: max(var(--hit-fab-desktop-edge, 18px), env(safe-area-inset-right)) !important;
	left: auto !important;
	bottom: max(var(--hit-fab-desktop-bottom, 20px), env(safe-area-inset-bottom)) !important;
	z-index: 2147482400 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 10px !important;
	min-width: 0 !important;
	min-height: 58px !important;
	margin: 0 !important;
	padding: 7px 15px 7px 9px !important;
	border: 1px solid rgba(212, 175, 55, .86) !important;
	border-radius: 999px !important;
	background: linear-gradient(145deg, #5b363e, #342026) !important;
	background-color: #4c2d33 !important;
	background-image: linear-gradient(145deg, #5b363e, #342026) !important;
	color: #fff !important;
	font: 800 15px/1.2 Heebo, Arial, sans-serif !important;
	letter-spacing: 0 !important;
	text-decoration: none !important;
	text-shadow: none !important;
	box-shadow: 0 15px 38px rgba(52, 32, 38, .28), inset 0 1px 0 rgba(255,255,255,.12) !important;
	cursor: pointer !important;
	isolation: isolate !important;
	transform: translateZ(0) !important;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}
.hit-chronicler-fab[data-hit-fab-desktop-side="left"] {
	left: max(var(--hit-fab-desktop-edge, 18px), env(safe-area-inset-left)) !important;
	right: auto !important;
}
.hit-chronicler-fab::after,
.hit-chronicler-fab.hit-chronicler-brand-trigger::before {
	content: none !important;
	display: none !important;
}
.hit-chronicler-fab:hover {
	border-color: #f0d36f !important;
	background: linear-gradient(145deg, #68404a, #3a2229) !important;
	background-image: linear-gradient(145deg, #68404a, #3a2229) !important;
	color: #fff !important;
	box-shadow: 0 19px 44px rgba(52, 32, 38, .34), 0 0 0 4px rgba(212,175,55,.1) !important;
	transform: translateY(-2px) !important;
}
.hit-chronicler-fab:active {
	transform: translateY(0) scale(.985) !important;
}
.hit-chronicler-fab:focus-visible {
	outline: 3px solid #075fc7 !important;
	outline-offset: 4px !important;
}
.hit-chronicler-fab__mark {
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
	border-radius: 50%;
	background: rgba(255, 250, 246, .055);
}
.hit-chronicler-fab__mark .hit-bot-brand-icon {
	width: 30px;
	height: 30px;
	color: #f0cd55;
}
.hit-chronicler-fab__label {
	display: block;
	white-space: nowrap;
}
.hit-chronicler-fab[data-hit-chronicler-state="idle"] .hit-bot-brand-icon {
	animation: hitBotFeatherBreathe 3.4s ease-in-out infinite;
}
.hit-chronicler-fab[data-hit-chronicler-state="idle"] .hit-bot-brand-ring {
	animation: hitBotPresencePulse 2.7s ease-out infinite;
}
.hit-chronicler-fab[data-hit-chronicler-state="searching"] .hit-bot-brand-ring::before {
	opacity: 1;
	animation: hitBotRingSearch 1.05s linear infinite;
}
.hit-chronicler-fab[data-hit-chronicler-state="thinking"] .hit-bot-brand-ink {
	animation: hitBotInkWrite .82s ease-in-out infinite;
}
.hit-chronicler-fab[data-hit-chronicler-state="ready"] .hit-bot-brand-ring {
	animation: hitBotReadyGlow .72s ease-out 1;
}
.hit-chronicler-fab[data-hit-chronicler-state="ready"] .hit-bot-brand-spark {
	animation: hitBotSpark .82s ease-out 1;
}
@media (max-width: 640px) {
	.hit-chronicler-fab {
		right: max(var(--hit-fab-mobile-edge, 12px), env(safe-area-inset-right)) !important;
		left: auto !important;
		bottom: max(var(--hit-fab-mobile-bottom, 14px), env(safe-area-inset-bottom)) !important;
		width: 58px !important;
		height: 58px !important;
		min-height: 58px !important;
		padding: 7px !important;
		border-radius: 50% !important;
	}
	.hit-chronicler-fab[data-hit-fab-mobile-side="left"] {
		left: max(var(--hit-fab-mobile-edge, 12px), env(safe-area-inset-left)) !important;
		right: auto !important;
	}
	.hit-chronicler-fab__label {
		position: absolute !important;
		width: 1px !important;
		height: 1px !important;
		padding: 0 !important;
		margin: -1px !important;
		overflow: hidden !important;
		clip: rect(0, 0, 0, 0) !important;
		white-space: nowrap !important;
		border: 0 !important;
	}
}
@media (prefers-reduced-motion: reduce) {
	.hit-chronicler-fab,
	.hit-chronicler-fab *,
	.hit-chronicler-fab::before,
	.hit-chronicler-fab::after {
		animation: none !important;
		transition: none !important;
	}
}


/* Smart response activity card */
.hit-bot-status--identity {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr) auto;
	align-items: center;
	gap: 11px;
	min-height: 62px;
	padding: 11px 13px;
	border: 1px solid rgba(200, 161, 58, .26);
	border-radius: 17px;
	background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(250,246,238,.96));
	box-shadow: 0 10px 26px rgba(58, 38, 45, .08);
	overflow: hidden;
	position: relative;
}
.hit-bot-status--identity::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 -42%;
	width: 40%;
	background: linear-gradient(90deg, transparent, rgba(212,175,55,.12), transparent);
	animation: hitBotStatusSweep 2.4s ease-in-out infinite;
	pointer-events: none;
}
.hit-bot-status-copy {
	display: grid;
	gap: 8px;
	min-width: 0;
}
.hit-bot-status--identity .hit-bot-status-text {
	display: block;
	font-size: .83rem;
	font-weight: 750;
	line-height: 1.4;
	color: #4c2d33;
	transition: opacity .18s ease, transform .18s ease;
}
.hit-bot-status-progress {
	display: grid;
	grid-template-columns: repeat(4, minmax(18px, 1fr));
	gap: 5px;
	max-width: 210px;
}
.hit-bot-status-step {
	display: block;
	height: 3px;
	border-radius: 999px;
	background: rgba(76,45,51,.13);
	overflow: hidden;
	position: relative;
}
.hit-bot-status-step::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(90deg, #9b7420, #d4af37);
	transform: scaleX(0);
	transform-origin: right center;
}
.hit-bot-status-step.is-complete::after { transform: scaleX(1); }
.hit-bot-status-step.is-active::after { animation: hitBotStatusProgress 1.15s ease-in-out infinite; }
.hit-bot-status--identity[data-stage="thinking"] .hit-bot-brand-icon {
	animation: hitBotInkWrite .82s ease-in-out infinite;
}
@keyframes hitBotStatusSweep {
	0% { transform: translateX(0); opacity: 0; }
	28% { opacity: 1; }
	100% { transform: translateX(360%); opacity: 0; }
}
@keyframes hitBotStatusProgress {
	0% { transform: scaleX(.08); opacity: .45; }
	55% { transform: scaleX(.9); opacity: 1; }
	100% { transform: scaleX(1); opacity: .35; }
}
@media (max-width: 520px) {
	.hit-bot-status--identity { grid-template-columns: 32px minmax(0, 1fr); }
	.hit-bot-status--identity .hit-bot-dots { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.hit-bot-status--identity::before,
	.hit-bot-status-step.is-active::after,
	.hit-bot-status--identity[data-stage="thinking"] .hit-bot-brand-icon {
		animation: none !important;
	}
	.hit-bot-status-step.is-active::after { transform: scaleX(.65); }
}
