/* Axiom assistant — split-screen panel (Desk + website) */

:root {
	--axiom-chat-split-width: 40%;
	--axiom-chat-split-ease: cubic-bezier(0.4, 0, 0.2, 1);
	--axiom-chat-split-duration: 0.35s;
	--axiom-chat-sidebar-width: 28%;
	--axiom-chat-main-width: 68%;
	--axiom-chat-body-gap: 4%;
	--axiom-chat-popup-inset-block: 2.5rem;
	--axiom-chat-popup-inset-inline: 1.25rem;
	--axiom-chat-popup-max-width: 92rem;
	/* Below Frappe desk .sticky-top (z-index: 1020) so navbar search stays on top */
	--axiom-chat-z-stack: 1010;
}

#axiom-chat-widget {
	--axiom-chat-accent: #171717;
	--axiom-chat-surface: #ffffff;
	--axiom-chat-muted: #737373;
	--axiom-chat-border: rgba(0, 0, 0, 0.08);
	--axiom-chat-panel-border: var(--border-color, #d1d5db);
	--axiom-chat-shadow: -4px 0 24px rgba(0, 0, 0, 0.08);
	--axiom-hover-duration: 0.2s;
	--axiom-hover-ease: cubic-bezier(0.4, 0, 0.2, 1);
	font-family: inherit;
	font-size: 14px;
	line-height: 1.45;
	box-sizing: border-box;
	position: fixed;
	z-index: var(--axiom-chat-z-stack);
	inset: 0 0 0 auto;
	width: 0;
	height: 0;
	overflow: visible;
	pointer-events: none;
}

#axiom-chat-widget *,
#axiom-chat-widget *::before,
#axiom-chat-widget *::after {
	box-sizing: inherit;
}

@keyframes axiom-chat-fade-in {
	from {
		opacity: 0;
		transform: translateX(4px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

/* Floating launcher — analyze + chat toggles */
#axiom-chat-widget .axiom-chat-launcher {
	pointer-events: auto;
	position: fixed;
	right: 2rem;
	bottom: 2rem;
	z-index: 100001;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

#axiom-chat-widget .axiom-chat-launcher .axiom-analyze-toggle[hidden] {
	display: none;
}

#axiom-chat-widget .axiom-analyze-toggle,
#axiom-chat-widget .axiom-chat-toggle {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3.5rem;
	height: 3.5rem;
	padding: 0;
	border: none;
	border-radius: 9999px;
	background: linear-gradient(to bottom right, #004B87, #003359);
	color: #fff;
	cursor: pointer;
	box-shadow:
		0 10px 15px -3px rgba(0, 0, 0, 0.1),
		0 4px 6px -2px rgba(0, 0, 0, 0.05);
	transition:
		background var(--axiom-hover-duration) var(--axiom-hover-ease),
		box-shadow var(--axiom-hover-duration) var(--axiom-hover-ease),
		transform var(--axiom-hover-duration) var(--axiom-hover-ease),
		opacity var(--axiom-hover-duration) var(--axiom-hover-ease);
}

#axiom-chat-widget .axiom-analyze-toggle {
	background: linear-gradient(to bottom right, #28c963, #1e9447);
}

#axiom-chat-widget .axiom-analyze-toggle:hover:not(:disabled) {
	background: linear-gradient(to bottom right, #15803d, #166534);
	box-shadow:
		0 20px 25px -5px rgba(22, 163, 74, 0.3),
		0 10px 10px -5px rgba(22, 163, 74, 0.2);
	transform: scale(1.06);
}

#axiom-chat-widget .axiom-chat-toggle:hover:not(:disabled) {
	background: linear-gradient(to bottom right, #004b87, #003359);
	box-shadow:
		0 20px 25px -5px rgba(37, 99, 235, 0.3),
		0 10px 10px -5px rgba(37, 99, 235, 0.2);
	transform: scale(1.06);
}

#axiom-chat-widget .axiom-analyze-toggle:focus-visible,
#axiom-chat-widget .axiom-chat-toggle:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

#axiom-chat-widget .axiom-analyze-toggle-glow,
#axiom-chat-widget .axiom-chat-toggle-glow {
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: #fff;
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

#axiom-chat-widget .axiom-analyze-toggle-glow-popup,
#axiom-chat-widget .axiom-chat-toggle-glow-popup {
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: #fff;
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

#axiom-chat-widget .axiom-analyze-toggle-icon-popup,
#axiom-chat-widget .axiom-chat-toggle-icon-popup {
	position: relative;
	z-index: 1;
	width: 1.5rem;
	height: 1.5rem;
	flex-shrink: 0;
}

#axiom-chat-widget .axiom-analyze-toggle:hover .axiom-analyze-toggle-glow,
#axiom-chat-widget .axiom-chat-toggle:hover .axiom-chat-toggle-glow {
	opacity: 0.2;
}

#axiom-chat-widget .axiom-analyze-toggle-icon,
#axiom-chat-widget .axiom-chat-toggle-icon {
	position: relative;
	z-index: 1;
	width: 1.5rem;
	height: 1.5rem;
	flex-shrink: 0;
}

#axiom-chat-widget .axiom-analyze-toggle-label,
#axiom-chat-widget .axiom-chat-toggle-label {
	position: absolute;
	right: 100%;
	top: 50%;
	margin-right: 0.75rem;
	padding: 0.5rem 0.75rem;
	background: #1f2937;
	color: #fff;
	font-size: 0.875rem;
	line-height: 1.25;
	white-space: nowrap;
	border-radius: 0.5rem;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(-50%);
	transition:
		opacity var(--axiom-hover-duration) var(--axiom-hover-ease),
		visibility var(--axiom-hover-duration) var(--axiom-hover-ease),
		transform var(--axiom-hover-duration) var(--axiom-hover-ease);
}

#axiom-chat-widget .axiom-analyze-toggle-label::after,
#axiom-chat-widget .axiom-chat-toggle-label::after {
	content: "";
	position: absolute;
	top: 50%;
	right: -0.25rem;
	width: 0.5rem;
	height: 0.5rem;
	background: #1f2937;
	transform: translateY(-50%) rotate(45deg);
}

#axiom-chat-widget .axiom-analyze-toggle:hover .axiom-analyze-toggle-label,
#axiom-chat-widget .axiom-analyze-toggle:focus-visible .axiom-analyze-toggle-label,
#axiom-chat-widget .axiom-chat-toggle:hover .axiom-chat-toggle-label,
#axiom-chat-widget .axiom-chat-toggle:focus-visible .axiom-chat-toggle-label {
	opacity: 1;
	visibility: visible;
	animation: axiom-chat-fade-in 0.2s ease;
}

#axiom-chat-widget.axiom-chat-open .axiom-chat-launcher {
	opacity: 0;
	pointer-events: none;
	transform: scale(0.92);
}

/* Analyze — examining popup */
#axiom-chat-widget .axiom-analyze-popup {
	pointer-events: none;
	position: fixed;
	inset: 0;
	z-index: 100003;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	opacity: 0;
	visibility: hidden;
	transition:
		opacity 0.25s ease,
		visibility 0.25s ease;
}

#axiom-chat-widget .axiom-analyze-popup--open {
	pointer-events: auto;
	opacity: 1;
	visibility: visible;
}

#axiom-chat-widget .axiom-analyze-popup-backdrop,
#axiom-chat-widget .axiom-analyze-save-popup-backdrop {
	position: absolute;
	inset: 0;
	padding: 0;
	border: none;
	background: rgba(15, 23, 42, 0.45);
	cursor: pointer;
	transition: background-color 0.25s var(--axiom-hover-ease);
}

#axiom-chat-widget .axiom-analyze-popup--open .axiom-analyze-popup-backdrop:hover,
#axiom-chat-widget .axiom-analyze-save-popup--open .axiom-analyze-save-popup-backdrop:hover {
	background: rgba(15, 23, 42, 0.52);
}

#axiom-chat-widget .axiom-analyze-toggle--popup {
	flex-shrink: 0;
	width: 5rem;
	height: 5rem;
	cursor: default;
	pointer-events: none;
	overflow: visible;
	background: #004b87;
}

#axiom-chat-widget .axiom-analyze-toggle--popup:hover {
	background: #004b87;
}

#axiom-chat-widget .axiom-analyze-toggle--popup .axiom-analyze-toggle-icon-popup {
	width: 2.5rem;
	height: 2.5rem;
	animation: axiom-analyze-popup-icon-opacity 2.2s ease-in-out infinite;
}

