#adaa-ai-root {
	--adaa-ai-canvas: #f4eee5;
	--adaa-ai-paper: #fffaf2;
	--adaa-ai-paper-2: #fbf4e8;
	--adaa-ai-white: #ffffff;
	--adaa-ai-ink: #17130f;
	--adaa-ai-muted: #716657;
	--adaa-ai-line: #ddcdb7;
	--adaa-ai-green: #173f32;
	--adaa-ai-green-2: #2d6653;
	--adaa-ai-green-soft: #e5efe9;
	--adaa-ai-gold: #b88943;
	--adaa-ai-gold-soft: #f4e8d3;
	--adaa-ai-danger: #8d372d;
	--adaa-ai-danger-soft: #f4e3df;
	--adaa-ai-shadow: 0 30px 85px rgba(36, 27, 18, 0.2);
	--adaa-ai-shadow-sm: 0 12px 34px rgba(36, 27, 18, 0.1);
	--adaa-ai-top-offset: 0px;
	font-family: inherit;
	direction: rtl;
	line-height: 1.55;
	color: var(--adaa-ai-ink);
	position: relative;
	z-index: 2147482900;
}

#adaa-ai-root,
#adaa-ai-root *,
#adaa-ai-root *::before,
#adaa-ai-root *::after {
	box-sizing: border-box;
}

#adaa-ai-root button,
#adaa-ai-root textarea {
	font: inherit;
}

#adaa-ai-root button {
	touch-action: manipulation;
	-webkit-appearance: none;
	appearance: none;
	text-transform: none;
	letter-spacing: normal;
}

#adaa-ai-root [hidden] {
	display: none !important;
}

.adaa-ai-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;
}

.adaa-ai-backdrop {
	position: fixed;
	inset: 0;
	z-index: 1;
	background: rgba(16, 26, 22, 0.16);
	backdrop-filter: blur(1.5px);
	-webkit-backdrop-filter: blur(1.5px);
	opacity: 0;
	transition: opacity 180ms ease;
}

.adaa-ai-root[data-adaa-ai-state="open"] .adaa-ai-backdrop {
	opacity: 1;
}

.adaa-ai-launcher {
	position: fixed;
	right: max(22px, env(safe-area-inset-right));
	bottom: max(22px, env(safe-area-inset-bottom));
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 62px;
	min-width: 62px;
	height: 62px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 50%;
	background: var(--adaa-ai-green);
	color: var(--adaa-ai-white);
	box-shadow: 0 18px 48px rgba(23, 63, 50, 0.34);
	overflow: visible;
	cursor: pointer;
	transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

#adaa-ai-root .adaa-ai-launcher {
	background-color: var(--adaa-ai-green) !important;
	color: var(--adaa-ai-white) !important;
}

.adaa-ai-launcher:hover {
	background: #1c493a;
	box-shadow: 0 23px 58px rgba(23, 63, 50, 0.4);
	transform: translateY(-3px);
}

#adaa-ai-root .adaa-ai-launcher:hover {
	background-color: #1c493a !important;
}

.adaa-ai-launcher:active {
	transform: translateY(-1px) scale(0.985);
}

.adaa-ai-launcher:focus-visible,
.adaa-ai-panel button:focus-visible,
.adaa-ai-panel textarea:focus-visible {
	outline: 3px solid rgba(184, 137, 67, 0.62);
	outline-offset: 3px;
}

.adaa-ai-launcher__orb {
	position: relative;
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	overflow: hidden;
}

.adaa-ai-launcher__orb::after {
	content: "";
	position: absolute;
	inset: 0;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: inherit;
}

.adaa-ai-launcher__orb svg {
	width: 23px;
	height: 23px;
	animation: adaa-ai-soft-spin 12s linear infinite;
}

.adaa-ai-launcher__label {
	position: absolute;
	right: 50%;
	bottom: calc(100% + 10px);
	transform: translateX(50%);
	padding: 6px 10px;
	border: 1px solid var(--adaa-ai-line);
	border-radius: 999px;
	background: var(--adaa-ai-paper);
	color: var(--adaa-ai-green);
	box-shadow: 0 10px 26px rgba(23, 63, 50, 0.16);
	direction: ltr;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.01em;
	line-height: 1.2;
	white-space: nowrap;
	pointer-events: none;
}

.adaa-ai-launcher__label::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	width: 8px;
	height: 8px;
	border-right: 1px solid var(--adaa-ai-line);
	border-bottom: 1px solid var(--adaa-ai-line);
	background: var(--adaa-ai-paper);
	transform: translate(-50%, -4px) rotate(45deg);
}