#axiom-chat-widget .axiom-analyze-popup-chat-badge {
	position: absolute;
	top: -0.2rem;
	right: -0.2rem;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	background: transparent;
	border: none;
	box-shadow: none;
	color: #28c963;
}

#axiom-chat-widget .axiom-chat-toggle-icon-popup-badge {
	width: 1.75rem;
	height: 1.75rem;
	flex-shrink: 0;
	transform-origin: center center;
	animation: axiom-analyze-popup-sparkle-spin 3s linear infinite;
}

@keyframes axiom-analyze-popup-sparkle-spin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes axiom-analyze-popup-icon-opacity {
	0%,
	100% {
		opacity: 0.35;
	}
	50% {
		opacity: 1;
	}
}

#axiom-chat-widget .axiom-analyze-popup-card {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	max-width: 22rem;
	padding: 1.5rem 1.75rem;
	background: #fff;
	border-radius: 0.75rem;
	box-shadow:
		0 20px 25px -5px rgba(0, 0, 0, 0.1),
		0 10px 10px -5px rgba(0, 0, 0, 0.04);
	text-align: center;
	animation: axiom-chat-fade-in 0.25s ease;
}

#axiom-chat-widget .axiom-analyze-popup-card-popup {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	max-width: 25rem;
	padding: 1.5rem 1rem;
	background: #fff;
	border-radius: 0.75rem;
	box-shadow:
		0 20px 25px -5px rgba(0, 0, 0, 0.1),
		0 10px 10px -5px rgba(0, 0, 0, 0.04);
	text-align: center;
	animation: axiom-chat-fade-in 0.25s ease;
}

#axiom-chat-widget .axiom-analyze-popup-spinner {
	display: block;
	width: 100%;
	max-width: 23rem;
	height: 0.50rem;
	border-radius: 9999px;
	background: #dcfce7;
	overflow: hidden;
	position: relative;
}

#axiom-chat-widget .axiom-analyze-popup-spinner::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 70%;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(to right,  #004B87, #22c55e);
	animation: axiom-analyze-popup-line 1.1s ease-in-out infinite;
}

@keyframes axiom-analyze-popup-line {
	0% {
		transform: translateX(-100%);
	}
	100% {
		transform: translateX(350%);
	}
}

#axiom-chat-widget .axiom-analyze-popup-text {
	margin: 0;
	font-size: 0.8375rem;
	line-height: 1.55;
	color: #69778c;
}

#axiom-chat-widget .axiom-analyze-popup-text.text-center {
	text-align: center;
	font-size: 1.1rem;
	font-weight: bold;
	color: #004B87;
}

#axiom-chat-widget .axiom-analyze-popup-text--error {
	color: #b91c1c;
	font-weight: 500;
}

/* Analyze — save-to-chat picker */
#axiom-chat-widget .axiom-analyze-save-popup {
	pointer-events: none;
	position: fixed;
	inset: 0;
	z-index: 100004;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	opacity: 0;
	visibility: hidden;
	transition:
		opacity 0.25s ease,
		visibility 0.25s ease;
}

#axiom-chat-widget .axiom-analyze-save-popup--open {
	pointer-events: auto;
	opacity: 1;
	visibility: visible;
}

#axiom-chat-widget .axiom-analyze-save-popup-card {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 26rem;
	max-height: min(32rem, 85vh);
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
	padding: 1.25rem 1.25rem 0;
	background: #fff;
	border-radius: 0.75rem;
	box-shadow:
		0 20px 25px -5px rgba(0, 0, 0, 0.1),
		0 10px 10px -5px rgba(0, 0, 0, 0.04);
	animation: axiom-chat-fade-in 0.25s ease;
	overflow: hidden;
}

#axiom-chat-widget .axiom-analyze-save-popup-title {
	margin: 0;
	font-size: 1rem;
	font-weight: 600;
	color: #004b87;
}

#axiom-chat-widget .axiom-analyze-save-popup-desc {
	margin: 0;
	font-size: 0.8125rem;
	color: #6b7280;
}

#axiom-chat-widget .axiom-analyze-save-new-chat {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	width: 100%;
	margin-top: 0.5rem;
	padding: 0.625rem 0.75rem;
	border: 1px solid #e5e7eb;
	border-radius: 0.5rem;
	background: #fff;
	color: #1f2937;
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition:
		background-color var(--axiom-hover-duration) var(--axiom-hover-ease),
		border-color var(--axiom-hover-duration) var(--axiom-hover-ease),
		box-shadow var(--axiom-hover-duration) var(--axiom-hover-ease),
		transform var(--axiom-hover-duration) var(--axiom-hover-ease);
}

#axiom-chat-widget .axiom-analyze-save-new-chat:hover:not(:disabled) {
	background: #f9fafb;
	border-color: #cbd5e1;
	box-shadow: 0 4px 12px rgba(0, 75, 135, 0.08);
	transform: translateY(-1px);
}

#axiom-chat-widget .axiom-analyze-save-new-chat:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

#axiom-chat-widget .axiom-analyze-save-new-chat-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 2rem;
	height: 2rem;
	border-radius: 5px;
	background: #004b87;
	color: #fff;
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1;
	transition: opacity var(--axiom-hover-duration) var(--axiom-hover-ease);
}

#axiom-chat-widget .axiom-analyze-save-new-chat:hover:not(:disabled) .axiom-analyze-save-new-chat-icon {
	opacity: 0.88;
}

#axiom-chat-widget .axiom-analyze-save-new-chat-text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.125rem;
	min-width: 0;
}

#axiom-chat-widget .axiom-analyze-save-new-chat-title {
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.3;
	color: #111827;
}

#axiom-chat-widget .axiom-analyze-save-new-chat-desc {
	font-size: 0.75rem;
	line-height: 1.35;
	color: #6b7280;
}

#axiom-chat-widget .axiom-analyze-save-popup-body {
	flex: 1;
	min-height: 0;
	margin-top: 0.25rem;
}

#axiom-chat-widget .axiom-analyze-save-chat-list {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	max-height: 16rem;
	overflow-y: auto;
	padding-right: 0.125rem;
}

#axiom-chat-widget .axiom-analyze-save-chat-list--busy {
	opacity: 0.6;
	pointer-events: none;
}

#axiom-chat-widget .axiom-analyze-save-project {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

#axiom-chat-widget .axiom-analyze-save-project-header {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.375rem 0.25rem;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: #6b7280;
}

#axiom-chat-widget .axiom-analyze-save-project-header svg {
	width: 0.875rem;
	height: 0.875rem;
	flex-shrink: 0;
	color: #9ca3af;
}

#axiom-chat-widget .axiom-analyze-save-project-name {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#axiom-chat-widget .axiom-analyze-save-project-count {
	flex-shrink: 0;
	color: #9ca3af;
	font-weight: 500;
}

#axiom-chat-widget .axiom-analyze-save-project-sessions {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding-left: 0.5rem;
}

#axiom-chat-widget .axiom-analyze-save-chat-item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.125rem;
	width: 100%;
	padding: 0.5rem 0.625rem;
	border: 1px solid #e5e7eb;
	border-radius: 0.5rem;
	background: #fff;
	color: #1f2937;
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition:
		background-color var(--axiom-hover-duration) var(--axiom-hover-ease),
		border-color var(--axiom-hover-duration) var(--axiom-hover-ease),
		box-shadow var(--axiom-hover-duration) var(--axiom-hover-ease),
		transform var(--axiom-hover-duration) var(--axiom-hover-ease);
}

#axiom-chat-widget .axiom-analyze-save-chat-item:hover:not(.axiom-analyze-save-chat-item--selected) {
	background: #f9fafb;
	border-color: #cbd5e1;
	transform: translateX(2px);
}

#axiom-chat-widget .axiom-analyze-save-chat-item--selected {
	background: #eff6ff;
	border-color: #004b87;
	box-shadow: 0 0 0 1px rgba(0, 75, 135, 0.15);
}

#axiom-chat-widget .axiom-analyze-save-chat-item-title {
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.3;
}

#axiom-chat-widget .axiom-analyze-save-chat-item-preview {
	font-size: 0.75rem;
	color: #6b7280;
	line-height: 1.35;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 100%;
}

#axiom-chat-widget .axiom-analyze-save-empty {
	margin: 0;
	font-size: 0.8125rem;
	color: #6b7280;
	text-align: center;
	padding: 0.75rem 0.5rem;
}

#axiom-chat-widget .axiom-analyze-save-popup-footer {
	display: flex;
	gap: 0.5rem;
	padding: 0.875rem 0 1.25rem;
	margin-top: 0.25rem;
	border-top: 1px solid #e5e7eb;
	flex-shrink: 0;
}

#axiom-chat-widget .axiom-analyze-save-cancel,
#axiom-chat-widget .axiom-analyze-save-add {
	flex: 1;
	padding: 0.5rem 0.75rem;
	border-radius: 0.5rem;
	font: inherit;
	font-size: 0.875rem;
	font-weight: 500;
	cursor: pointer;
	transition:
		background-color var(--axiom-hover-duration) var(--axiom-hover-ease),
		border-color var(--axiom-hover-duration) var(--axiom-hover-ease),
		color var(--axiom-hover-duration) var(--axiom-hover-ease),
		opacity var(--axiom-hover-duration) var(--axiom-hover-ease),
		transform var(--axiom-hover-duration) var(--axiom-hover-ease),
		box-shadow var(--axiom-hover-duration) var(--axiom-hover-ease);
}

#axiom-chat-widget .axiom-analyze-save-cancel {
	border: 1px solid #e5e7eb;
	background: #fff;
	color: #374151;
}

#axiom-chat-widget .axiom-analyze-save-cancel:hover:not(:disabled) {
	background: #f9fafb;
	border-color: #d1d5db;
}

#axiom-chat-widget .axiom-analyze-save-add {
	border: 1px solid #004b87;
	background: #004b87;
	color: #fff;
}

#axiom-chat-widget .axiom-analyze-save-add:hover:not(:disabled) {
	background: #003359;
	border-color: #003359;
	box-shadow: 0 4px 12px rgba(0, 75, 135, 0.25);
	transform: translateY(-1px);
}

#axiom-chat-widget .axiom-analyze-save-add:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

#axiom-chat-widget .axiom-chat-launcher .axiom-analyze-toggle:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* Confirm dialog (e.g. delete chat) */
#axiom-chat-widget .axiom-chat-confirm-popup {
	pointer-events: none;
	position: fixed;
	inset: 0;
	z-index: 100005;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	opacity: 0;
	visibility: hidden;
	transition:
		opacity 0.25s ease,
		visibility 0.25s ease;
}

#axiom-chat-widget .axiom-chat-confirm-popup--open {
	pointer-events: auto;
	opacity: 1;
	visibility: visible;
}

#axiom-chat-widget .axiom-chat-confirm-popup-backdrop {
	position: absolute;
	inset: 0;
	padding: 0;
	border: none;
	background: rgba(15, 23, 42, 0.45);
	cursor: pointer;
	transition: background-color 0.25s var(--axiom-hover-ease);
}

#axiom-chat-widget .axiom-chat-confirm-popup--open .axiom-chat-confirm-popup-backdrop:hover {
	background: rgba(15, 23, 42, 0.52);
}

#axiom-chat-widget .axiom-chat-confirm-popup-card {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 22rem;
	padding: 1.25rem;
	background: #fff;
	border-radius: 0.75rem;
	box-shadow:
		0 20px 25px -5px rgba(0, 0, 0, 0.1),
		0 10px 10px -5px rgba(0, 0, 0, 0.04);
	animation: axiom-chat-fade-in 0.25s ease;
}

#axiom-chat-widget .axiom-chat-confirm-popup-title {
	margin: 0 0 0.5rem;
	font-size: 1rem;
	font-weight: 600;
	color: #111827;
}

#axiom-chat-widget .axiom-chat-confirm-popup-desc {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.5;
	color: #6b7280;
}

#axiom-chat-widget .axiom-chat-confirm-popup-footer {
	display: flex;
	gap: 0.5rem;
	margin-top: 1.25rem;
}

#axiom-chat-widget .axiom-chat-confirm-cancel,
#axiom-chat-widget .axiom-chat-confirm-yes {
	flex: 1;
	padding: 0.5rem 0.75rem;
	border-radius: 0.5rem;
	font: inherit;
	font-size: 0.875rem;
	font-weight: 500;
	cursor: pointer;
	transition:
		background-color var(--axiom-hover-duration) var(--axiom-hover-ease),
		border-color var(--axiom-hover-duration) var(--axiom-hover-ease),
		color var(--axiom-hover-duration) var(--axiom-hover-ease),
		opacity var(--axiom-hover-duration) var(--axiom-hover-ease),
		transform var(--axiom-hover-duration) var(--axiom-hover-ease);
}

#axiom-chat-widget .axiom-chat-confirm-cancel {
	border: 1px solid #e5e7eb;
	background: #fff;
	color: #374151;
}

#axiom-chat-widget .axiom-chat-confirm-cancel:hover {
	background: #f9fafb;
	border-color: #d1d5db;
}

#axiom-chat-widget .axiom-chat-confirm-yes {
	border: 1px solid #004b87;
	background: #004b87;
	color: #fff;
}

#axiom-chat-widget .axiom-chat-confirm-yes--danger {
	border-color: #dc2626;
	background: #dc2626;
}

#axiom-chat-widget .axiom-chat-confirm-yes--danger:hover {
	background: #b91c1c;
	border-color: #b91c1c;
}

/* New project popup */
#axiom-chat-widget .axiom-chat-new-project-popup {
	pointer-events: none;
	position: fixed;
	inset: 0;
	z-index: 100005;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	opacity: 0;
	visibility: hidden;
	transition:
		opacity 0.25s ease,
		visibility 0.25s ease;
}

#axiom-chat-widget .axiom-chat-new-project-popup--open {
	pointer-events: auto;
	opacity: 1;
	visibility: visible;
}

#axiom-chat-widget .axiom-chat-new-project-popup-backdrop {
	position: absolute;
	inset: 0;
	padding: 0;
	border: none;
	background: rgba(15, 23, 42, 0.45);
	cursor: pointer;
	transition: background-color 0.25s var(--axiom-hover-ease);
}

#axiom-chat-widget .axiom-chat-new-project-popup--open .axiom-chat-new-project-popup-backdrop:hover {
	background: rgba(15, 23, 42, 0.52);
}

#axiom-chat-widget .axiom-chat-new-project-popup-card {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 24rem;
	padding: 1.25rem;
	background: #fff;
	border-radius: 0.75rem;
	box-shadow:
		0 20px 25px -5px rgba(0, 0, 0, 0.1),
		0 10px 10px -5px rgba(0, 0, 0, 0.04);
	animation: axiom-chat-fade-in 0.25s ease;
}

#axiom-chat-widget .axiom-chat-new-project-popup-title {
	margin: 0 0 0.5rem;
	font-size: 1rem;
	font-weight: 600;
	color: #111827;
}

#axiom-chat-widget .axiom-chat-new-project-popup-desc {
	margin: 0 0 1rem;
	font-size: 0.875rem;
	line-height: 1.5;
	color: #6b7280;
}

#axiom-chat-widget .axiom-chat-new-project-popup-label {
	display: block;
	margin-bottom: 0.375rem;
	font-size: 0.8125rem;
	font-weight: 500;
	color: #374151;
}

#axiom-chat-widget .axiom-chat-new-project-popup-input {
	width: 100%;
	padding: 0.625rem 0.75rem;
	border: 1px solid #e5e7eb;
	border-radius: 0.5rem;
	background: #f9fafb;
	color: #1f2937;
	font: inherit;
	font-size: 0.875rem;
	line-height: 1.25;
	transition:
		border-color var(--axiom-hover-duration) var(--axiom-hover-ease),
		box-shadow var(--axiom-hover-duration) var(--axiom-hover-ease);
}

#axiom-chat-widget .axiom-chat-new-project-popup-input:focus {
	outline: none;
	border-color: #004b87;
	box-shadow: 0 0 0 3px rgba(0, 75, 135, 0.12);
	background: #fff;
}

#axiom-chat-widget .axiom-chat-new-project-popup-input:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

#axiom-chat-widget .axiom-chat-new-project-popup-error {
	margin: 0.5rem 0 0;
	font-size: 0.8125rem;
	line-height: 1.4;
	color: #dc2626;
}

#axiom-chat-widget .axiom-chat-new-project-popup-error[hidden] {
	display: none;
}