.adaa-ai-root[data-adaa-ai-state="open"] .adaa-ai-launcher {
	opacity: 0;
	pointer-events: none;
	transform: translateY(8px) scale(0.94);
}

.adaa-ai-panel {
	position: fixed;
	right: max(22px, env(safe-area-inset-right));
	bottom: max(22px, env(safe-area-inset-bottom));
	z-index: 4;
	display: flex;
	flex-direction: column;
	width: min(438px, calc(100vw - 32px));
	height: min(720px, calc(100dvh - var(--adaa-ai-top-offset) - 44px));
	min-height: 420px;
	border: 1px solid var(--adaa-ai-line);
	border-radius: 29px;
	background: var(--adaa-ai-paper);
	box-shadow: var(--adaa-ai-shadow);
	overflow: hidden;
	opacity: 0;
	transform: translateY(16px) scale(0.965);
	transform-origin: bottom right;
	pointer-events: none;
	transition: opacity 180ms ease, transform 180ms ease;
}

.adaa-ai-panel.adaa-ai-panel--open {
	opacity: 1;
	transform: none;
	pointer-events: auto;
}

.adaa-ai-header {
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr) auto;
	align-items: center;
	gap: 11px;
	flex: 0 0 auto;
	padding: 15px 16px 13px;
	background: var(--adaa-ai-green);
	color: var(--adaa-ai-white);
}

.adaa-ai-avatar {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.1);
}

.adaa-ai-avatar svg {
	width: 24px;
	height: 24px;
}

.adaa-ai-heading {
	min-width: 0;
}

.adaa-ai-heading__row {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.adaa-ai-heading h2 {
	margin: 0;
	color: inherit;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.25;
}

.adaa-ai-heading p {
	margin: 3px 0 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: 12px;
	line-height: 1.35;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.adaa-ai-mode-pill {
	display: inline-flex;
	align-items: center;
	min-height: 20px;
	padding: 2px 8px;
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.11);
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}

.adaa-ai-header-actions {
	display: flex;
	gap: 6px;
}

.adaa-ai-icon-button {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 11px;
	background: transparent;
	color: var(--adaa-ai-white);
	cursor: pointer;
	transition: background-color 160ms ease, border-color 160ms ease;
}

#adaa-ai-root .adaa-ai-icon-button {
	background-color: transparent !important;
	color: var(--adaa-ai-white) !important;
}

.adaa-ai-icon-button:hover {
	border-color: rgba(255, 255, 255, 0.3);
	background: rgba(255, 255, 255, 0.1);
}

#adaa-ai-root .adaa-ai-icon-button:hover {
	background-color: rgba(255, 255, 255, 0.1) !important;
}

.adaa-ai-icon-button:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.adaa-ai-icon-button svg {
	width: 17px;
	height: 17px;
}

.adaa-ai-context-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
	min-height: 54px;
	padding: 8px 13px;
	border-bottom: 1px solid var(--adaa-ai-line);
	background: var(--adaa-ai-green-soft);
	color: var(--adaa-ai-green);
}

.adaa-ai-context-icon {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	border-radius: 9px;
	background: rgba(23, 63, 50, 0.08);
}

.adaa-ai-context-icon svg {
	width: 15px;
	height: 15px;
}

.adaa-ai-context-copy {
	display: block;
	flex: 1 1 auto;
	min-width: 0;
}

.adaa-ai-context-copy strong,
.adaa-ai-context-copy > span {
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.adaa-ai-context-copy strong {
	font-size: 12px;
	font-weight: 800;
}

.adaa-ai-context-copy > span {
	margin-top: 1px;
	color: #547065;
	font-size: 11px;
}

.adaa-ai-privacy-button {
	flex: 0 0 auto;
	padding: 6px 2px;
	border: 0;
	background: transparent;
	color: var(--adaa-ai-green);
	font-size: 11.5px;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}

#adaa-ai-root .adaa-ai-privacy-button {
	background-color: transparent !important;
	color: var(--adaa-ai-green) !important;
}

.adaa-ai-notice {
	flex: 0 0 auto;
	padding: 9px 13px;
	border-bottom: 1px solid #e0b9b2;
	background: var(--adaa-ai-danger-soft);
	color: #6f2b23;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.5;
}

.adaa-ai-notice--info {
	border-color: #dac39f;
	background: var(--adaa-ai-gold-soft);
	color: #6c4e22;
}