#axiom-chat-widget .axiom-chat-new-project-popup-footer {
	display: flex;
	gap: 0.5rem;
	margin-top: 1.25rem;
}

#axiom-chat-widget .axiom-chat-new-project-cancel,
#axiom-chat-widget .axiom-chat-new-project-create {
	flex: 1;
	padding: 0.5rem 0.75rem;
	border-radius: 0.5rem;
	font: inherit;
	font-size: 0.875rem;
	font-weight: 500;
	cursor: pointer;
	transition:
		background-color var(--axiom-hover-duration) var(--axiom-hover-ease),
		border-color var(--axiom-hover-duration) var(--axiom-hover-ease),
		color var(--axiom-hover-duration) var(--axiom-hover-ease),
		opacity var(--axiom-hover-duration) var(--axiom-hover-ease);
}

#axiom-chat-widget .axiom-chat-new-project-cancel {
	border: 1px solid #e5e7eb;
	background: #fff;
	color: #374151;
}

#axiom-chat-widget .axiom-chat-new-project-cancel:hover:not(:disabled) {
	background: #f9fafb;
	border-color: #d1d5db;
}

#axiom-chat-widget .axiom-chat-new-project-create {
	border: 1px solid #004b87;
	background: #004b87;
	color: #fff;
}

#axiom-chat-widget .axiom-chat-new-project-create:hover:not(:disabled) {
	background: #003359;
	border-color: #003359;
}

#axiom-chat-widget .axiom-chat-new-project-create:disabled,
#axiom-chat-widget .axiom-chat-new-project-cancel:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

#axiom-chat-widget .axiom-chat-panel {
	pointer-events: none;
	position: fixed;
	top: var(--axiom-chat-inset-top, 0px);
	right: 0;
	bottom: var(--axiom-chat-inset-bottom, 0px);
	width: 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	background: var(--axiom-chat-surface);
	border-left: 1px solid transparent;
	box-shadow: none;
	overflow: hidden;
	transition:
		width var(--axiom-chat-split-duration) var(--axiom-chat-split-ease),
		min-width var(--axiom-chat-split-duration) var(--axiom-chat-split-ease),
		top var(--axiom-chat-split-duration) var(--axiom-chat-split-ease),
		bottom var(--axiom-chat-split-duration) var(--axiom-chat-split-ease),
		border-color var(--axiom-chat-split-duration) var(--axiom-chat-split-ease),
		box-shadow var(--axiom-chat-split-duration) var(--axiom-chat-split-ease);
	will-change: width, top, bottom;
	z-index: 100000;
}

#axiom-chat-widget.axiom-chat-open .axiom-chat-panel {
	width: var(--axiom-chat-split-width);
	min-width: 0;
	/* border-left: 1px solid var(--axiom-chat-panel-border); */
	border-left: 3px solid rgba(0, 75, 135, 0.2);
	box-shadow: var(--axiom-chat-shadow);
	pointer-events: auto;
}

#axiom-chat-widget .axiom-chat-resize-handle {
	display: none;
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 0.5rem;
	margin: 0;
	padding: 0;
	border: none;
	background: transparent;
	cursor: col-resize;
	z-index: 5;
	touch-action: none;
}

#axiom-chat-widget.axiom-chat-open:not(.axiom-chat-maximized) .axiom-chat-resize-handle {
	display: block;
}

#axiom-chat-widget .axiom-chat-resize-handle:hover,
html.axiom-chat-resizing #axiom-chat-widget .axiom-chat-resize-handle {
	background: rgba(0, 75, 135, 0.12);
}

html.axiom-chat-resizing #axiom-chat-widget .axiom-chat-panel,
html.axiom-chat-resizing .axiom-chat-split-body {
	transition: none !important;
}

#axiom-chat-widget .axiom-chat-maximize-backdrop {
	position: fixed;
	inset: 0;
	z-index: 100001;
	border: none;
	padding: 0;
	margin: 0;
	background: rgba(15, 23, 42, 0.42);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	cursor: default;
	transition:
		opacity var(--axiom-chat-split-duration) var(--axiom-chat-split-ease),
		visibility var(--axiom-chat-split-duration) var(--axiom-chat-split-ease);
}

#axiom-chat-widget.axiom-chat-maximized .axiom-chat-maximize-backdrop {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

#axiom-chat-widget.axiom-chat-maximized.axiom-chat-open .axiom-chat-panel {
	left: 50%;
	top: 50%;
	right: auto;
	bottom: auto;
	transform: translate(-50%, -50%);
	width: min(
		var(--axiom-chat-popup-max-width),
		calc(100vw - var(--axiom-chat-popup-inset-inline) * 2)
	);
	height: calc(100vh - var(--axiom-chat-popup-inset-block) * 2);
	max-height: calc(100vh - var(--axiom-chat-popup-inset-block) * 2);
	min-width: 0;
	border: 1px solid var(--axiom-chat-border);
	border-radius: 0.75rem;
	box-shadow:
		0 25px 50px -12px rgba(0, 0, 0, 0.28),
		0 12px 24px -8px rgba(0, 0, 0, 0.12);
	z-index: 100002;
}

html.axiom-chat-maximized-open .axiom-chat-split-body {
	margin-right: 0 !important;
}

/* Push body only (below header, above footer) — not navbar/footer */
html.axiom-chat-split-open:not(.axiom-chat-maximized-open) .axiom-chat-split-body {
	margin-right: var(--axiom-chat-split-width);
	transition: margin-right var(--axiom-chat-split-duration) var(--axiom-chat-split-ease);
}

#axiom-chat-widget .axiom-chat-header {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
	flex-shrink: 0;
	padding: 0.875rem 1rem;
	border-bottom: 2px solid var(--axiom-chat-border);
	background: white;
	overflow: visible;
}

#axiom-chat-widget .axiom-chat-header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	min-width: 0;
}

#axiom-chat-widget .axiom-chat-header-brand {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	min-width: 0;
	flex: 1;
}

#axiom-chat-widget .axiom-chat-header-icon-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 0.5rem;
	background: linear-gradient(to bottom right, #004B87, #003359);
	color: #fff;
}

#axiom-chat-widget .axiom-chat-header-icon {
	width: 1.25rem;
	height: 1.25rem;
	flex-shrink: 0;
}

#axiom-chat-widget .axiom-chat-header-text {
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
	min-width: 0;
}

#axiom-chat-widget .axiom-chat-title {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.25;
	color: var(--axiom-chat-accent);
}

#axiom-chat-widget .axiom-chat-header-status {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.3;
	color: var(--axiom-chat-muted);
	display: flex;
	align-items: center;
	gap: 0.35rem;
}

#axiom-chat-widget .axiom-chat-header-status-dot {
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: #22c55e;
	flex-shrink: 0;
}

#axiom-chat-widget .axiom-chat-header-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-shrink: 0;
	gap: 0.25rem;
	margin-left: auto;
}

#axiom-chat-widget .axiom-chat-body {
	display: flex;
	flex: 1;
	min-height: 0;
	/* gap: var(--axiom-chat-body-gap); */
	padding: 0.25rem;
	overflow: hidden;
}

#axiom-chat-widget .axiom-chat-sidebar {
	position: relative;
	z-index: 4;
	flex: 0 0 var(--axiom-chat-sidebar-width);
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	overflow: hidden;
}

#axiom-chat-widget .axiom-chat-list {
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	padding: 0.25rem 0;
}

#axiom-chat-widget .axiom-chat-list-empty {
	margin: 0.25rem 0.5rem;
	padding: 0.5rem 0.25rem;
	font-size: 0.75rem;
	color: var(--axiom-chat-muted);
	text-align: center;
}

#axiom-chat-widget .axiom-chat-list-item {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0.25rem 0.5rem;
	padding: 0.625rem 0.75rem;
	border: none;
	border-radius: 0.5rem;
	background: transparent;
	color: #4b5563;
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition:
		background-color var(--axiom-hover-duration) var(--axiom-hover-ease),
		color var(--axiom-hover-duration) var(--axiom-hover-ease),
		transform var(--axiom-hover-duration) var(--axiom-hover-ease);
}

#axiom-chat-widget .axiom-chat-list-item:hover:not(.axiom-chat-list-item--disabled):not(.axiom-chat-list-item--active) {
	background: #f9fafb;
	transform: translateX(2px);
}

#axiom-chat-widget .axiom-chat-list-item--active {
	background: #eff6ff;
	color: #1e40af;
}