.adaa-ai-messages {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
	padding: 16px 15px 10px;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	background: linear-gradient(180deg, #fffaf2 0%, #fbf4e8 100%);
	scroll-behavior: smooth;
	scrollbar-color: rgba(23, 63, 50, 0.25) transparent;
	scrollbar-width: thin;
}

.adaa-ai-messages::-webkit-scrollbar {
	width: 7px;
}

.adaa-ai-messages::-webkit-scrollbar-thumb {
	border: 2px solid transparent;
	border-radius: 999px;
	background: rgba(23, 63, 50, 0.25);
	background-clip: padding-box;
}

.adaa-ai-loading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 100%;
	color: var(--adaa-ai-muted);
	font-size: 13px;
}

.adaa-ai-loading__spinner {
	width: 19px;
	height: 19px;
	border: 2px solid rgba(23, 63, 50, 0.16);
	border-top-color: var(--adaa-ai-green);
	border-radius: 50%;
	animation: adaa-ai-spinner 700ms linear infinite;
}

.adaa-ai-message {
	display: flex;
	align-items: flex-end;
	gap: 8px;
	margin: 0 0 12px;
}

.adaa-ai-message--assistant {
	justify-content: flex-start;
}

.adaa-ai-message--user {
	justify-content: flex-end;
}

.adaa-ai-message__avatar {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	margin-bottom: 2px;
	border-radius: 10px;
	background: var(--adaa-ai-green);
	color: var(--adaa-ai-white);
}

.adaa-ai-message__avatar svg {
	width: 15px;
	height: 15px;
}

.adaa-ai-message__body {
	min-width: 0;
	max-width: calc(88% - 34px);
}

.adaa-ai-message--user .adaa-ai-message__body {
	max-width: 86%;
}

.adaa-ai-bubble {
	padding: 10px 12px;
	border-radius: 17px;
	font-size: 14.5px;
	line-height: 1.72;
	overflow-wrap: anywhere;
}

.adaa-ai-message--assistant .adaa-ai-bubble {
	border: 1px solid var(--adaa-ai-line);
	border-top-right-radius: 6px;
	background: var(--adaa-ai-white);
	box-shadow: 0 3px 12px rgba(36, 27, 18, 0.035);
}

.adaa-ai-message--user .adaa-ai-bubble {
	border-top-left-radius: 6px;
	background: var(--adaa-ai-green);
	color: var(--adaa-ai-white);
}

.adaa-ai-bubble p,
.adaa-ai-bubble ul,
.adaa-ai-bubble ol,
.adaa-ai-bubble blockquote,
.adaa-ai-bubble pre {
	margin: 0 0 8px;
}

.adaa-ai-bubble p:last-child,
.adaa-ai-bubble ul:last-child,
.adaa-ai-bubble ol:last-child,
.adaa-ai-bubble blockquote:last-child,
.adaa-ai-bubble pre:last-child {
	margin-bottom: 0;
}

.adaa-ai-bubble ul,
.adaa-ai-bubble ol {
	padding: 0 19px 0 0;
}

.adaa-ai-bubble li + li {
	margin-top: 3px;
}

.adaa-ai-bubble h3,
.adaa-ai-bubble h4 {
	margin: 2px 0 6px;
	color: var(--adaa-ai-green);
	font-size: 14px;
	font-weight: 800;
}

.adaa-ai-bubble blockquote {
	padding: 5px 10px 5px 0;
	border-right: 3px solid var(--adaa-ai-gold);
	color: var(--adaa-ai-muted);
}

.adaa-ai-bubble code {
	direction: ltr;
	display: inline-block;
	padding: 1px 5px;
	border-radius: 5px;
	background: var(--adaa-ai-green-soft);
	color: var(--adaa-ai-green);
	font: 0.88em/1.6 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.adaa-ai-bubble pre {
	direction: ltr;
	max-width: 100%;
	padding: 9px;
	border-radius: 10px;
	background: #10251e;
	color: #eef6f1;
	overflow: auto;
	text-align: left;
}

.adaa-ai-bubble pre code {
	display: block;
	padding: 0;
	background: transparent;
	color: inherit;
	white-space: pre-wrap;
}

.adaa-ai-bubble a {
	color: var(--adaa-ai-green-2);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.adaa-ai-message--user .adaa-ai-bubble a {
	color: var(--adaa-ai-white);
}

.adaa-ai-message__meta {
	margin: 3px 6px 0;
	color: #938779;
	font-size: 9px;
}

.adaa-ai-typing {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-height: 20px;
}

.adaa-ai-typing span {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--adaa-ai-muted);
	opacity: 0.35;
	animation: adaa-ai-typing 1s infinite;
}

.adaa-ai-typing span:nth-child(2) {
	animation-delay: 120ms;
}

.adaa-ai-typing span:nth-child(3) {
	animation-delay: 240ms;
}

.adaa-ai-quick-wrap {
	margin: 4px 36px 15px 0;
}

.adaa-ai-quick-label {
	margin: 0 2px 7px;
	color: var(--adaa-ai-muted);
	font-size: 11px;
	font-weight: 700;
}

.adaa-ai-quick-list {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.adaa-ai-quick-chip {
	padding: 7px 10px;
	border: 1px solid var(--adaa-ai-line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.82);
	color: var(--adaa-ai-green);
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.45;
	cursor: pointer;
	transition: border-color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

#adaa-ai-root .adaa-ai-quick-chip {
	background-color: rgba(255, 255, 255, 0.82) !important;
	color: var(--adaa-ai-green) !important;
}

.adaa-ai-quick-chip:hover {
	border-color: #d7b982;
	background: var(--adaa-ai-gold-soft);
	transform: translateY(-1px);
}

#adaa-ai-root .adaa-ai-quick-chip:hover {
	background-color: var(--adaa-ai-gold-soft) !important;
}

.adaa-ai-quick-chip:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
}

.adaa-ai-answer-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 9px;
}

.adaa-ai-answer-action,
.adaa-ai-retry-button {
	min-height: 34px;
	padding: 7px 11px;
	border: 0;
	border-radius: 10px;
	background: var(--adaa-ai-green);
	color: var(--adaa-ai-white);
	font-size: 12px;
	font-weight: 800;
	cursor: pointer;
	transition: background-color 150ms ease, transform 150ms ease;
}

#adaa-ai-root .adaa-ai-answer-action,
#adaa-ai-root .adaa-ai-retry-button,
#adaa-ai-root .adaa-ai-send-button,
#adaa-ai-root .adaa-ai-sheet-close {
	background-color: var(--adaa-ai-green) !important;
	color: var(--adaa-ai-white) !important;
}

.adaa-ai-answer-action:hover,
.adaa-ai-retry-button:hover {
	background: var(--adaa-ai-green-2);
	transform: translateY(-1px);
}

#adaa-ai-root .adaa-ai-answer-action:hover,
#adaa-ai-root .adaa-ai-retry-button:hover,
#adaa-ai-root .adaa-ai-send-button:hover {
	background-color: var(--adaa-ai-green-2) !important;
}

.adaa-ai-error-card {
	margin: 0 36px 13px 0;
	padding: 10px 11px;
	border: 1px solid #dfb8b1;
	border-radius: 14px;
	background: var(--adaa-ai-danger-soft);
	color: #6f2b23;
	font-size: 12.5px;
	line-height: 1.55;
}

.adaa-ai-error-card p {
	margin: 0;
}

.adaa-ai-retry-button {
	margin-top: 8px;
	background: var(--adaa-ai-danger);
}

#adaa-ai-root .adaa-ai-retry-button,
#adaa-ai-root .adaa-ai-send-button[data-adaa-ai-mode="stop"] {
	background-color: var(--adaa-ai-danger) !important;
}

.adaa-ai-stream-note {
	margin-top: 7px;
	color: var(--adaa-ai-muted);
	font-size: 10px;
}

.adaa-ai-empty {
	display: grid;
	place-items: center;
	min-height: 100%;
	padding: 24px;
	color: var(--adaa-ai-muted);
	text-align: center;
}

.adaa-ai-compose {
	flex: 0 0 auto;
	padding: 10px 10px calc(8px + env(safe-area-inset-bottom));
	border-top: 1px solid var(--adaa-ai-line);
	background: var(--adaa-ai-paper);
}

.adaa-ai-composer {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 44px;
	align-items: end;
	gap: 8px;
	margin: 0;
}

.adaa-ai-composer__field {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 46px;
	padding: 7px 12px 6px;
	border: 1px solid var(--adaa-ai-line);
	border-radius: 16px;
	background: var(--adaa-ai-white);
	transition: border-color 150ms ease, box-shadow 150ms ease;
}

.adaa-ai-composer__field:focus-within {
	border-color: var(--adaa-ai-gold);
	box-shadow: 0 0 0 3px rgba(184, 137, 67, 0.12);
}