#axiom-chat-widget .axiom-chat-list-item--active:hover:not(.axiom-chat-list-item--disabled) {
	background: #eff6ff;
}

#axiom-chat-widget .axiom-chat-list-item--disabled {
	opacity: 0.45;
	cursor: not-allowed;
	pointer-events: none;
}

#axiom-chat-widget .axiom-chat-list-item--menu-open,
#axiom-chat-widget .axiom-chat-list-item:has(.axiom-chat-list-item-menu:not([hidden])) {
	z-index: 40;
}

#axiom-chat-widget .axiom-chat-list-item--menu-open .axiom-chat-list-item-menu,
#axiom-chat-widget
	.axiom-chat-list-item:has(.axiom-chat-list-item-menu:not([hidden]))
	.axiom-chat-list-item-menu {
	z-index: 41;
}

#axiom-chat-widget .axiom-chat-list-item-title {
	font-size: 0.775rem;
	font-weight: 400;
	line-height: 1.25;
	min-width: 0;
	flex: 1;
	margin-right: 0.5rem;
	/* padding-left: 1rem; */
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#axiom-chat-widget .axiom-chat-list-item--active .axiom-chat-list-item-title {
	font-weight: 500;
}

#axiom-chat-widget .axiom-chat-list-item-actions {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	flex-shrink: 0;
	opacity: 0;
	transition: opacity var(--axiom-hover-duration) var(--axiom-hover-ease);
}

#axiom-chat-widget .axiom-chat-list-item:hover .axiom-chat-list-item-actions,
#axiom-chat-widget .axiom-chat-list-item--active .axiom-chat-list-item-actions,
#axiom-chat-widget .axiom-chat-list-item:has(.axiom-chat-list-item-menu:not([hidden])) .axiom-chat-list-item-actions {
	opacity: 1;
}

#axiom-chat-widget .axiom-chat-list-item-menu-btn,
#axiom-chat-widget .axiom-chat-list-item-delete-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.25rem;
	border: none;
	border-radius: 0.25rem;
	background: transparent;
	color: inherit;
	cursor: pointer;
	transition:
		background-color var(--axiom-hover-duration) var(--axiom-hover-ease),
		opacity var(--axiom-hover-duration) var(--axiom-hover-ease);
}

#axiom-chat-widget .axiom-chat-list-item-menu-btn:hover,
#axiom-chat-widget .axiom-chat-list-item-delete-btn:hover {
	background: #fff;
	opacity: 1;
}

#axiom-chat-widget .axiom-chat-list-item-menu {
	position: absolute;
	right: 0;
	top: 100%;
	z-index: 41;
	margin-top: 0.25rem;
	min-width: 11.25rem;
	padding: 0.25rem 0;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 0.5rem;
	box-shadow:
		0 10px 15px -3px rgba(0, 0, 0, 0.12),
		0 8px 20px -4px rgba(0, 0, 0, 0.08);
}

#axiom-chat-widget .axiom-chat-list-item-menu[hidden] {
	display: none;
}

#axiom-chat-widget .axiom-chat-list-item-menu-delete {
	width: 100%;
	padding: 0.5rem 0.75rem;
	border: none;
	background: transparent;
	color: #374151;
	font: inherit;
	font-size: 0.875rem;
	text-align: left;
	cursor: pointer;
	transition: background-color var(--axiom-hover-duration) var(--axiom-hover-ease);
}

#axiom-chat-widget .axiom-chat-list-item-menu-delete:hover {
	background: #f9fafb;
}

#axiom-chat-widget .axiom-chat-list-item-menu--wide {
	min-width: 11.25rem;
}

#axiom-chat-widget .axiom-chat-list-item-menu-head {
	padding: 0.375rem 0.75rem;
	font-size: 0.75rem;
	font-weight: 600;
	color: #6b7280;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

#axiom-chat-widget .axiom-chat-list-item-menu-scroll {
	max-height: 12rem;
	overflow-y: auto;
}

#axiom-chat-widget .axiom-chat-list-item-menu-divider {
	border-top: 1px solid #e5e7eb;
	margin: 0.25rem 0;
}

#axiom-chat-widget .axiom-chat-list-item-menu-option {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0.75rem;
	border: none;
	background: transparent;
	color: #374151;
	font: inherit;
	font-size: 0.875rem;
	text-align: left;
	cursor: pointer;
	transition: background-color var(--axiom-hover-duration) var(--axiom-hover-ease);
}

#axiom-chat-widget .axiom-chat-list-item-menu-option:hover {
	background: #f9fafb;
}

#axiom-chat-widget .axiom-chat-list-item-menu-option-label {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#axiom-chat-widget .axiom-chat-list-item-menu-check {
	margin-left: auto;
	flex-shrink: 0;
	color: #004B87;
}

#axiom-chat-widget .axiom-chat-project {
	position: relative;
	margin-bottom: 0.5rem;
}

#axiom-chat-widget .axiom-chat-project--menu-open,
#axiom-chat-widget .axiom-chat-project:has(.axiom-chat-list-item-menu:not([hidden])),
#axiom-chat-widget .axiom-chat-project:has(.axiom-chat-project-menu:not([hidden])) {
	z-index: 30;
}

#axiom-chat-widget .axiom-chat-project-sessions {
	position: relative;
	overflow: visible;
	margin-top: 0.25rem;
}

#axiom-chat-widget .axiom-chat-project-header {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	width: 100%;
	padding: 0.5rem 0.75rem;
	font-size: 0.75rem;
	color: #6b7280;
	transition: background-color var(--axiom-hover-duration) var(--axiom-hover-ease);
}

#axiom-chat-widget .axiom-chat-project-header:hover {
	background: #f9fafb;
}

#axiom-chat-widget .axiom-chat-project-toggle {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex: 1;
	min-width: 0;
	padding: 0;
	border: none;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: inherit;
	text-align: left;
	cursor: pointer;
}

#axiom-chat-widget .axiom-chat-project-toggle svg {
	flex-shrink: 0;
}

#axiom-chat-widget .axiom-chat-project-name {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

#axiom-chat-widget .axiom-chat-project-count {
	color: #9ca3af;
	flex-shrink: 0;
}

#axiom-chat-widget .axiom-chat-project-menu-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	padding: 0.25rem;
	border: none;
	border-radius: 0.25rem;
	background: transparent;
	color: inherit;
	cursor: pointer;
	opacity: 0;
	transition:
		opacity var(--axiom-hover-duration) var(--axiom-hover-ease),
		background-color var(--axiom-hover-duration) var(--axiom-hover-ease);
}

#axiom-chat-widget .axiom-chat-project-header:hover .axiom-chat-project-menu-btn,
#axiom-chat-widget .axiom-chat-project:has(.axiom-chat-project-menu:not([hidden])) .axiom-chat-project-menu-btn {
	opacity: 1;
}

#axiom-chat-widget .axiom-chat-project-menu-btn:hover {
	background: #e5e7eb;
}

#axiom-chat-widget .axiom-chat-project-menu {
	position: absolute;
	right: 0.5rem;
	top: 100%;
	z-index: 45;
	margin-top: 0.25rem;
	min-width: 10rem;
	padding: 0.25rem 0;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 0.5rem;
	box-shadow:
		0 10px 15px -3px rgba(0, 0, 0, 0.12),
		0 8px 20px -4px rgba(0, 0, 0, 0.08);
}

#axiom-chat-widget .axiom-chat-project-menu[hidden] {
	display: none;
}

#axiom-chat-widget .axiom-chat-project-menu-rename,
#axiom-chat-widget .axiom-chat-project-menu-delete {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0.75rem;
	border: none;
	background: transparent;
	font: inherit;
	font-size: 0.875rem;
	text-align: left;
	cursor: pointer;
	transition: background-color var(--axiom-hover-duration) var(--axiom-hover-ease);
}

#axiom-chat-widget .axiom-chat-project-menu-rename {
	color: #374151;
}

#axiom-chat-widget .axiom-chat-project-menu-rename:hover {
	background: #f9fafb;
}

#axiom-chat-widget .axiom-chat-project-menu-delete {
	color: #dc2626;
}

#axiom-chat-widget .axiom-chat-project-menu-delete:hover {
	background: #fef2f2;
}

#axiom-chat-widget .axiom-chat-main {
	position: relative;
	z-index: 1;
	flex: 0 0 var(--axiom-chat-main-width);
	min-width: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-left: 1px solid var(--axiom-chat-border);
	background: #f9fafb;
}