.adaa-ai-input {
	display: block;
	width: 100%;
	min-height: 30px;
	max-height: 116px;
	padding: 4px 0 2px;
	border: 0;
	outline: 0 !important;
	background: transparent;
	box-shadow: none !important;
	color: var(--adaa-ai-ink);
	font-size: 14px;
	line-height: 1.6;
	resize: none;
	overflow-y: auto;
}

.adaa-ai-input::placeholder {
	color: #928779;
	opacity: 1;
}

.adaa-ai-input:disabled {
	cursor: not-allowed;
	opacity: 0.58;
}

.adaa-ai-counter {
	position: absolute;
	left: 9px;
	bottom: 4px;
	color: #9a8f81;
	font-size: 8px;
	direction: ltr;
}

.adaa-ai-send-button {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 14px;
	background: var(--adaa-ai-green);
	color: var(--adaa-ai-white);
	cursor: pointer;
	transition: background-color 150ms ease, transform 150ms ease, opacity 150ms ease;
}

.adaa-ai-send-button:hover {
	background: var(--adaa-ai-green-2);
	transform: translateY(-1px);
}

.adaa-ai-send-button:disabled {
	opacity: 0.44;
	cursor: not-allowed;
	transform: none;
}

.adaa-ai-send-button[data-adaa-ai-mode="stop"] {
	background: var(--adaa-ai-danger);
}

.adaa-ai-send-button svg {
	width: 18px;
	height: 18px;
}

.adaa-ai-compose-note {
	margin: 6px 0 0;
	color: #94897a;
	font-size: 10.5px;
	line-height: 1.4;
	text-align: center;
}

.adaa-ai-sheet-backdrop {
	position: absolute;
	inset: 0;
	z-index: 7;
	background: rgba(16, 26, 22, 0.31);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	opacity: 0;
	transition: opacity 160ms ease;
}

.adaa-ai-sheet-backdrop.adaa-ai-sheet-backdrop--open {
	opacity: 1;
}

.adaa-ai-privacy-sheet {
	position: absolute;
	right: 8px;
	bottom: 8px;
	left: 8px;
	z-index: 8;
	padding: 16px;
	border: 1px solid var(--adaa-ai-line);
	border-radius: 22px;
	background: var(--adaa-ai-paper);
	box-shadow: 0 20px 45px rgba(36, 27, 18, 0.2);
	transform: translateY(112%);
	transition: transform 200ms ease;
}

.adaa-ai-privacy-sheet.adaa-ai-privacy-sheet--open {
	transform: none;
}

.adaa-ai-sheet-grip {
	display: block;
	width: 42px;
	height: 4px;
	margin: 0 auto 11px;
	border-radius: 999px;
	background: var(--adaa-ai-line);
}

.adaa-ai-privacy-sheet h3 {
	margin: 0;
	color: var(--adaa-ai-green);
	font-size: 16px;
	font-weight: 800;
}

.adaa-ai-privacy-sheet > p {
	margin: 4px 0 12px;
	color: var(--adaa-ai-muted);
	font-size: 12.5px;
	line-height: 1.55;
}

.adaa-ai-source-list {
	display: grid;
	gap: 7px;
	max-height: min(330px, 44dvh);
	overflow: auto;
}

.adaa-ai-source-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px;
	border: 1px solid var(--adaa-ai-line);
	border-radius: 13px;
	background: var(--adaa-ai-white);
}

.adaa-ai-source-item--locked {
	opacity: 0.58;
}

.adaa-ai-source-icon {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 31px;
	height: 31px;
	border-radius: 10px;
	background: var(--adaa-ai-green-soft);
	color: var(--adaa-ai-green);
	font-size: 15px;
	font-weight: 800;
}

.adaa-ai-source-item--locked .adaa-ai-source-icon {
	background: var(--adaa-ai-danger-soft);
	color: var(--adaa-ai-danger);
}

.adaa-ai-source-copy {
	min-width: 0;
}

.adaa-ai-source-copy strong,
.adaa-ai-source-copy span {
	display: block;
}

.adaa-ai-source-copy strong {
	font-size: 12.5px;
	font-weight: 800;
}

.adaa-ai-source-copy span {
	margin-top: 1px;
	color: var(--adaa-ai-muted);
	font-size: 11px;
	line-height: 1.45;
}

.adaa-ai-sheet-close {
	width: 100%;
	min-height: 40px;
	margin-top: 11px;
	padding: 8px 12px;
	border: 0;
	border-radius: 12px;
	background: var(--adaa-ai-green);
	color: var(--adaa-ai-white);
	font-size: 12.5px;
	font-weight: 800;
	cursor: pointer;
}

.adaa-ai-toast {
	position: fixed;
	bottom: max(20px, env(safe-area-inset-bottom));
	left: 50%;
	z-index: 10;
	max-width: min(360px, calc(100vw - 32px));
	padding: 10px 14px;
	border-radius: 999px;
	background: #101a16;
	box-shadow: var(--adaa-ai-shadow-sm);
	color: var(--adaa-ai-white);
	font-size: 12.5px;
	line-height: 1.4;
	text-align: center;
	opacity: 0;
	transform: translate(-50%, 12px);
	transition: opacity 180ms ease, transform 180ms ease;
}

.adaa-ai-toast.adaa-ai-toast--show {
	opacity: 1;
	transform: translate(-50%, 0);
}

@keyframes adaa-ai-soft-spin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes adaa-ai-spinner {
	to {
		transform: rotate(360deg);
	}
}

@keyframes adaa-ai-typing {
	0%,
	60%,
	100% {
		transform: none;
	}
	30% {
		opacity: 0.7;
		transform: translateY(-3px);
	}
}

@media (max-width: 600px) {
	#adaa-ai-root {
		--adaa-ai-mobile-gap: 8px;
	}

	.adaa-ai-backdrop {
		background: rgba(16, 26, 22, 0.25);
	}

	.adaa-ai-launcher {
		right: max(14px, env(safe-area-inset-right));
		bottom: calc(72px + env(safe-area-inset-bottom, 0px));
		width: 58px;
		min-width: 58px;
		height: 58px;
		padding: 0;
	}

	.adaa-ai-launcher__orb {
		width: 40px;
		height: 40px;
	}

	.adaa-ai-panel {
		top: calc(var(--adaa-ai-visual-offset, 0px) + var(--adaa-ai-top-offset) + max(var(--adaa-ai-mobile-gap), env(safe-area-inset-top)));
		right: max(var(--adaa-ai-mobile-gap), env(safe-area-inset-right));
		bottom: auto;
		left: max(var(--adaa-ai-mobile-gap), env(safe-area-inset-left));
		width: auto;
		height: calc(var(--adaa-ai-visual-height, 100dvh) - var(--adaa-ai-top-offset) - var(--adaa-ai-mobile-gap) - var(--adaa-ai-mobile-gap) - env(safe-area-inset-top) - env(safe-area-inset-bottom));
		max-height: calc(100dvh - var(--adaa-ai-top-offset) - var(--adaa-ai-mobile-gap) - var(--adaa-ai-mobile-gap));
		min-height: 0;
		border-radius: 24px;
		transform-origin: bottom center;
	}

	.adaa-ai-header {
		grid-template-columns: 42px minmax(0, 1fr) auto;
		gap: 9px;
		padding: 12px;
	}

	.adaa-ai-avatar {
		width: 42px;
		height: 42px;
		border-radius: 14px;
	}

	.adaa-ai-icon-button {
		width: 34px;
		height: 34px;
	}

	.adaa-ai-context-bar {
		padding-inline: 11px;
	}

	.adaa-ai-messages {
		padding: 14px 12px 8px;
	}

	.adaa-ai-message__body {
		max-width: calc(91% - 33px);
	}

	.adaa-ai-message--user .adaa-ai-message__body {
		max-width: 89%;
	}

	.adaa-ai-quick-wrap,
	.adaa-ai-error-card {
		margin-right: 34px;
	}

	.adaa-ai-compose-note {
		font-size: 10.5px;
	}
}

@media (max-width: 390px) {
	.adaa-ai-heading h2 {
		font-size: 17px;
	}

	.adaa-ai-mode-pill {
		font-size: 10.5px;
	}

	.adaa-ai-heading p {
		font-size: 11px;
	}

	.adaa-ai-context-copy > span {
		display: none;
	}

	.adaa-ai-bubble {
		font-size: 14px;
	}
}

@media (max-height: 620px) and (min-width: 601px) {
	.adaa-ai-panel {
		height: calc(100dvh - var(--adaa-ai-top-offset) - 24px);
		bottom: 12px;
	}
}

@media (forced-colors: active) {
	.adaa-ai-launcher,
	.adaa-ai-panel,
	.adaa-ai-icon-button,
	.adaa-ai-send-button,
	.adaa-ai-quick-chip,
	.adaa-ai-answer-action,
	.adaa-ai-sheet-close {
		border: 1px solid ButtonText;
	}
}