#axiom-chat-widget .axiom-chat-toolbar {
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.5rem;
	padding: 0;
	border-bottom: none;
	background: transparent;
	margin-right: 2px;
}

#axiom-chat-widget .axiom-chat-new {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.5rem 0.75rem;
	border: none;
	border-radius: 0.5rem;
	background: #004B87;
	color: #fff;
	font: inherit;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.25;
	cursor: pointer;
	white-space: nowrap;
	transition:
		background-color var(--axiom-hover-duration) var(--axiom-hover-ease),
		color var(--axiom-hover-duration) var(--axiom-hover-ease),
		opacity var(--axiom-hover-duration) var(--axiom-hover-ease),
		transform var(--axiom-hover-duration) var(--axiom-hover-ease);
}

#axiom-chat-widget .axiom-chat-new:hover:not(:disabled) {
	background: #003359;
	color: #fff;
	opacity: 0.92;
	transform: translateY(-1px);
}

#axiom-chat-widget .axiom-chat-new:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

#axiom-chat-widget .axiom-chat-new-project {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.5rem 0.75rem;
	border: 1px solid #e5e7eb;
	border-radius: 0.5rem;
	background: #fff;
	color: #374151;
	font: inherit;
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.25;
	cursor: pointer;
	white-space: nowrap;
	transition:
		background-color var(--axiom-hover-duration) var(--axiom-hover-ease),
		border-color var(--axiom-hover-duration) var(--axiom-hover-ease),
		box-shadow var(--axiom-hover-duration) var(--axiom-hover-ease),
		transform var(--axiom-hover-duration) var(--axiom-hover-ease);
}

#axiom-chat-widget .axiom-chat-new-project-icon {
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
}

#axiom-chat-widget .axiom-chat-new-project-label {
	font-size: 0.875rem;
}

#axiom-chat-widget .axiom-chat-new-project:hover:not(:disabled) {
	background: #f9fafb;
	border-color: #cbd5e1;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

#axiom-chat-widget .axiom-chat-new-project:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

#axiom-chat-widget .axiom-chat-close,
#axiom-chat-widget .axiom-chat-maximize {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	padding: 0;
	border: none;
	border-radius: 8px;
	background: transparent;
	color: var(--axiom-chat-muted);
	cursor: pointer;
	transition:
		background-color var(--axiom-hover-duration) var(--axiom-hover-ease),
		color var(--axiom-hover-duration) var(--axiom-hover-ease),
		opacity var(--axiom-hover-duration) var(--axiom-hover-ease);
}

#axiom-chat-widget .axiom-chat-close:hover,
#axiom-chat-widget .axiom-chat-maximize:hover {
	background: rgba(0, 0, 0, 0.06);
	color: var(--axiom-chat-accent);
	opacity: 0.85;
}

#axiom-chat-widget .axiom-chat-maximize:focus-visible,
#axiom-chat-widget .axiom-chat-close:focus-visible {
	outline: 2px solid #004b87;
	outline-offset: 2px;
}

#axiom-chat-widget .axiom-chat-messages {
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	padding: 0.1rem;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	background: #f9fafb;
	-webkit-overflow-scrolling: touch;
}

#axiom-chat-widget .axiom-chat-prompts-head {
	display: flex;
	flex-direction: column;
	width: 100%;
	min-width: 0;
	position: relative;
}

#axiom-chat-widget .axiom-chat-quick-actions {
	position: relative;
	width: 100%;
}

#axiom-chat-widget .axiom-chat-quick-actions-toggle {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0.625rem 1rem;
	border: 1px solid #e5e7eb;
	border-radius: 0.5rem;
	background: #f9fafb;
	color: #374151;
	font: inherit;
	font-size: 0.875rem;
	line-height: 1.25;
	cursor: pointer;
	transition:
		background-color var(--axiom-hover-duration) var(--axiom-hover-ease),
		border-color var(--axiom-hover-duration) var(--axiom-hover-ease),
		box-shadow var(--axiom-hover-duration) var(--axiom-hover-ease);
}

#axiom-chat-widget .axiom-chat-quick-actions-toggle:hover:not(:disabled) {
	background: #f3f4f6;
	border-color: #d1d5db;
}

#axiom-chat-widget .axiom-chat-quick-actions-toggle:focus-visible {
	outline: 2px solid #004B87;
	outline-offset: 2px;
}

#axiom-chat-widget .axiom-chat-quick-actions-toggle:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

#axiom-chat-widget .axiom-chat-quick-actions-chevron {
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
	color: #6b7280;
	transition: transform 0.2s ease;
}

#axiom-chat-widget .axiom-chat-quick-actions-open .axiom-chat-quick-actions-chevron {
	transform: rotate(180deg);
}

#axiom-chat-widget .axiom-chat-quick-actions-menu {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	margin-top: 0.5rem;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 0.5rem;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
	z-index: 10;
	max-height: 16rem;
	overflow-y: auto;
}

#axiom-chat-widget .axiom-chat-quick-actions-menu[hidden] {
	display: none;
}

#axiom-chat-widget .axiom-chat-quick-actions-item {
	width: 100%;
	display: block;
	padding: 0.625rem 1rem;
	border: none;
	border-bottom: 1px solid #f3f4f6;
	background: transparent;
	color: #374151;
	font: inherit;
	font-size: 0.875rem;
	line-height: 1.35;
	text-align: left;
	cursor: pointer;
	transition: background-color var(--axiom-hover-duration) var(--axiom-hover-ease);
}

#axiom-chat-widget .axiom-chat-quick-actions-item:last-child {
	border-bottom: none;
}

#axiom-chat-widget .axiom-chat-quick-actions-item:hover {
	background: #f9fafb;
}

#axiom-chat-widget .axiom-chat-msg-group {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

#axiom-chat-widget .axiom-chat-msg {
	width: 100%;
}

#axiom-chat-widget .axiom-chat-msg-user-row {
	display: flex;
	justify-content: flex-end;
}

#axiom-chat-widget .axiom-chat-msg--user .axiom-chat-msg-bubble {
	max-width: 80%;
}

#axiom-chat-widget .axiom-chat-msg-assistant-row {
	display: flex;
	gap: 0.25rem;
	align-items: flex-start;
}

#axiom-chat-widget .axiom-chat-msg-avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 2rem;
	height: 2rem;
	border-radius: 0.5rem;
	background: linear-gradient(to bottom right, #004B87, #003359);
	color: #fff;
}

#axiom-chat-widget .axiom-chat-msg-avatar-icon {
	width: 1rem;
	height: 1rem;
}

#axiom-chat-widget .axiom-chat-msg-assistant-body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

#axiom-chat-widget .axiom-chat-msg-bubble {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 0.5rem;
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

#axiom-chat-widget .axiom-chat-msg--user .axiom-chat-msg-bubble {
	padding: 0.625rem 1rem;
}

#axiom-chat-widget .axiom-chat-msg--assistant .axiom-chat-msg-bubble {
	padding: 0.75rem 1rem;
}

#axiom-chat-widget .axiom-chat-msg-text {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.5;
	white-space: pre-wrap;
	word-break: break-word;
}

#axiom-chat-widget .axiom-chat-msg-text--markdown {
	white-space: normal;
}

#axiom-chat-widget .axiom-chat-msg-text strong {
	font-weight: 600;
	color: #111827;
}

#axiom-chat-widget .axiom-chat-msg-text em {
	font-style: italic;
}

#axiom-chat-widget .axiom-chat-msg-code {
	padding: 0.1em 0.35em;
	border-radius: 0.25rem;
	background: #f3f4f6;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 0.8125em;
}

#axiom-chat-widget .axiom-chat-analysis-summary strong,
#axiom-chat-widget .axiom-chat-analysis-list strong {
	font-weight: 600;
	color: #111827;
}

#axiom-chat-widget .axiom-chat-msg--user .axiom-chat-msg-text {
	color: #1f2937;
}

#axiom-chat-widget .axiom-chat-msg--assistant .axiom-chat-msg-text {
	color: #374151;
}

/* Assistant markdown (headings, tables, lists) */
#axiom-chat-widget .axiom-chat-md {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	font-size: 0.875rem;
	line-height: 1.55;
	color: #374151;
}

#axiom-chat-widget .axiom-chat-md > :first-child {
	margin-top: 0;
}

#axiom-chat-widget .axiom-chat-md > :last-child {
	margin-bottom: 0;
}

#axiom-chat-widget .axiom-chat-md-p {
	margin: 0;
}

#axiom-chat-widget .axiom-chat-md-heading {
	margin: 0;
	font-weight: 600;
	color: #111827;
	line-height: 1.35;
}

#axiom-chat-widget .axiom-chat-md-heading--1 {
	font-size: 1.0625rem;
}

#axiom-chat-widget .axiom-chat-md-heading--2 {
	font-size: 1rem;
	padding-bottom: 0.25rem;
	border-bottom: 1px solid #f3f4f6;
}

#axiom-chat-widget .axiom-chat-md-heading--3,
#axiom-chat-widget .axiom-chat-md-heading--4 {
	font-size: 0.9375rem;
	color: #1f2937;
}

#axiom-chat-widget .axiom-chat-md-hr {
	margin: 0.25rem 0;
	border: none;
	border-top: 1px solid #e5e7eb;
}

#axiom-chat-widget .axiom-chat-md-ul,
#axiom-chat-widget .axiom-chat-md-ol {
	margin: 0;
	padding-left: 1.25rem;
}

#axiom-chat-widget .axiom-chat-md-li + .axiom-chat-md-li {
	margin-top: 0.25rem;
}

#axiom-chat-widget .axiom-chat-md-pre {
	margin: 0;
	padding: 0.625rem 0.75rem;
	border-radius: 0.375rem;
	background: #f3f4f6;
	border: 1px solid #e5e7eb;
	overflow-x: auto;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 0.75rem;
	line-height: 1.45;
	white-space: pre-wrap;
	word-break: break-word;
}

#axiom-chat-widget .axiom-chat-md-pre code {
	background: transparent;
	padding: 0;
	font-size: inherit;
}

#axiom-chat-widget .axiom-chat-md-table-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid #e5e7eb;
	border-radius: 0.375rem;
	background: #fff;
}

#axiom-chat-widget .axiom-chat-md-table {
	width: 100%;
	min-width: max-content;
	border-collapse: collapse;
	font-size: 0.8125rem;
	line-height: 1.4;
}

#axiom-chat-widget .axiom-chat-md-table th,
#axiom-chat-widget .axiom-chat-md-table td {
	padding: 0.5rem 0.75rem;
	text-align: left;
	border-bottom: 1px solid #f3f4f6;
	vertical-align: top;
}

#axiom-chat-widget .axiom-chat-md-table th {
	background: #f9fafb;
	font-weight: 600;
	color: #4b5563;
	font-size: 0.75rem;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

#axiom-chat-widget .axiom-chat-md-table td {
	color: #374151;
}

#axiom-chat-widget .axiom-chat-md-table tbody tr:last-child td {
	border-bottom: none;
}

#axiom-chat-widget .axiom-chat-md-table tbody tr:hover td {
	background: #f9fafb;
}

#axiom-chat-widget .axiom-chat-md-table td:first-child,
#axiom-chat-widget .axiom-chat-md-table th:first-child {
	font-weight: 500;
	color: #1f2937;
}

/* Frappe showdown output inside assistant bubbles */
#axiom-chat-widget .axiom-chat-md--showdown > p {
	margin: 0;
}

#axiom-chat-widget .axiom-chat-md--showdown > p + p,
#axiom-chat-widget .axiom-chat-md--showdown > ul,
#axiom-chat-widget .axiom-chat-md--showdown > ol,
#axiom-chat-widget .axiom-chat-md--showdown > table,
#axiom-chat-widget .axiom-chat-md--showdown > pre,
#axiom-chat-widget .axiom-chat-md--showdown > h1,
#axiom-chat-widget .axiom-chat-md--showdown > h2,
#axiom-chat-widget .axiom-chat-md--showdown > h3,
#axiom-chat-widget .axiom-chat-md--showdown > h4 {
	margin-top: 0.75rem;
}

#axiom-chat-widget .axiom-chat-md--showdown h1,
#axiom-chat-widget .axiom-chat-md--showdown h2,
#axiom-chat-widget .axiom-chat-md--showdown h3,
#axiom-chat-widget .axiom-chat-md--showdown h4 {
	font-weight: 600;
	color: #111827;
	line-height: 1.35;
}

#axiom-chat-widget .axiom-chat-md--showdown h2 {
	font-size: 1rem;
	padding-bottom: 0.25rem;
	border-bottom: 1px solid #f3f4f6;
}

#axiom-chat-widget .axiom-chat-md--showdown table {
	width: 100%;
	min-width: max-content;
	border-collapse: collapse;
	font-size: 0.8125rem;
	display: block;
	overflow-x: auto;
	border: 1px solid #e5e7eb;
	border-radius: 0.375rem;
}

#axiom-chat-widget .axiom-chat-md--showdown thead,
#axiom-chat-widget .axiom-chat-md--showdown tbody {
	display: table;
	width: 100%;
}

#axiom-chat-widget .axiom-chat-md--showdown th,
#axiom-chat-widget .axiom-chat-md--showdown td {
	padding: 0.5rem 0.75rem;
	border-bottom: 1px solid #f3f4f6;
	text-align: left;
}

#axiom-chat-widget .axiom-chat-md--showdown th {
	background: #f9fafb;
	font-weight: 600;
	color: #4b5563;
	font-size: 0.75rem;
}

#axiom-chat-widget .axiom-chat-msg-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

#axiom-chat-widget .axiom-chat-msg-copy {
	display: flex;
	margin-top: 0.375rem;
}

#axiom-chat-widget .axiom-chat-msg--user > .axiom-chat-msg-copy {
	justify-content: flex-end;
}

#axiom-chat-widget .axiom-chat-msg-assistant-body > .axiom-chat-msg-copy {
	justify-content: flex-start;
}

#axiom-chat-widget .axiom-chat-msg-copy-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.25rem 0.5rem;
	border: none;
	border-radius: 0.375rem;
	background: transparent;
	color: var(--axiom-chat-muted);
	font: inherit;
	font-size: 0.75rem;
	line-height: 1.25;
	cursor: pointer;
	transition:
		background-color var(--axiom-hover-duration) var(--axiom-hover-ease),
		color var(--axiom-hover-duration) var(--axiom-hover-ease);
}

#axiom-chat-widget .axiom-chat-msg-copy-btn:hover {
	background: rgba(0, 0, 0, 0.06);
	color: var(--axiom-chat-accent);
}

#axiom-chat-widget .axiom-chat-msg-copy-btn:focus-visible {
	outline: 2px solid #004b87;
	outline-offset: 2px;
}

#axiom-chat-widget .axiom-chat-msg-copy-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

#axiom-chat-widget .axiom-chat-msg-copy-icon svg {
	width: 0.875rem;
	height: 0.875rem;
}

#axiom-chat-widget .axiom-chat-msg-action {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	border: 1px solid #e5e7eb;
	border-radius: 0.5rem;
	background: #fff;
	color: #374151;
	font: inherit;
	font-size: 0.875rem;
	line-height: 1.25;
	cursor: pointer;
	transition:
		background-color var(--axiom-hover-duration) var(--axiom-hover-ease),
		border-color var(--axiom-hover-duration) var(--axiom-hover-ease),
		color var(--axiom-hover-duration) var(--axiom-hover-ease),
		opacity var(--axiom-hover-duration) var(--axiom-hover-ease),
		transform var(--axiom-hover-duration) var(--axiom-hover-ease),
		box-shadow var(--axiom-hover-duration) var(--axiom-hover-ease);
}

#axiom-chat-widget .axiom-chat-msg-action:hover {
	background: #f9fafb;
	border-color: #d1d5db;
	transform: translateY(-1px);
}

#axiom-chat-widget .axiom-chat-msg-action--primary {
	background: #004b87;
	border-color: #004b87;
	color: #fff;
}

#axiom-chat-widget .axiom-chat-msg-action--primary:hover {
	background: #003359;
	border-color: #003359;
	opacity: 0.95;
	box-shadow: 0 4px 12px rgba(0, 75, 135, 0.2);
}

#axiom-chat-widget .axiom-chat-msg-action-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

#axiom-chat-widget .axiom-chat-msg-action-icon svg {
	width: 1rem;
	height: 1rem;
}

#axiom-chat-widget .axiom-chat-msg-action-label {
	white-space: nowrap;
}

#axiom-chat-widget .axiom-chat-msg-bubble--analysis {
	padding: 0.875rem 1rem;
}

#axiom-chat-widget .axiom-chat-analysis {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

#axiom-chat-widget .axiom-chat-analysis-summary {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.55;
	color: #1f2937;
}

#axiom-chat-widget .axiom-chat-analysis-metrics {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr));
	gap: 0.5rem;
}

#axiom-chat-widget .axiom-chat-analysis-metric {
	padding: 0.625rem 0.75rem;
	border: 1px solid #e5e7eb;
	border-radius: 0.375rem;
	background: #f9fafb;
}

#axiom-chat-widget .axiom-chat-analysis-metric-label {
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #6b7280;
	margin-bottom: 0.25rem;
}

#axiom-chat-widget .axiom-chat-analysis-metric-value-row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.375rem 0.5rem;
}

#axiom-chat-widget .axiom-chat-analysis-metric-value {
	font-size: 1rem;
	font-weight: 600;
	color: #111827;
	line-height: 1.2;
}

#axiom-chat-widget .axiom-chat-analysis-metric-trend {
	font-size: 0.75rem;
	font-weight: 500;
}

#axiom-chat-widget .axiom-chat-analysis-metric-trend--up {
	color: #059669;
}

#axiom-chat-widget .axiom-chat-analysis-metric-trend--down {
	color: #dc2626;
}

#axiom-chat-widget .axiom-chat-analysis-metric-trend--stable {
	color: #6b7280;
}

#axiom-chat-widget .axiom-chat-analysis-metric-trend--neutral {
	color: #4b5563;
}

#axiom-chat-widget .axiom-chat-analysis-table-block {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
}

#axiom-chat-widget .axiom-chat-analysis-table-title,
#axiom-chat-widget .axiom-chat-analysis-section-title {
	margin: 0;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #374151;
}

#axiom-chat-widget .axiom-chat-analysis-table-scroll {
	overflow-x: auto;
	border: 1px solid #e5e7eb;
	border-radius: 0.375rem;
}

#axiom-chat-widget .axiom-chat-analysis-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.8125rem;
	line-height: 1.4;
}

#axiom-chat-widget .axiom-chat-analysis-table th,
#axiom-chat-widget .axiom-chat-analysis-table td {
	padding: 0.5rem 0.625rem;
	text-align: left;
	border-bottom: 1px solid #f3f4f6;
	white-space: nowrap;
}

#axiom-chat-widget .axiom-chat-analysis-table th {
	background: #f9fafb;
	font-weight: 600;
	color: #4b5563;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

#axiom-chat-widget .axiom-chat-analysis-table tbody tr:last-child td {
	border-bottom: none;
}

#axiom-chat-widget .axiom-chat-analysis-table tbody tr td {
	transition: background-color var(--axiom-hover-duration) var(--axiom-hover-ease);
}

#axiom-chat-widget .axiom-chat-analysis-table tbody tr:hover td {
	background: #f9fafb;
}

#axiom-chat-widget .axiom-chat-analysis-section {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
}

#axiom-chat-widget .axiom-chat-analysis-list {
	margin: 0;
	padding-left: 1.125rem;
	font-size: 0.8125rem;
	line-height: 1.5;
	color: #374151;
}

#axiom-chat-widget .axiom-chat-analysis-list li + li {
	margin-top: 0.25rem;
}

#axiom-chat-widget .axiom-chat-composer {
	flex-shrink: 0;
	border-top: 1px solid #e5e7eb;
	background: #fff;
}

#axiom-chat-widget .axiom-chat-input-row {
	display: flex;
	align-items: flex-end;
	gap: 0.75rem;
	padding: 1rem 1.5rem;
}

#axiom-chat-widget .axiom-chat-input-wrap {
	position: relative;
	flex: 1;
	min-width: 0;
}

#axiom-chat-widget .axiom-chat-input {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid #e5e7eb;
	border-radius: 0.5rem;
	background: #f9fafb;
	color: #1f2937;
	font: inherit;
	font-size: 0.875rem;
	line-height: 1.25;
	transition:
		box-shadow var(--axiom-hover-duration) var(--axiom-hover-ease),
		border-color var(--axiom-hover-duration) var(--axiom-hover-ease);
}

#axiom-chat-widget .axiom-chat-input::placeholder {
	color: #9ca3af;
}

#axiom-chat-widget .axiom-chat-input:focus {
	outline: none;
	border-color: transparent;
	box-shadow: 0 0 0 2px #004B87;
}

#axiom-chat-widget .axiom-chat-input:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

#axiom-chat-widget .axiom-chat-send {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: none;
	border-radius: 0.5rem;
	background: #004B87;
	color: #fff;
	cursor: pointer;
	transition:
		background-color var(--axiom-hover-duration) var(--axiom-hover-ease),
		opacity var(--axiom-hover-duration) var(--axiom-hover-ease),
		transform var(--axiom-hover-duration) var(--axiom-hover-ease),
		box-shadow var(--axiom-hover-duration) var(--axiom-hover-ease);
}

#axiom-chat-widget .axiom-chat-send-icon {
	width: 1.25rem;
	height: 1.25rem;
	flex-shrink: 0;
}

#axiom-chat-widget .axiom-chat-send:hover:not(:disabled) {
	background: #003359;
	opacity: 0.95;
	transform: scale(1.04);
	box-shadow: 0 4px 12px rgba(0, 75, 135, 0.25);
}

#axiom-chat-widget .axiom-chat-send:disabled {
	background: #d1d5db;
	cursor: not-allowed;
}

@media (max-width: 768px) {
	:root {
		--axiom-chat-split-width: min(100%, 40rem);
		--axiom-chat-popup-inset-block: 1rem;
		--axiom-chat-popup-inset-inline: 1rem;
		--axiom-chat-popup-max-width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	#axiom-chat-widget .axiom-chat-launcher,
	#axiom-chat-widget .axiom-analyze-toggle,
	#axiom-chat-widget .axiom-chat-toggle,
	#axiom-chat-widget .axiom-chat-panel,
	#axiom-chat-widget .axiom-chat-maximize-backdrop,
	#axiom-chat-widget .axiom-chat-list-item,
	#axiom-chat-widget .axiom-analyze-save-chat-item,
	#axiom-chat-widget .axiom-analyze-save-new-chat,
	#axiom-chat-widget .axiom-analyze-save-cancel,
	#axiom-chat-widget .axiom-analyze-save-add,
	#axiom-chat-widget .axiom-chat-new,
	#axiom-chat-widget .axiom-chat-new-project,
	#axiom-chat-widget .axiom-chat-send,
	#axiom-chat-widget .axiom-chat-msg-action,
	html.axiom-chat-split-open .axiom-chat-split-body {
		transition: none;
	}

	#axiom-chat-widget .axiom-analyze-toggle:hover:not(:disabled),
	#axiom-chat-widget .axiom-chat-toggle:hover:not(:disabled),
	#axiom-chat-widget .axiom-chat-list-item:hover:not(.axiom-chat-list-item--disabled),
	#axiom-chat-widget .axiom-analyze-save-chat-item:hover,
	#axiom-chat-widget .axiom-analyze-save-new-chat:hover:not(:disabled),
	#axiom-chat-widget .axiom-analyze-save-add:hover:not(:disabled),
	#axiom-chat-widget .axiom-chat-new:hover:not(:disabled),
	#axiom-chat-widget .axiom-chat-send:hover:not(:disabled),
	#axiom-chat-widget .axiom-chat-msg-action:hover {
		transform: none;
	}

	#axiom-chat-widget .axiom-analyze-toggle-label,
	#axiom-chat-widget .axiom-chat-toggle-label {
		animation: none;
	}

	#axiom-chat-widget .axiom-analyze-popup-spinner::before,
	#axiom-chat-widget .axiom-analyze-toggle--popup .axiom-analyze-toggle-icon-popup,
	#axiom-chat-widget .axiom-chat-toggle-icon-popup-badge,
	#axiom-chat-widget .axiom-analyze-save-popup,
	#axiom-chat-widget .axiom-analyze-save-popup-card,
	#axiom-chat-widget .axiom-chat-confirm-popup,
	#axiom-chat-widget .axiom-chat-confirm-popup-card,
	#axiom-chat-widget .axiom-chat-new-project-popup,
	#axiom-chat-widget .axiom-chat-new-project-popup-card {
		animation: none;
	}

	#axiom-chat-widget.axiom-chat-open .axiom-chat-launcher {
		transform: none;
	}
}
