:root {
	--sys-menu-width: 200px;
}

HTML {height: 100%; width: 100%; margin: 0; padding: 0;}
BODY {user-select: none;height: 100%; width: 100%;margin: 0;padding: 0;overflow: hidden;}


#BodyContainer {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	position: relative;
	overflow: hidden;
}

#LoginBackground {
	position: absolute; top: 0px; left: 0px; width: 100%; height: 100%;
    background: var(--clr-loginbackground);
}


#AppContent {
	display: none;
	width: 100%;
	height: 100%;
	position: relative;
	overflow: hidden;
}

#PageBanner {
	box-sizing: border-box;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 60px; /* Must match PageContainer calc() height */
	overflow: hidden;
	display: block; 
	z-index: 1;
	visibility: hidden;
}

#PageContainer {
	position: absolute;
	top: 60px; /* Must match PageBanner height */
	min-height: calc(100% - 60px); /* Must match PageBanner height */
	left: 0;
	width: 1px;
	width: 100%; 
    height: 1px;
    display: block; 
    visibility: hidden;
}

#PageFooter {
	/* Requires a lot of changes before it can be enabled:
		* To the height of the page container in normal view
		* For the matrix of phone landscape view and ltr/rtl
	*/
	z-index: 1000;
	display: none;
}

.waiting-animation {
	width: 140px;
	height: 140px;
}

#SystemMenu {
	position: absolute;
	top: 0px;
	height: 100%;
	width: var(--sys-menu-width);
	left: -200px;
	z-index: 1001;
	transition: left 0.5s ease;
}

#SystemMenuOverlay {
	position: absolute;
	top: 0px;
	height: 100%;
	width: 100%;
	left: 0px;
	z-index: 499;
	background: rgba(128,128,128,0.2);
	opacity: 0;
	transition: opacity 0.5s ease;
	pointer-events: none;
}

BODY.SysMenuVisible #SystemMenu {
	left: 0px;
	display: block;
	visibility: visible;
	box-shadow: 0 0 10px 3px var(--clr-box-shadow1);
}

BODY.SysMenuVisible #SystemMenuOverlay {
	display: block;
	opacity: 1;
	pointer-events: all;
}

BODY.SysMenuPinned #SystemMenu {
	left: 0px;
	display: block;
	visibility: visible;
}

BODY.SysMenuPinned #PageBanner, BODY.SysMenuPinned #PageContainer, BODY.SysMenuPinned #PageFooter {
	left: 200px;
	width: calc(100% - 200px);
	transition: left 0.5s ease; /* Note: looks better if width is NOT animated...  , width 0.5s ease; */
}

BODY.SysMenuPinned #SystemMenuOverlay{
	display: none;
}

:root {
	--mini-menu-width: 32px;
}

#SysMenuMini {
	display: none;
	position: absolute;
	left: 0;
	top: 70px;
	width: var(--mini-menu-width);
	height: calc(100% - 70px);
}


@media screen and (min-width: 1000px) and (min-height: 600px) {
	:root {
		--mini-menu-width: 50px;
	}
}

BODY.SysMenuUnpinned.LTR.ShowMiniSystemMenu #SysMenuMini {
	display: block;
}

BODY.SysMenuUnpinned.LTR.ShowMiniSystemMenu #PageContainer {
	left: var(--mini-menu-width);
	width: calc(100% - var(--mini-menu-width));
}

BODY.SysMenuUnpinned.RTL.ShowMiniSystemMenu #SysMenuMini {
	display: block;
	position: absolute;
	right: 0px;
}

BODY.SysMenuUnpinned.RTL.ShowMiniSystemMenu #PageContainer {
	right: var(--mini-menu-width);
	width: calc(100% - var(--mini-menu-width));
}

/*
PROBLEMATIC ON PHONE LANDSCAPE; DISABLED
[Note: SysMenuUnpinned is only set as a change-style. Not set on load if the menu is not pinned.]
BODY.SysMenuUnpinned #PageBanner, BODY.SysMenuUnpinned #PageContainer, BODY.SysMenuUnpinned #PageFooter {
	left: 0px;
	width: 100%;
	transition: left 0.5s ease, width 0.5s ease;
}
*/

#TopPageWaitingBlock {
	position: absolute; width: 100%; height: 100%;
  	z-index: 30000;
}
#TopPageWaitingBlockInner {
    position: relative; 
	width: 100px;
	height: 100px;
    z-index: 30001;
    box-sizing: border-box;
    top: calc(50% - 50px);
    left: calc(50% - 50px);
}



.RTL #SystemMenu {
	position: absolute;
	top: 0px;
	height: 100%;
	width: var(--sys-menu-width);
	left: 100%;
	z-index: 1001;
	transition: left 0.5s ease;
}

BODY.RTL.SysMenuVisible #SystemMenu {
	left: calc(100% - 200px);
	display: block;
	visibility: visible;
}


BODY.RTL.SysMenuPinned #SystemMenu {
	left: calc(100% - 200px);
	display: block;
	visibility: visible;
}

BODY.RTL.SysMenuPinned #PageBanner, BODY.RTL.SysMenuPinned #PageContainer, BODY.RTL.SysMenuPinned #PageFooter {
	left: 0px;
	width: calc(100% - 200px);
}


/* -----------------------------------------------------------------------------------
Variable sizing 
----------------------------------------------------------------------------------- */

BODY.BrowserPhoneScreen #PageBanner {
	height: 50px;
}

BODY.BrowserPhoneScreen #PageContainer {
	top: 50px; /* Must match PageBanner height */
	min-height: calc(100% - 50px); /* Must match PageBanner height */
}

BODY.BrowserPhoneScreen #SysMenuMini {
	top: 50px;
	height: calc(100% - 50px);
}

/* -----------------------------------------------------------------------------------
Phone landscape mode 
----------------------------------------------------------------------------------- */

@media screen and (max-height: 450px) {
	:root {
		--banner-mobile-landscape-width: 40px;
	}
	
	#PageBanner {
		position: absolute;
		width: var(--banner-mobile-landscape-width);
		height: 100%;
	}

	#PageContainer {
		position: absolute;
		top: 0px;
		left: var(--banner-mobile-landscape-width);
		min-width: calc(100% - var(--banner-mobile-landscape-width)); /* Must match PageBanner height */
		width: calc(100% - var(--banner-mobile-landscape-width));
		height: 100%;
		display: block; 
		visibility: hidden;
	}

	BODY.BrowserPhoneScreen #PageBanner {
		height: 100%;
	}

	BODY.BrowserPhoneScreen #PageContainer {
		top: 0px; 
		min-height: 100%;
	}

	BODY.SysMenuPinned #PageBanner {
		left: 200px;
		width: 60px;
	}

	BODY.SysMenuPinned #PageContainer {
		left: 260px;
		width: calc(100% - 260px);
		min-width: calc(100% - 260px);
	}
	

	
	BODY.RTL #PageBanner {
		left: calc(100% - 60px);
	}
	BODY.RTL #PageContainer {
		left: 0px;
	}

	BODY.RTL.SysMenuPinned #PageBanner {
		left: calc(100% - 260px);
		width: 60px;
	}
	
	BODY.RTL.SysMenuPinned #PageContainer {
		left: 0px;
		width: calc(100% - 260px);
		min-width: calc(100% - 260px);
	}

}

/* -------------------------------------------------------------------------
Embedded mode
------------------------------------------------------------------------- */

BODY.EmbeddedMode #PageContainer
{
	top: 0px !important;
	min-height: 100% !important;
	left: 0;
	width: 1px;
	width: 100%; 
    height: 1px;
    display: block; 
    visibility: hidden;
}

BODY.EmbeddedMode #PageBanner, BODY.EmbeddedMode #SystemMenu, BODY.EmbeddedMode #SystemMenuOverlay {
	display: none !important;
}

#PageFooter {
	top: calc(100% - 55px);
    position: fixed;
    width: 100%;
	height: 55px;
}

/* -------------------------------------------------------------------------
Footer, visible on phone portrait 
------------------------------------------------------------------------- */

BODY.BrowserPhoneScreen.Portrait #PageContainer {
	top: 50px; /* Must match PageBanner height */
	min-height: calc(100% - 100px); /* Must match PageBanner height */
}

BODY.BrowserPhoneScreen.Portrait #PageFooter {
	display: block;
}

BODY.BrowserPhoneScreen.Portrait #PageFooter {
	display: block;
}

BODY.BrowserPhoneScreen.Portrait #SysMenuMini {
	top: 60px;
	height: calc(100% - 120px);
}

/* -------------------------------------------------------------------------
iOS standalone mode 
------------------------------------------------------------------------- */

BODY.BrowserPhoneScreen.Portrait.iOSStandalone #AppContent {
	height: calc(100% - 15px);
}

BODY.BrowserPhoneScreen.Portrait.iOSStandalone #PageFooter {
	top: calc(100% - 75px);
}


/* -------------------------------------------------------------------------
Toast 
------------------------------------------------------------------------- */

#ToastContainer {
	position: absolute;
	top: 0;
	height: 100%;
	width: 300px;
	left: calc(100% - 300px);
	background: rgba(0,0,0,0);
	z-index: 11000; /* On mobile, needs to be above any dialogs */
	padding: 50px 20px 20px 20px;
	overflow: hidden;
	box-sizing: border-box;
	pointer-events: none;
	display: flex;
	flex-direction: column;
}

BODY.RTL #ToastContainer {
	left: 0px;
}

@media screen and (max-width: 800px) {
	BODY.RTL #ToastContainer, #ToastContainer {
		flex-direction: column-reverse;
		left: calc(50% - 150px);
	}
}/*
Designed for shadowing
*/
/* ===========================================================================
AI-first vision (local demo build): page AI panel, layout window, toasts
Tokens: Strive DS 2.0, mode "Platform NEW"
=========================================================================== */

:root {
	--aip-surface-canvas: #000813;
	--aip-surface-base: #0a121c;
	--aip-surface-raised: #141c26;
	--aip-surface-hover: rgba(35, 42, 51, 0.6);
	--aip-brand-soft: rgba(7, 103, 246, 0.18);
	--aip-border-default: #1a222d;
	--aip-border-strong: #29323c;
	--aip-text-primary: #eef1fa;
	--aip-text-secondary: #8a94a8;
	--aip-text-faint: #5a6270;
	--aip-text-brand: #3d8bff;
	--aip-primary: #0767f6;
	--aip-success: #0adb5e;
	--aip-danger: #ff2e05;
	--aip-warning: #fbb61b;
}

/* ---------------------------------------------------------------------------
Panel: 400 px on the right, in layout (pushes the page, does not cover it)
--------------------------------------------------------------------------- */

BODY.AIPanelOpen #PageContainer {
	width: calc(var(--ai-pc-width, 100%) - 408px) !important;
}

#AIPagePanel {
	display: none;
	position: fixed;
	top: calc(var(--ai-top, 60px) + 8px);
	right: 8px;
	bottom: 8px;
	width: 400px;
	z-index: 900;
	box-sizing: border-box;
	flex-direction: column;
	background: var(--aip-surface-raised);
	border: solid 1px var(--aip-border-default);
	border-radius: 12px;
	font-family: var(--font-family);
	font-size: 13px;
	line-height: 16px;
	color: var(--aip-text-primary);
}

BODY.AIPanelOpen #AIPagePanel {
	display: flex;
}

#AIPagePanel button {
	font-family: var(--font-family);
}

#AIPagePanel svg {
	flex: 0 0 auto;
}

.AIP-Head {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 20px 20px 12px 20px;
	font-size: 14px;
}

.AIP-HeadIcon svg {
	width: 20px;
	height: 20px;
	color: var(--aip-text-brand);
	display: block;
}

.AIP-HeadTitle {
	flex: 1;
}

.AIP-Close {
	all: unset;
	box-sizing: border-box;
	width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: solid 1px var(--aip-border-default);
	border-radius: 8px;
	color: var(--aip-text-secondary);
	cursor: pointer;
}

.AIP-Close svg {
	width: 14px;
	height: 14px;
}

.AIP-Close:hover {
	background: var(--aip-surface-hover);
	color: var(--aip-text-primary);
}

.AIP-Body {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 8px 20px 16px 20px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.AIP-Question {
	font-size: 14px;
	margin-top: 8px;
}

.AIP-HomeCards, .AIP-Cards, .AIP-Ideas {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.AIP-HomeCard, .AIP-Card {
	all: unset;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 12px 12px;
	min-height: 56px;
	border: solid 1px var(--aip-border-default);
	border-radius: 8px;
	background: var(--aip-surface-canvas);
	cursor: pointer;
}

.AIP-HomeCard:hover, .AIP-Card:hover {
	border-color: var(--aip-border-strong);
}

.AIP-HomeCardSelected, .AIP-CardSelected {
	border-color: var(--aip-primary) !important;
	background: var(--aip-brand-soft);
}

.AIP-CardIcon svg {
	width: 20px;
	height: 20px;
	color: var(--aip-text-secondary);
	display: block;
}

.AIP-HomeCardSelected .AIP-CardIcon svg, .AIP-CardSelected .AIP-CardIcon svg {
	color: var(--aip-text-brand);
}

.AIP-CardText {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.AIP-CardTitle {
	color: var(--aip-text-primary);
}

.AIP-CardSub {
	color: var(--aip-text-secondary);
	font-size: 11px;
}

.AIP-CardRecommended {
	color: var(--aip-text-brand);
}

.AIP-SectionHead {
	color: var(--aip-text-secondary);
	font-size: 12px;
	margin-bottom: -8px;
}

.AIP-Idea {
	all: unset;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border: solid 1px var(--aip-border-default);
	border-radius: 8px;
	cursor: pointer;
	color: var(--aip-text-primary);
}

.AIP-Idea:hover {
	background: var(--aip-surface-hover);
}

.AIP-ChipIcon svg {
	width: 14px;
	height: 14px;
	color: var(--aip-text-brand);
	display: block;
}

.AIP-Recent {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.AIP-RecentRow {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.AIP-RecentTime {
	color: var(--aip-text-faint);
	font-size: 11px;
}

/* ---------------------------------------------------------------------------
Thread
--------------------------------------------------------------------------- */

.AIP-Context {
	color: var(--aip-text-secondary);
	font-size: 12px;
}

.AIP-User {
	display: flex;
	justify-content: flex-end;
}

.AIP-Bubble {
	max-width: 85%;
	padding: 8px 12px;
	border-radius: 8px;
	background: var(--aip-brand-soft);
	overflow-wrap: anywhere;
}

.AIP-AI {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.AIP-AIText {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	overflow-wrap: anywhere;
}

.AIP-AIIcon svg {
	width: 16px;
	height: 16px;
	color: var(--aip-text-brand);
	display: block;
}

.AIP-AIIndent {
	padding-left: 26px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.AIP-Chips, .AIP-Buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.AIP-Btn {
	all: unset;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 30px;
	padding: 0 12px;
	border: solid 1px var(--aip-border-strong);
	border-radius: 8px;
	color: var(--aip-text-primary);
	cursor: pointer;
	white-space: nowrap;
}

.AIP-Btn:hover {
	background: var(--aip-surface-hover);
}

.AIP-BtnPrimary {
	background: var(--aip-primary);
	border-color: var(--aip-primary);
	color: #ffffff;
}

.AIP-BtnPrimary:hover {
	background: var(--aip-primary);
	filter: brightness(1.1);
}

.AIP-Chip {
	white-space: normal;
	text-align: left;
	height: auto;
	min-height: 30px;
	padding: 6px 12px;
}

.AIP-Link, .AIP-InlineLink {
	all: unset;
	color: var(--aip-text-brand);
	cursor: pointer;
}

.AIP-Link:hover, .AIP-InlineLink:hover {
	text-decoration: underline;
}

.AIP-Foot {
	color: var(--aip-text-secondary);
	font-size: 12px;
}

.AIP-Answer {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 12px;
	border: solid 1px var(--aip-border-default);
	border-radius: 8px;
}

.AIP-AnswerLabel {
	color: var(--aip-text-secondary);
}

.AIP-AnswerValue {
	flex: 1;
}

.AIP-Tick svg {
	width: 14px;
	height: 14px;
	color: var(--aip-success);
	display: block;
}

.AIP-Box {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 16px;
	border: solid 1px var(--aip-primary);
	border-radius: 12px;
}

.AIP-BoxTitle {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
}

.AIP-BoxText {
	color: var(--aip-text-secondary);
}

.AIP-BoxBar, .AIP-QBar {
	display: flex;
	align-items: center;
	gap: 8px;
}

.AIP-BoxFoot {
	color: var(--aip-text-faint);
	font-size: 12px;
	text-align: right;
}

.AIP-Price, .AIP-Faint {
	color: var(--aip-text-faint);
	font-size: 12px;
}

.AIP-Spacer {
	flex: 1;
}

.AIP-QHead {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--aip-text-secondary);
	font-size: 12px;
}

.AIP-QTitle {
	font-size: 14px;
}

.AIP-QOptions {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.AIP-QOption {
	all: unset;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border: solid 1px var(--aip-border-default);
	border-radius: 8px;
	cursor: pointer;
}

.AIP-QOption:hover {
	background: var(--aip-surface-hover);
}

.AIP-QOptionSelected {
	border-color: var(--aip-primary);
	background: var(--aip-brand-soft);
}

.AIP-QOptionSelected .AIP-Tick svg {
	color: var(--aip-text-brand);
}

.AIP-QHint {
	color: var(--aip-text-secondary);
	font-size: 12px;
}

.AIP-QOwn {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 4px 4px 4px 12px;
	border: solid 1px var(--aip-border-default);
	border-radius: 8px;
	background: var(--aip-surface-base);
}

.AIP-QOwn input, .AIP-Rename {
	all: unset;
	flex: 1;
	color: var(--aip-text-primary);
	font-family: var(--font-family);
	font-size: 13px;
}

.AIP-Rename {
	display: inline-block;
	min-width: 180px;
	padding: 4px 8px;
	border: solid 1px var(--aip-primary);
	border-radius: 6px;
}

.AIP-QSend, .AIP-Send {
	all: unset;
	box-sizing: border-box;
	width: 28px;
	height: 28px;
	border-radius: 8px;
	background: var(--aip-primary);
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.AIP-Send {
	width: 32px;
	height: 32px;
}

.AIP-Plan {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.AIP-PlanRow {
	display: flex;
	align-items: center;
	gap: 14px;
}

.AIP-PlanN {
	width: 12px;
	color: var(--aip-text-secondary);
}

.AIP-PlanRow select {
	flex: 1;
	height: 28px;
	background: var(--aip-surface-base);
	color: var(--aip-text-primary);
	border: solid 1px var(--aip-border-strong);
	border-radius: 6px;
	font-family: var(--font-family);
}

/* ---------------------------------------------------------------------------
Composer
--------------------------------------------------------------------------- */

.AIP-Footer {
	padding: 0 20px 20px 20px;
}

.AIP-Composer {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 16px 16px 12px 16px;
	border: solid 1px var(--aip-border-strong);
	border-radius: 12px;
	background: var(--aip-surface-raised);
}

.AIP-Composer:focus-within {
	border-color: var(--aip-primary);
}

.AIP-Input {
	all: unset;
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	color: var(--aip-text-primary);
	font-family: var(--font-family);
	font-size: 13px;
	line-height: 18px;
	white-space: pre-wrap;
}

.AIP-Input::placeholder {
	color: var(--aip-text-secondary);
}

.AIP-ComposerBar {
	display: flex;
	align-items: center;
	gap: 10px;
}

.AIP-Screenshot, .AIP-Credits {
	all: unset;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	color: var(--aip-text-secondary);
}

.AIP-Screenshot svg {
	width: 14px;
	height: 14px;
}

.AIP-Credits {
	font-size: 11px;
}

.AIP-Credits:hover, .AIP-Screenshot:hover {
	color: var(--aip-text-primary);
}

.AIP-CreditsOwn {
	color: var(--aip-success);
}

.AIP-Attachment {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	align-self: flex-start;
	padding: 4px 8px;
	border-radius: 6px;
	background: var(--aip-surface-base);
	color: var(--aip-text-secondary);
	font-size: 12px;
}

.AIP-Attachment svg {
	width: 12px;
	height: 12px;
}

.AIP-AttachRemove {
	all: unset;
	cursor: pointer;
	display: inline-flex;
}

/* ---------------------------------------------------------------------------
Toast: bottom centre, text + Undo
--------------------------------------------------------------------------- */

#AIToast {
	position: fixed;
	left: 50%;
	bottom: 24px;
	transform: translate(-50%, 20px);
	z-index: 9500;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 10px 10px 16px;
	border: solid 1px var(--aip-border-strong);
	border-radius: 10px;
	background: var(--aip-surface-raised);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
	color: var(--aip-text-primary);
	font-family: var(--font-family);
	font-size: 13px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

#AIToast.AIToastVisible {
	opacity: 1;
	pointer-events: auto;
	transform: translate(-50%, 0);
}

#AIToast button {
	all: unset;
	padding: 6px 12px;
	border: solid 1px var(--aip-border-strong);
	border-radius: 8px;
	cursor: pointer;
	font-family: var(--font-family);
}

#AIToast button:hover {
	background: var(--aip-surface-hover);
}

/* ---------------------------------------------------------------------------
Modal windows: Page layout (E2), New page (N1) and later ones
--------------------------------------------------------------------------- */

#AIModalOverlay {
	position: fixed;
	inset: 0;
	z-index: 9000;
	background: rgba(0, 4, 10, 0.72);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-family);
	font-size: 13px;
	line-height: 16px;
	color: var(--aip-text-primary);
}

#AIModalOverlay button, #AIModalOverlay input, #AIModalOverlay select, #AIModalOverlay textarea {
	font-family: var(--font-family);
}

.AIM-Modal {
	box-sizing: border-box;
	max-width: calc(100vw - 32px);
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	padding: 24px;
	border: solid 1px var(--aip-border-strong);
	border-radius: 12px;
	background: var(--aip-surface-raised);
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.AIM-LayoutModal {
	width: 588px;
}

.AIM-Head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 14px;
	margin-bottom: 24px;
}

.AIM-Close {
	all: unset;
	box-sizing: border-box;
	width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: solid 1px var(--aip-border-default);
	border-radius: 8px;
	color: var(--aip-text-secondary);
	cursor: pointer;
}

.AIM-Close svg {
	width: 14px;
	height: 14px;
}

.AIM-NameRow {
	display: flex;
	gap: 12px;
	align-items: flex-end;
}

.AIM-Field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1;
	color: var(--aip-text-secondary);
	font-size: 11px;
}

.AIM-IconField {
	flex: 0 0 auto;
}

.AIM-Name, .AIM-Input {
	box-sizing: border-box;
	height: 34px;
	padding: 0 12px;
	border: solid 1px var(--aip-border-default);
	border-radius: 8px;
	background: var(--aip-surface-base);
	color: var(--aip-text-primary);
	font-size: 13px;
	outline: none;
}

.AIM-Name:focus, .AIM-Input:focus {
	border-color: var(--aip-primary);
}

.AIM-Icon {
	all: unset;
	box-sizing: border-box;
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: solid 1px var(--aip-border-default);
	border-radius: 8px;
	background: var(--aip-surface-base);
	color: var(--aip-text-brand);
	cursor: pointer;
}

.AIM-IconFA {
	font-family: FontAwesome;
	font-size: 16px;
}

.AIM-IconGlyph svg {
	width: 18px;
	height: 18px;
	display: block;
}

.AIM-Help {
	margin-top: 12px;
	color: var(--aip-text-secondary);
	font-size: 11px;
}

.AIM-Intro {
	margin: 20px 0 20px 0;
	color: var(--aip-text-primary);
}

.AIM-Grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 12px 12px;
}

.AIM-Layout {
	all: unset;
	box-sizing: border-box;
	position: relative;
	padding: 12px 12px;
	height: 86px;
	border: solid 1px var(--aip-border-default);
	border-radius: 8px;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.AIM-Layout:hover {
	border-color: var(--aip-border-strong);
	background: var(--aip-surface-hover);
}

.AIM-LayoutCurrent {
	border-color: var(--aip-primary);
	background: var(--aip-brand-soft);
	height: 86px;	/* the same as the others, so it never runs into the next row */
	padding: 10px 12px;
	margin-bottom: 0;
}

.AIM-LayoutCurrent .FXBAI-Thumb {
	height: 46px;
}

.AIM-Marker {
	line-height: 14px;
	text-align: center;
	color: var(--aip-text-brand);
	font-size: 11px;
}

.FXBAI-Thumb {
	position: relative;
	width: 100%;
	height: 60px;
}

.FXBAI-ThumbCell {
	position: absolute;
	box-sizing: border-box;
	border: solid 2px transparent;
	background-clip: padding-box;
	background-color: #2c3440;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	color: var(--aip-text-primary);
}

.AIM-LayoutCurrent .FXBAI-ThumbCell {
	background-color: #0d47a8;
}

.AIM-Footer {
	margin-top: 28px;
	color: var(--aip-text-secondary);
}

/* Keep the page usable on narrow screens */
@media screen and (max-width: 900px) {
	BODY.AIPanelOpen #PageContainer {
		width: calc(var(--ai-pc-width, 100%) - 328px) !important;
	}
	#AIPagePanel {
		width: 320px;
	}
}

/* ---------------------------------------------------------------------------
Credits (K1) and Connect your own AI (K3)
--------------------------------------------------------------------------- */

#AICreditsPop {
	position: fixed;
	right: 96px;
	bottom: 72px;
	width: 320px;
	z-index: 950;
	box-sizing: border-box;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	border: solid 1px var(--aip-border-strong);
	border-radius: 12px;
	background: var(--aip-surface-raised);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
	font-family: var(--font-family);
	font-size: 13px;
	line-height: 16px;
	color: var(--aip-text-primary);
}

.AIC-Head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 14px;
}

.AIC-Balance {
	color: var(--aip-text-secondary);
	font-size: 12px;
}

.AIC-Big {
	color: var(--aip-text-primary);
	font-size: 16px;
	font-weight: 600;
	margin-right: 4px;
}

.AIC-Bar {
	height: 4px;
	border-radius: 2px;
	background: var(--aip-border-strong);
	margin-top: -6px;
}

.AIC-Bar > div {
	height: 100%;
	border-radius: 2px;
	background: var(--aip-primary);
}

.AIC-Group {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.AIC-Label {
	color: var(--aip-text-secondary);
	font-size: 11px;
}

.AIC-Row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
}

.AIC-Dim, .AIC-Para {
	color: var(--aip-text-secondary);
}

.AIC-Para {
	font-size: 12px;
}

.AIC-Demo {
	color: var(--aip-text-faint) !important;
	font-size: 11px;
}

.AIC-Own {
	display: flex;
	align-items: center;
	gap: 8px;
}

.AIC-OwnDot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--aip-success);
}

.AIP-Connected svg {
	width: 14px;
	height: 14px;
	color: var(--aip-text-brand);
	vertical-align: -2px;
	margin-right: 6px;
}

.AIM-ConnectModal {
	width: 520px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.AIM-ConnectModal .AIM-Head {
	margin-bottom: 0;
}

.AIM-Para {
	color: var(--aip-text-secondary);
}

.AIM-Tabs {
	display: flex;
	padding: 4px;
	border-radius: 8px;
	background: var(--aip-surface-base);
}

.AIM-Tab {
	all: unset;
	flex: 1;
	text-align: center;
	padding: 8px 0;
	border-radius: 6px;
	color: var(--aip-text-secondary);
	cursor: pointer;
}

.AIM-TabActive {
	background: var(--aip-border-strong);
	color: var(--aip-text-primary);
}

.AIM-TabPane {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.AIM-ConnectModal select.AIM-Input {
	appearance: auto;
}

.AIM-Note {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--aip-text-secondary);
	font-size: 12px;
}

.AIM-Note svg {
	width: 14px;
	height: 14px;
}

.AIM-Error {
	color: var(--aip-danger);
	font-size: 12px;
}

.AIM-Buttons {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 8px;
}

.AIM-Step {
	color: var(--aip-text-primary);
}

.AIM-Apps {
	display: flex;
	gap: 8px;
	margin-top: -6px;
}

.AIM-App {
	all: unset;
	padding: 4px 10px;
	border: solid 1px var(--aip-border-default);
	border-radius: 6px;
	color: var(--aip-text-secondary);
	cursor: pointer;
	font-size: 12px;
}

.AIM-AppActive {
	border-color: var(--aip-primary);
	color: var(--aip-text-primary);
}

.AIM-Code {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px;
	border-radius: 8px;
	background: var(--aip-surface-base);
}

.AIM-Code code {
	flex: 1;
	font-size: 12px;
	color: var(--aip-text-primary);
}

.AIM-Copy {
	all: unset;
	cursor: pointer;
	color: var(--aip-text-secondary);
}

.AIM-Copy svg {
	width: 16px;
	height: 16px;
	display: block;
}

.AIM-Pair {
	font-size: 16px;
	letter-spacing: 1px;
	margin-top: -6px;
}

.AIM-Waiting {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--aip-text-secondary);
	font-size: 12px;
	margin-top: -6px;
}

.AIM-Spinner {
	width: 12px;
	height: 12px;
	border: solid 2px var(--aip-primary);
	border-right-color: transparent;
	border-radius: 50%;
	animation: AIMSpin 0.9s linear infinite;
}

@keyframes AIMSpin {
	to { transform: rotate(360deg); }
}

.AIM-Simulate {
	color: var(--aip-text-faint) !important;
	font-size: 11px;
}

/* ---------------------------------------------------------------------------
Widgets library (T1, T2), Make my version (T3, T4), Share (S1, S2)
--------------------------------------------------------------------------- */

.AIW-Modal {
	width: 1120px;
	height: 780px;
	padding: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.AIW-Head {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 24px 24px 16px 24px;
}

.AIW-Title {
	font-size: 16px;
	font-weight: 600;
}

.AIW-Sub, .AIW-Dim {
	color: var(--aip-text-secondary);
}

.AIW-Search, .AIW-Composer {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 24px;
	padding: 8px 8px 8px 16px;
	border: solid 1px var(--aip-primary);
	border-radius: 12px;
	background: var(--aip-surface-canvas);
}

.AIW-Composer {
	margin: 0;
	border-color: var(--aip-border-strong);
}

.AIW-SearchIcon svg {
	width: 20px;
	height: 20px;
	color: var(--aip-text-brand);
	display: block;
}

.AIW-Query, .AIW-RemixInput {
	all: unset;
	flex: 1;
	color: var(--aip-text-primary);
	font-size: 13px;
}

.AIW-Query::placeholder, .AIW-RemixInput::placeholder {
	color: var(--aip-text-secondary);
}

.AIW-Credits {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--aip-text-secondary);
	font-size: 12px;
	white-space: nowrap;
}

.AIW-Credits svg {
	width: 12px;
	height: 12px;
}

.AIW-Try {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 16px 24px;
	border-bottom: solid 1px var(--aip-border-default);
	color: var(--aip-text-secondary);
}

.AIW-Main {
	flex: 1;
	display: flex;
	min-height: 0;
	margin-top: 16px;
	border-top: solid 1px var(--aip-border-default);
}

.AIW-Try + .AIW-Main {
	margin-top: 0;
	border-top: 0;
}

.AIW-Nav {
	width: 220px;
	flex: 0 0 auto;
	padding: 16px;
	border-right: solid 1px var(--aip-border-default);
	display: flex;
	flex-direction: column;
	gap: 4px;
	overflow-y: auto;
}

.AIW-NavItem {
	all: unset;
	display: flex;
	justify-content: space-between;
	padding: 10px 12px;
	border-radius: 8px;
	cursor: pointer;
	color: var(--aip-text-primary);
}

.AIW-NavItem:hover {
	background: var(--aip-surface-hover);
}

.AIW-NavActive {
	background: var(--aip-border-strong);
}

.AIW-Count {
	color: var(--aip-text-secondary);
}

.AIW-NavHead {
	color: var(--aip-text-secondary);
	padding: 8px 0 4px 0;
	margin-top: 4px;
	border-top: solid 1px var(--aip-border-default);
}

.AIW-Content {
	flex: 1;
	overflow-y: auto;
	padding: 20px 24px 24px 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.AIW-SectionHead {
	display: flex;
	align-items: baseline;
	gap: 10px;
	font-size: 14px;
}

.AIW-SectionHead .AIW-Dim {
	font-size: 12px;
}

.AIW-Grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.AIW-Grid2 {
	grid-template-columns: repeat(2, minmax(0, 300px));
}

.AIW-Card {
	border: solid 1px var(--aip-border-default);
	border-radius: 10px;
	overflow: hidden;
	background: var(--aip-surface-base);
	display: flex;
	flex-direction: column;
}

.AIW-Thumb {
	height: 136px;
	background: var(--aip-surface-canvas);
	overflow: hidden;
	position: relative;
}

.AIW-Thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top left;
	display: block;
}

.AIW-ThumbFxb {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	background: linear-gradient(160deg, #0c1a2c, #050c16);
}

.AIW-ThumbIcon svg {
	width: 34px;
	height: 34px;
	color: var(--aip-text-brand);
	display: block;
}

.AIW-ThumbLines {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.AIW-ThumbLines i {
	display: block;
	height: 6px;
	width: 70px;
	border-radius: 3px;
	background: #1d2a3a;
}

.AIW-ThumbLines i:nth-child(2) { width: 52px; }
.AIW-ThumbLines i:nth-child(3) { width: 62px; }

.AIW-ThumbBig {
	height: 280px;
	border: solid 1px var(--aip-border-default);
	border-radius: 10px;
}

.AIW-CardBody {
	padding: 12px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1;
}

.AIW-Badge {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 6px;
	border-radius: 4px;
	background: var(--aip-brand-soft);
	color: var(--aip-text-brand);
	font-size: 11px;
}

.AIW-Badge svg {
	width: 10px;
	height: 10px;
}

.AIW-BadgeHub {
	background: var(--aip-border-strong);
	color: var(--aip-text-secondary);
}

.AIW-CardTitle {
	font-size: 14px;
}

.AIW-CardBar {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	margin-top: 6px;
}

.AIW-Remix {
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
}

.AIW-Found {
	font-size: 13px;
}

.AIW-Build {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px;
	border: solid 1px var(--aip-border-default);
	border-radius: 10px;
}

/* Make my version */

.AIW-RemixView {
	flex: 1;
	display: flex;
	min-height: 0;
	border-top: solid 1px var(--aip-border-default);
}

.AIW-Original {
	width: 470px;
	flex: 0 0 auto;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	border-right: solid 1px var(--aip-border-default);
	overflow-y: auto;
}

.AIW-Meta {
	display: flex;
	align-items: center;
	gap: 8px;
}

.AIW-Note {
	color: var(--aip-text-secondary);
	font-size: 12px;
	padding: 8px 12px;
}

.AIW-Chat {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 24px;
	min-width: 0;
}

.AIW-Thread {
	flex: 1;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.AIW-Versions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.AIW-Version {
	all: unset;
	padding: 4px 8px;
	border: solid 1px var(--aip-border-default);
	border-radius: 6px;
	color: var(--aip-text-secondary);
	cursor: pointer;
	font-size: 12px;
}

.AIW-VersionActive {
	border-color: var(--aip-primary);
	color: var(--aip-text-primary);
}

.AIW-VersionBuilding {
	cursor: default;
}

.AIW-Building {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--aip-text-secondary);
}

.AIW-Preview {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 16px;
	border: solid 1px var(--aip-border-default);
	border-radius: 10px;
	background: var(--aip-surface-base);
}

.AIW-PreviewHead {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 14px;
}

.AIW-PreviewHead > span:first-child {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.AIW-PreviewHead svg {
	width: 14px;
	height: 14px;
	color: var(--aip-warning);
}

.AIW-Warn {
	padding: 2px 6px;
	border-radius: 4px;
	background: rgba(251, 182, 27, 0.15);
	color: var(--aip-warning);
	font-size: 11px;
}

.AIW-PreviewBig .AIW-Amber {
	font-size: 18px;
}

.AIW-Amber {
	color: var(--aip-warning);
}

.AIW-Bar {
	height: 6px;
	border-radius: 3px;
	background: var(--aip-border-strong);
}

.AIW-Bar i {
	display: block;
	height: 100%;
	border-radius: 3px;
	background: var(--aip-warning);
}

.AIW-BarBlue i {
	background: var(--aip-primary);
}

.AIW-Row {
	display: flex;
	justify-content: space-between;
}

.AIW-Toggle {
	display: flex;
	align-items: center;
	gap: 8px;
}

.AIW-Switch {
	width: 28px;
	height: 16px;
	border-radius: 8px;
	background: var(--aip-primary);
	position: relative;
}

.AIW-Switch::after {
	content: "";
	position: absolute;
	right: 2px;
	top: 2px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #ffffff;
}

/* Share */

#AIShareOverlay {
	position: fixed;
	inset: 0;
	z-index: 9100;
	background: rgba(0, 4, 10, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-family);
	font-size: 13px;
	line-height: 16px;
	color: var(--aip-text-primary);
}

#AIShareOverlay button, #AIShareOverlay input, #AIShareOverlay select, #AIShareOverlay textarea {
	font-family: var(--font-family);
}

.AIW-Share {
	width: 600px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.AIW-Share .AIM-Head {
	margin-bottom: 0;
}

.AIS-Top {
	display: flex;
	gap: 16px;
}

.AIS-Thumb {
	width: 200px;
	height: 128px;
	flex: 0 0 auto;
	border: solid 1px var(--aip-border-default);
	border-radius: 8px;
	overflow: hidden;
}

.AIS-Thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top left;
}

.AIS-Thumb .AIW-Thumb {
	height: 100%;
}

.AIS-Fields {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.AIS-Desc {
	height: auto !important;
	padding: 8px 12px !important;
	resize: none;
	line-height: 16px;
}

.AIS-Small {
	font-size: 12px;
	margin-top: -8px;
}

.AIS-Check {
	display: flex;
	align-items: center;
	gap: 8px;
}

.AIS-Live {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
}

.AIS-Live svg {
	width: 18px;
	height: 18px;
	color: var(--aip-text-brand);
}

.AIS-Demo {
	color: var(--aip-text-faint);
}

.AIS-Demo svg {
	color: var(--aip-text-faint);
}

/* Platform input styles must not leak into the AI fields */
#AIModalOverlay .AIW-Query, #AIModalOverlay .AIW-RemixInput, #AIModalOverlay .AIP-QOwn input,
#AIPagePanel .AIP-QOwn input, #AIPagePanel .AIP-Input {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	height: auto !important;
	outline: none !important;
}

/* ---------------------------------------------------------------------------
Onboarding (2.11): welcome, choose a layout, fill in the sections, tour
--------------------------------------------------------------------------- */

#AIWelcome {
	position: fixed;
	left: calc(var(--ai-pc-left, 56px) + 8px);
	top: calc(var(--ai-top, 60px) + 8px);
	right: 8px;
	bottom: 8px;
	z-index: 800;
	overflow-y: auto;
	border-radius: 12px;
	background: var(--aip-surface-raised);
	font-family: var(--font-family);
	font-size: 13px;
	line-height: 16px;
	color: var(--aip-text-primary);
	display: flex;
	flex-direction: column;
	align-items: center;
}

#AIWelcome button {
	font-family: var(--font-family);
}

.AIO-NotNow {
	all: unset;
	position: absolute;
	top: 16px;
	right: 20px;
	color: var(--aip-text-faint);
	cursor: pointer;
	font-size: 12px;
}

.AIO-NotNow:hover {
	color: var(--aip-text-secondary);
}

.AIO-Inner {
	width: 808px;
	max-width: calc(100% - 48px);
	margin: auto 0;
	padding: 48px 0 24px 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.AIO-Brand {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--aip-text-primary);
}

.AIO-Title {
	font-size: 16px;
	font-weight: 600;
}

.AIO-H2 {
	font-size: 16px;
	font-weight: 600;
	margin-top: 24px;
}

.AIO-Text {
	color: var(--aip-text-secondary);
}

.AIO-Small {
	font-size: 12px;
}

.AIO-Choices {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 16px;
}

.AIO-Choice {
	all: unset;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 12px 12px 14px 12px;
	border: solid 1px var(--aip-border-default);
	border-radius: 12px;
	cursor: pointer;
}

.AIO-ChoiceSelected {
	border-color: var(--aip-primary);
	background: var(--aip-brand-soft);
}

.AIO-ChoiceArt {
	height: 144px;
	border-radius: 8px;
	background: var(--aip-surface-canvas);
	margin-bottom: 8px;
	position: relative;
	overflow: hidden;
}

.AIO-ArtBuild {
	display: flex;
	align-items: center;
	justify-content: center;
	outline: dashed 1px var(--aip-primary);
	outline-offset: -8px;
}

.AIO-Describe {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border: solid 1px var(--aip-border-strong);
	border-radius: 999px;
	color: var(--aip-text-secondary);
	font-size: 11px;
}

.AIO-Describe svg {
	width: 12px;
	height: 12px;
	color: var(--aip-text-brand);
}

.AIO-ArtChart svg {
	position: absolute;
	left: 8px;
	right: 8px;
	top: 8px;
	width: calc(100% - 16px);
	height: 90px;
}

.AIO-ArtRows {
	position: absolute;
	left: 8px;
	right: 8px;
	bottom: 8px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.AIO-ArtRows i {
	display: block;
	height: 4px;
	border-radius: 2px;
	background: var(--aip-border-strong);
}

.AIO-Badge {
	align-self: flex-start;
	padding: 2px 6px;
	border-radius: 4px;
	background: var(--aip-brand-soft);
	color: var(--aip-text-brand);
	font-size: 10px;
}

.AIO-ChoiceTitle {
	font-size: 16px;
}

.AIO-Choice:not(.AIO-ChoiceBig) .AIO-ChoiceTitle {
	font-size: 13px;
}

.AIO-ChoiceText {
	color: var(--aip-text-secondary);
	font-size: 11px;
}

.AIO-Bar, .AIO-SecBar {
	display: flex;
	align-items: center;
	margin-top: 16px;
}

.AIO-Back {
	color: var(--aip-text-secondary) !important;
}

.AIO-Footer {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 16px 0 24px 0;
	color: var(--aip-text-secondary);
}

.AIO-Footer svg {
	width: 14px;
	height: 14px;
}

.AIO-Layouts {
	display: flex;
	gap: 8px;
	margin-top: 32px;
}

.AIO-LayoutsAll {
	display: grid;
	grid-template-columns: repeat(9, 1fr);
}

.AIO-Layout {
	all: unset;
	box-sizing: border-box;
	width: 90px;
	padding: 8px;
	border: solid 1px var(--aip-border-default);
	border-radius: 8px;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.AIO-Layout .FXBAI-Thumb {
	height: 58px;
}

.AIO-LayoutSelected {
	border-color: var(--aip-primary);
	background: var(--aip-brand-soft);
}

.AIO-LayoutSelected .FXBAI-ThumbCell {
	background-color: #0d47a8;
}

/* Section overlays while filling */

.AIO-Section {
	position: fixed;
	z-index: 700;
	box-sizing: border-box;
	font-family: var(--font-family);
	font-size: 13px;
	line-height: 16px;
	color: var(--aip-text-primary);
	border-radius: 8px;
	overflow: hidden;
}

.AIO-Section button, .AIO-Section textarea, .AIO-Section input {
	font-family: var(--font-family);
}

.AIO-Section-pick, .AIO-Section-building {
	background: var(--aip-surface-raised);
	border: solid 1px var(--aip-primary);
	overflow-y: auto;
}

.AIO-Section-done {
	background: var(--aip-surface-raised);
	border-bottom: solid 1px var(--aip-border-default);
	border-radius: 8px 8px 0 0;
}

.AIO-SecInner {
	padding: 32px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-height: calc(100% - 64px);
}

.AIO-SecInner .AIO-SecBar {
	margin-top: auto;
}

.AIO-SecStep {
	color: var(--aip-text-brand);
	font-size: 12px;
}

.AIO-SecTitle {
	font-size: 16px;
	font-weight: 600;
	margin-top: 12px;
}

.AIO-Cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 8px;
	margin-top: 8px;
}

.AIO-Label {
	color: var(--aip-text-secondary);
	font-size: 11px;
	margin-top: 8px;
}

.AIO-OwnPrompt {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 6px 6px 12px;
	border: solid 1px var(--aip-border-strong);
	border-radius: 10px;
	background: var(--aip-surface-base);
}

.AIO-OwnInput {
	all: unset;
	flex: 1;
	color: var(--aip-text-primary);
}

.AIO-Prompt {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 16px;
	border: solid 1px var(--aip-border-strong);
	border-radius: 12px;
	background: var(--aip-surface-base);
}

.AIO-PromptText {
	all: unset;
	white-space: pre-wrap;
	color: var(--aip-text-primary);
	font-size: 13px;
	line-height: 18px;
	min-height: 40px;
}

.AIO-SecHead {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 40px;
	padding: 0 6px 0 12px;
	box-sizing: border-box;
}

.AIO-Tag {
	padding: 2px 6px;
	border-radius: 4px;
	background: var(--aip-border-strong);
	color: var(--aip-text-secondary);
	font-size: 10px;
}

.AIO-TagBuilt {
	background: var(--aip-brand-soft);
	color: var(--aip-text-brand);
}

.AIO-Building {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--aip-text-secondary);
	font-size: 12px;
	padding-right: 8px;
}

.AIO-Skeleton {
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.AIO-Skeleton i {
	display: block;
	height: 10px;
	border-radius: 5px;
	background: var(--aip-border-strong);
}

.AIO-Skeleton i:nth-child(2) { width: 70%; }
.AIO-Skeleton i:nth-child(3) { width: 60%; }
.AIO-Skeleton i:nth-child(4) { width: 50%; }

.AIO-BuildCard {
	margin: 0 24px;
	padding: 16px;
	border: solid 1px var(--aip-border-strong);
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.AIO-StepRow {
	display: flex;
	align-items: center;
	gap: 8px;
}

.AIO-StepRow svg {
	width: 14px;
	height: 14px;
	color: var(--aip-success);
}

.AIO-Step-todo {
	color: var(--aip-text-secondary);
}

.AIO-Circle {
	width: 12px;
	height: 12px;
	border: solid 1px var(--aip-text-faint);
	border-radius: 50%;
}

/* Your page is ready: in the middle, over the dimmed page */
#AIReadyOverlay {
	position: fixed;
	inset: 0;
	z-index: 850;
	background: rgba(0, 4, 10, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	box-sizing: border-box;
}

#AIReady {
	position: relative;
	width: 440px;
	max-width: 100%;
	box-sizing: border-box;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	border: solid 1px var(--aip-border-strong);
	border-radius: 12px;
	background: var(--aip-surface-raised);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
	font-family: var(--font-family);
	font-size: 13px;
	line-height: 16px;
	color: var(--aip-text-primary);
}

#AIReady button {
	font-family: var(--font-family);
}

/* Tour modal (M1 to M4): fixed 560 px */

.AIT-Modal {
	width: min(840px, calc(100vw - 32px));
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.AIT-Img {
	width: 100%;
	border-radius: 8px;
	display: block;
	margin-bottom: 16px;
}

.AIT-Step {
	font-size: 12px;
}

.AIT-Title {
	font-size: 16px;
	font-weight: 600;
}

.AIT-Bar {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 24px;
}

.AIT-Dots {
	display: flex;
	gap: 4px;
}

.AIT-Dots i {
	display: block;
	width: 6px;
	height: 6px;
	border-radius: 3px;
	background: var(--aip-border-strong);
}

.AIT-Dots i.AIT-DotOn {
	width: 20px;
	background: var(--aip-primary);
}

.AIO-Layout {
	width: 98px;
}

.AIO-Layout .AIM-Marker {
	font-size: 10px;
	white-space: nowrap;
}

/* Warnings (R1 to R4) */
.AIP-WarnIcon svg {
	width: 16px;
	height: 16px;
	color: var(--aip-warning);
	vertical-align: -3px;
	margin-right: 8px;
}

.AIP-AIWarn > div {
	padding-left: 24px;
	text-indent: -24px;
}

.AIC-Radio {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--aip-text-secondary);
	font-size: 12px;
	cursor: pointer;
}

/* ---------------------------------------------------------------------------
Mobile, 390 px (2.12): bottom sheets and the bottom bar
--------------------------------------------------------------------------- */

#AIBottomBar {
	display: none;
}

BODY.AIMobile #AIBottomBar {
	display: flex;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	height: 64px;
	z-index: 1200;
	background: var(--aip-surface-base);
	border-top: solid 1px var(--aip-border-default);
	font-family: var(--font-family);
}

#AIBottomBar button {
	all: unset;
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	color: var(--aip-text-primary);
	font-size: 11px;
	cursor: pointer;
	border-left: solid 1px var(--aip-border-default);
}

#AIBottomBar button:first-child {
	border-left: 0;
}

.AIB-Icon svg {
	width: 22px;
	height: 22px;
	display: block;
}

#AIBottomBar button[data-key='ai'] .AIB-Icon svg {
	color: var(--aip-text-brand);
}

#AIBottomBar button.AIB-Active {
	color: var(--aip-text-brand);
}

BODY.AIMobile #PageContainer {
	min-height: calc(100% - 50px - 64px) !important;
	max-height: calc(100% - 50px - 64px) !important;
}

/* The page chat as a bottom sheet (MO4) */
BODY.AIMobile.AIPanelOpen #PageContainer {
	width: var(--ai-pc-width, 100%) !important;
}

BODY.AIMobile #AIPagePanel {
	left: 0;
	right: 0;
	top: auto;
	bottom: 0;
	width: auto;
	height: 82vh;
	z-index: 1300;
	border-radius: 16px 16px 0 0;
	box-shadow: 0 0 0 100vmax rgba(0, 4, 10, 0.55);
}

BODY.AIMobile .AIP-Head {
	position: relative;
	padding-top: 24px;
}

BODY.AIMobile .AIP-Head::before {
	content: "";
	position: absolute;
	top: 8px;
	left: 50%;
	width: 36px;
	height: 4px;
	margin-left: -18px;
	border-radius: 2px;
	background: var(--aip-border-strong);
}

BODY.AIMobile .AIP-Body, BODY.AIMobile .AIP-Head {
	padding-left: 16px;
	padding-right: 16px;
}

BODY.AIMobile .AIP-Footer {
	padding: 0 16px 16px 16px;
}

BODY.AIMobile .AIP-AIIndent {
	padding-left: 0;
}

/* Windows become sheets */
BODY.AIMobile #AIModalOverlay {
	align-items: flex-end;
}

BODY.AIMobile .AIM-Modal {
	width: 100% !important;
	max-width: 100%;
	max-height: 88vh;
	border-radius: 16px 16px 0 0;
	padding: 20px 16px;
}

BODY.AIMobile .AIM-Grid {
	grid-template-columns: repeat(3, 1fr);
}

BODY.AIMobile .AIM-Layout {
	height: 120px;
}

BODY.AIMobile .AIM-Layout .FXBAI-Thumb {
	height: 76px;
	width: 56px;
	margin: 0 auto;
}

BODY.AIMobile .AIM-LayoutCurrent {
	height: 120px;
	margin-bottom: 0;
}

BODY.AIMobile .AIM-MobileLabel {
	color: var(--aip-text-primary);
}

BODY.AIMobile .AIW-Modal {
	height: 92vh;
}

BODY.AIMobile .AIW-Nav, BODY.AIMobile .AIW-Try, BODY.AIMobile .AIW-Original {
	display: none;
}

BODY.AIMobile .AIW-Grid {
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
}

BODY.AIMobile .AIW-Search {
	margin: 0 16px;
}

BODY.AIMobile .AIW-Head {
	padding: 16px;
}

BODY.AIMobile .AIW-Content, BODY.AIMobile .AIW-Chat {
	padding: 16px;
}

BODY.AIMobile .AIW-Credits {
	display: none;
}

BODY.AIMobile .AIT-Modal {
	padding-bottom: 24px;
}

/* Welcome on a phone (1m) */
BODY.AIMobile #AIWelcome {
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	border-radius: 0;
	z-index: 1250;
	background: var(--aip-surface-canvas);
}

BODY.AIMobile .AIO-Inner {
	max-width: calc(100% - 40px);
	margin: 0;
	padding-top: 56px;
	min-height: calc(100% - 80px);
}

BODY.AIMobile .AIO-Choices {
	grid-template-columns: 1fr;
}

BODY.AIMobile .AIO-Choice:not(.AIO-ChoiceBig) {
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	column-gap: 16px;
}

BODY.AIMobile .AIO-Choice:not(.AIO-ChoiceBig) .AIO-ChoiceArt {
	width: 96px;
	height: 56px;
	margin: 0;
}

BODY.AIMobile .AIO-Bar {
	margin-top: auto;
}

BODY.AIMobile .AIO-Bar .AIP-BtnPrimary {
	flex: 1;
	justify-content: center;
}

BODY.AIMobile .AIO-Footer {
	display: none;
}

BODY.AIMobile .AIO-Layouts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}

BODY.AIMobile .AIO-Layout {
	width: auto;
}

BODY.AIMobile #AIReady {
	width: 100%;
}

BODY.AIMobile #AIToast {
	bottom: 76px;
	max-width: calc(100% - 32px);
}

BODY.AIMobile #AICreditsPop {
	left: 12px;
	right: 12px;
	width: auto;
	bottom: 140px;
	z-index: 1400;
}

BODY.AIMobile .AIW-Modal {
	padding: 0;
}

/* Onboarding uses the platform's own widget background, like the rest of the page */
#AIWelcome,
.AIO-Section-pick, .AIO-Section-building, .AIO-Section-done {
	background: var(--clr-widget-background, #09121c);
}

.AIO-Prompt, .AIO-OwnPrompt {
	background: var(--clr-toolbar, #131c26);
}

BODY.AIMobile #AIWelcome {
	background: var(--clr-widget-background, #09121c);
}

/* MyTrader logo, the same SVG as .FigaroLogo in css\widgets\x-strive.css (that file is not loaded in the top window) */
.AIO-Logo {
	display: inline-block;
	width: 120px;
	height: 22px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: left center;
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 425 78' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_7614_158331)'%3E%3Cpath d='M327.845 67.2281L330.259 64.8142H322.052L319.639 67.2281H327.845Z' fill='white'/%3E%3Cpath d='M367.526 21.7283H383.003V26.7283H367.526V21.7283ZM368.047 34.2283L385.003 34.2517V39.2517H361.003V10.2517H385.003V15.2283H368.047V34.2283Z' fill='white'/%3E%3Cpath d='M318.003 39.2517V10.2517H331.003C334.195 10.2517 336.845 10.8443 339.281 12.0763C341.717 13.2803 343.621 14.9743 344.993 17.1583C346.365 19.3423 347.051 21.9323 347.051 24.9283C347.051 27.8963 346.365 30.0863 344.993 32.2983C343.621 34.4823 341.717 36.1903 339.281 37.4223C336.845 38.6263 334.031 39.2517 330.839 39.2517H318.003ZM325.003 33.6423H330.503C332.463 33.6423 334.157 33.2783 335.585 32.5503C337.041 31.7943 338.161 30.7303 338.945 29.7583C339.757 28.3863 340.163 26.7763 340.163 24.9283C340.163 23.0523 339.757 21.4423 338.945 20.0983C338.161 18.7263 337.041 17.6763 335.585 16.9483C334.157 16.1923 332.463 15.8143 330.503 15.8143H325.003V33.6423Z' fill='white'/%3E%3Cpath d='M271.003 39.2517L284.003 10.2517H291.003L304.003 39.2517H297.003L286.003 13.6723H289.003L278.003 39.2517H271.003ZM277.503 33.2517L279.503 28.2517H294.503L296.503 33.2517H277.503Z' fill='white'/%3E%3Cpath d='M399.003 39.2517V10.2517L411.777 10.2283C414.409 10.2283 416.677 10.6623 418.581 11.5303C420.485 12.3703 421.955 13.5883 422.991 15.1843C424.027 16.7803 424.545 18.6843 424.545 20.8963C424.545 23.0803 424.027 24.9703 422.991 26.5663C421.955 28.1343 420.485 29.3383 418.581 30.1783C416.677 31.0183 414.409 31.4383 411.777 31.4383H402.831L406.003 28.7517V39.2517H399.003ZM418.003 39.2517L410.391 28.9603H417.657L425.003 39.2517H418.003ZM406.003 29.2517L402.831 26.0203H411.399C413.499 26.0203 415.067 25.5723 416.103 24.6763C417.139 23.7523 417.657 22.4923 417.657 20.8963C417.657 19.2723 417.139 18.0123 416.103 17.1163C415.067 16.2203 413.499 15.7723 411.399 15.7723H402.831L406.003 12.7898V29.2517Z' fill='white'/%3E%3Cpath d='M231.003 39.2752V10.2752L243.777 10.2517C246.409 10.2517 248.677 10.6857 250.581 11.5537C252.485 12.3937 253.955 13.6117 254.991 15.2077C256.027 16.8037 256.545 18.7077 256.545 20.9197C256.545 23.1037 256.027 24.9937 254.991 26.5897C253.955 28.1577 252.485 29.3617 250.581 30.2017C248.677 31.0417 246.409 31.4617 243.777 31.4617H234.831L238.003 28.7752V39.2752H231.003ZM250.003 39.2752L242.391 28.9837H249.657L257.003 39.2752H250.003ZM238.003 29.2752L234.831 26.0437H243.399C245.499 26.0437 247.067 25.5957 248.103 24.6997C249.139 23.7757 249.657 22.5157 249.657 20.9197C249.657 19.2957 249.139 18.0357 248.103 17.1397C247.067 16.2437 245.499 15.7957 243.399 15.7957H234.831L238.003 12.8132V29.2752Z' fill='white'/%3E%3Cpath d='M201.003 39.2283V15.2517H192.003V10.2517H217.003V15.2517H208.003V39.2283H201.003Z' fill='white'/%3E%3Cpath d='M160.003 39.2517V27.7283L162.003 31.7283L149.003 10.2517H156.003L165.003 26.7283H161.981L171.003 10.2517H178.003L165.003 31.7323L167.003 27.7283V39.2517H160.003Z' fill='white'/%3E%3Cpath d='M102.003 39.2283V10.2283H107.631L120.003 30.9763H117.003L129.471 10.2283H135.003V39.2283L129.003 39.2517V20.0143H129.891L120.003 36.2283H117.003L106.959 20.0143H108.003V39.2283H102.003Z' fill='white'/%3E%3Cpath d='M327.845 53.2285L330.259 55.6424H322.052L319.639 53.2285H327.845Z' fill='white'/%3E%3Cpath d='M331.708 57.0898L334.121 59.5037H325.914L323.501 57.0898H331.708Z' fill='white'/%3E%3Cpath d='M331.708 63.3686L334.121 60.9548H325.914L323.501 63.3686H331.708Z' fill='white'/%3E%3Cpath d='M336.052 60.9546L333.639 63.3683L337.501 67.2304H342.328L336.052 60.9546Z' fill='white'/%3E%3Cpath d='M336.052 59.5059L333.639 57.0922L337.501 53.2302H342.328L336.052 59.5059Z' fill='white'/%3E%3Cpath d='M308.457 58.7815H314.957V61.1953H308.457V58.7815ZM309.018 67.2297L305.457 67.23V53.2302L315.957 53.2303V55.728H308.957L309.018 67.2297Z' fill='white'/%3E%3Cpath d='M416.722 58.7283H424.282V61.2881H416.722V58.7283ZM416.782 64.7283H425.003V67.2283H413.282V53.2283H425.003V55.7283H416.782V64.7283Z' fill='white'/%3E%3Cpath d='M398.382 67.2283C396.273 67.2283 394.254 66.6113 393.065 65.4368C391.877 64.2623 391.282 62.5854 391.282 60.4062V53.2283H394.803L394.782 59.8185C394.782 61.2336 394.937 62.2094 395.517 62.832C396.097 63.4547 397.334 63.809 398.382 63.809C399.429 63.809 400.488 63.4547 401.068 62.832C401.648 62.2094 401.801 61.2336 401.801 59.8185V53.2283H405.282V60.3897C405.282 62.5689 404.468 64.2623 403.279 65.4368C402.091 66.6113 400.49 67.2283 398.382 67.2283Z' fill='white'/%3E%3Cpath d='M371.782 67.2283V53.2283H375.282V64.7283H383.282V67.2283H371.782Z' fill='white'/%3E%3Cpath d='M350.328 67.2286V53.2283L357.726 53.2285C359.532 53.2285 360.886 53.5704 361.788 54.2543C362.705 54.9381 363.163 55.8408 363.163 56.9624C363.163 57.7146 362.978 58.1876 362.609 58.7484C362.24 59.2955 361.734 59.7195 361.091 60.0204C360.448 60.3213 359.709 60.4718 358.875 60.4718L359.265 59.6306C360.168 59.6306 361.073 59.7809 361.771 60.0818C362.454 60.4716 362.78 60.8368 363.163 61.4112C363.56 61.9856 363.782 62.6889 363.782 63.5232C363.782 64.7541 363.272 65.7195 362.301 66.4171C361.33 67.1009 360.216 67.2286 358.328 67.2286H350.328ZM353.828 64.7286H357.8C358.661 64.7286 359.316 64.7369 359.753 64.4634C360.205 64.1761 360.516 63.7543 360.516 63.1388C360.516 62.537 360.205 62.064 359.753 61.7768C359.316 61.4759 358.661 61.3539 357.8 61.3539L353.538 61.4114L353.767 58.9331H357.316C358.123 58.9331 358.738 58.7963 359.162 58.5227C359.6 58.2355 359.819 57.9882 359.819 57.4137C359.819 56.8529 359.6 56.4358 359.162 56.1622C358.738 55.875 358.123 55.7283 357.316 55.7283H353.828V64.7286Z' fill='white'/%3E%3Cpath d='M281.003 67.2283V60.2283L281.503 63.2283L275.503 53.2283H279.003L283.003 60.2283H282.003L286.003 53.2283H289.503L283.503 63.2283L284.003 60.2283V67.2283H281.003Z' fill='white'/%3E%3Cpath d='M258.003 67.2286V53.2283L265.401 53.2285C267.206 53.2285 268.561 53.5704 269.463 54.2543C270.38 54.9381 270.838 55.8408 270.838 56.9624C270.838 57.7146 270.653 58.1876 270.284 58.7484C269.915 59.2955 269.408 59.7195 268.766 60.0204C268.123 60.3213 267.384 60.4718 266.55 60.4718L266.94 59.6306C267.842 59.6306 268.748 59.7809 269.446 60.0818C270.129 60.4716 270.455 60.905 270.838 61.4794C271.234 62.0539 271.457 62.7571 271.457 63.5914C271.457 64.8223 270.947 65.7878 269.976 66.4853C269.005 67.1692 267.89 67.2286 266.003 67.2286H258.003ZM261.503 64.7286H265.474C266.336 64.7286 266.991 64.7369 267.428 64.4634C267.88 64.1761 268.191 63.7543 268.191 63.1388C268.191 62.537 267.88 62.064 267.428 61.7768C266.991 61.4759 266.336 61.3539 265.474 61.3539L261.213 61.4114L261.441 58.9331H264.991C265.798 58.9331 266.413 58.7963 266.837 58.5227C267.275 58.2355 267.494 57.9882 267.494 57.4137C267.494 56.8529 267.275 56.4358 266.837 56.1622C266.413 55.875 265.798 55.7283 264.991 55.7283H261.503V64.7286Z' fill='white'/%3E%3Cpath d='M74.4341 43.863L61.6006 56.696V13.0636L74.4341 0.231934V43.863Z' fill='white'/%3E%3Cpath d='M53.8999 64.3952L41.0664 77.2283V33.5958L53.8999 20.7642V64.3952Z' fill='white'/%3E%3Cpath d='M0.000513077 43.863L12.834 56.696L12.834 13.0636L0.000513077 0.231934L0.000513077 43.863Z' fill='white'/%3E%3Cpath d='M20.5327 64.3952L33.3662 77.2283V33.5958L20.5327 20.7642L20.5327 64.3952Z' fill='white'/%3E%3Cpath d='M37.0449 13.2371L37.2158 13.408L37.3867 13.238L49.8105 0.816162V12.9675L37.2197 25.5593L24.6221 12.9666V0.811279L37.0449 13.2371Z' fill='white' stroke='white' stroke-width='0.483328'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_7614_158331'%3E%3Crect width='425' height='77' fill='white' transform='translate(0 0.228271)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
}
BODY.Theme_light .AIO-Logo {
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg width='425' height='78' viewBox='0 0 425 78' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_7614_158329)'%3E%3Cpath d='M327.845 67.2281L330.259 64.8142H322.052L319.639 67.2281H327.845Z' fill='%23062043'/%3E%3Cpath d='M367.526 21.7283H383.003V26.7283H367.526V21.7283ZM368.047 34.2283L385.003 34.2517V39.2517H361.003V10.2517H385.003V15.2283H368.047V34.2283Z' fill='%23062043'/%3E%3Cpath d='M318.003 39.2517V10.2517H331.003C334.195 10.2517 336.845 10.8443 339.281 12.0763C341.717 13.2803 343.621 14.9743 344.993 17.1583C346.365 19.3423 347.051 21.9323 347.051 24.9283C347.051 27.8963 346.365 30.0863 344.993 32.2983C343.621 34.4823 341.717 36.1903 339.281 37.4223C336.845 38.6263 334.031 39.2517 330.839 39.2517H318.003ZM325.003 33.6423H330.503C332.463 33.6423 334.157 33.2783 335.585 32.5503C337.041 31.7943 338.161 30.7303 338.945 29.7583C339.757 28.3863 340.163 26.7763 340.163 24.9283C340.163 23.0523 339.757 21.4423 338.945 20.0983C338.161 18.7263 337.041 17.6763 335.585 16.9483C334.157 16.1923 332.463 15.8143 330.503 15.8143H325.003V33.6423Z' fill='%23062043'/%3E%3Cpath d='M271.003 39.2517L284.003 10.2517H291.003L304.003 39.2517H297.003L286.003 13.6723H289.003L278.003 39.2517H271.003ZM277.503 33.2517L279.503 28.2517H294.503L296.503 33.2517H277.503Z' fill='%23062043'/%3E%3Cpath d='M399.003 39.2517V10.2517L411.777 10.2283C414.409 10.2283 416.677 10.6623 418.581 11.5303C420.485 12.3703 421.955 13.5883 422.991 15.1843C424.027 16.7803 424.545 18.6843 424.545 20.8963C424.545 23.0803 424.027 24.9703 422.991 26.5663C421.955 28.1343 420.485 29.3383 418.581 30.1783C416.677 31.0183 414.409 31.4383 411.777 31.4383H402.831L406.003 28.7517V39.2517H399.003ZM418.003 39.2517L410.391 28.9603H417.657L425.003 39.2517H418.003ZM406.003 29.2517L402.831 26.0203H411.399C413.499 26.0203 415.067 25.5723 416.103 24.6763C417.139 23.7523 417.657 22.4923 417.657 20.8963C417.657 19.2723 417.139 18.0123 416.103 17.1163C415.067 16.2203 413.499 15.7723 411.399 15.7723H402.831L406.003 12.7898V29.2517Z' fill='%23062043'/%3E%3Cpath d='M231.003 39.2752V10.2752L243.777 10.2517C246.409 10.2517 248.677 10.6857 250.581 11.5537C252.485 12.3937 253.955 13.6117 254.991 15.2077C256.027 16.8037 256.545 18.7077 256.545 20.9197C256.545 23.1037 256.027 24.9937 254.991 26.5897C253.955 28.1577 252.485 29.3617 250.581 30.2017C248.677 31.0417 246.409 31.4617 243.777 31.4617H234.831L238.003 28.7752V39.2752H231.003ZM250.003 39.2752L242.391 28.9837H249.657L257.003 39.2752H250.003ZM238.003 29.2752L234.831 26.0437H243.399C245.499 26.0437 247.067 25.5957 248.103 24.6997C249.139 23.7757 249.657 22.5157 249.657 20.9197C249.657 19.2957 249.139 18.0357 248.103 17.1397C247.067 16.2437 245.499 15.7957 243.399 15.7957H234.831L238.003 12.8132V29.2752Z' fill='%23062043'/%3E%3Cpath d='M201.003 39.2283V15.2517H192.003V10.2517H217.003V15.2517H208.003V39.2283H201.003Z' fill='%23062043'/%3E%3Cpath d='M160.003 39.2517V27.7283L162.003 31.7283L149.003 10.2517H156.003L165.003 26.7283H161.981L171.003 10.2517H178.003L165.003 31.7323L167.003 27.7283V39.2517H160.003Z' fill='%23062043'/%3E%3Cpath d='M102.003 39.2283V10.2283H107.631L120.003 30.9763H117.003L129.471 10.2283H135.003V39.2283L129.003 39.2517V20.0143H129.891L120.003 36.2283H117.003L106.959 20.0143H108.003V39.2283H102.003Z' fill='%23062043'/%3E%3Cpath d='M327.845 53.2285L330.259 55.6424H322.052L319.639 53.2285H327.845Z' fill='%23062043'/%3E%3Cpath d='M331.708 57.0898L334.121 59.5037H325.914L323.501 57.0898H331.708Z' fill='%23062043'/%3E%3Cpath d='M331.708 63.3686L334.121 60.9548H325.914L323.501 63.3686H331.708Z' fill='%23062043'/%3E%3Cpath d='M336.052 60.9546L333.639 63.3683L337.501 67.2304H342.328L336.052 60.9546Z' fill='%23062043'/%3E%3Cpath d='M336.052 59.5059L333.639 57.0922L337.501 53.2302H342.328L336.052 59.5059Z' fill='%23062043'/%3E%3Cpath d='M308.457 58.7815H314.957V61.1953H308.457V58.7815ZM309.018 67.2297L305.457 67.23V53.2302L315.957 53.2303V55.728H308.957L309.018 67.2297Z' fill='%23062043'/%3E%3Cpath d='M416.722 58.7283H424.282V61.2881H416.722V58.7283ZM416.782 64.7283H425.003V67.2283H413.282V53.2283H425.003V55.7283H416.782V64.7283Z' fill='%23062043'/%3E%3Cpath d='M398.382 67.2283C396.273 67.2283 394.254 66.6113 393.065 65.4368C391.877 64.2623 391.282 62.5854 391.282 60.4062V53.2283H394.803L394.782 59.8185C394.782 61.2336 394.937 62.2094 395.517 62.832C396.097 63.4547 397.334 63.809 398.382 63.809C399.429 63.809 400.488 63.4547 401.068 62.832C401.648 62.2094 401.801 61.2336 401.801 59.8185V53.2283H405.282V60.3897C405.282 62.5689 404.468 64.2623 403.279 65.4368C402.091 66.6113 400.49 67.2283 398.382 67.2283Z' fill='%23062043'/%3E%3Cpath d='M371.782 67.2283V53.2283H375.282V64.7283H383.282V67.2283H371.782Z' fill='%23062043'/%3E%3Cpath d='M350.328 67.2286V53.2283L357.726 53.2285C359.532 53.2285 360.886 53.5704 361.788 54.2543C362.705 54.9381 363.163 55.8408 363.163 56.9624C363.163 57.7146 362.978 58.1876 362.609 58.7484C362.24 59.2955 361.734 59.7195 361.091 60.0204C360.448 60.3213 359.709 60.4718 358.875 60.4718L359.265 59.6306C360.168 59.6306 361.073 59.7809 361.771 60.0818C362.454 60.4716 362.78 60.8368 363.163 61.4112C363.56 61.9856 363.782 62.6889 363.782 63.5232C363.782 64.7541 363.272 65.7195 362.301 66.4171C361.33 67.1009 360.216 67.2286 358.328 67.2286H350.328ZM353.828 64.7286H357.8C358.661 64.7286 359.316 64.7369 359.753 64.4634C360.205 64.1761 360.516 63.7543 360.516 63.1388C360.516 62.537 360.205 62.064 359.753 61.7768C359.316 61.4759 358.661 61.3539 357.8 61.3539L353.538 61.4114L353.767 58.9331H357.316C358.123 58.9331 358.738 58.7963 359.162 58.5227C359.6 58.2355 359.819 57.9882 359.819 57.4137C359.819 56.8529 359.6 56.4358 359.162 56.1622C358.738 55.875 358.123 55.7283 357.316 55.7283H353.828V64.7286Z' fill='%23062043'/%3E%3Cpath d='M281.003 67.2283V60.2283L281.503 63.2283L275.503 53.2283H279.003L283.003 60.2283H282.003L286.003 53.2283H289.503L283.503 63.2283L284.003 60.2283V67.2283H281.003Z' fill='%23062043'/%3E%3Cpath d='M258.003 67.2286V53.2283L265.401 53.2285C267.206 53.2285 268.561 53.5704 269.463 54.2543C270.38 54.9381 270.838 55.8408 270.838 56.9624C270.838 57.7146 270.653 58.1876 270.284 58.7484C269.915 59.2955 269.408 59.7195 268.766 60.0204C268.123 60.3213 267.384 60.4718 266.55 60.4718L266.94 59.6306C267.842 59.6306 268.748 59.7809 269.446 60.0818C270.129 60.4716 270.455 60.905 270.838 61.4794C271.234 62.0539 271.457 62.7571 271.457 63.5914C271.457 64.8223 270.947 65.7878 269.976 66.4853C269.005 67.1692 267.89 67.2286 266.003 67.2286H258.003ZM261.503 64.7286H265.474C266.336 64.7286 266.991 64.7369 267.428 64.4634C267.88 64.1761 268.191 63.7543 268.191 63.1388C268.191 62.537 267.88 62.064 267.428 61.7768C266.991 61.4759 266.336 61.3539 265.474 61.3539L261.213 61.4114L261.441 58.9331H264.991C265.798 58.9331 266.413 58.7963 266.837 58.5227C267.275 58.2355 267.494 57.9882 267.494 57.4137C267.494 56.8529 267.275 56.4358 266.837 56.1622C266.413 55.875 265.798 55.7283 264.991 55.7283H261.503V64.7286Z' fill='%23062043'/%3E%3Cpath d='M74.4331 43.863L61.5996 56.696V13.0636L74.4331 0.231934V43.863Z' fill='%23062043'/%3E%3Cpath d='M53.8999 64.3952L41.0664 77.2283V33.5958L53.8999 20.7642V64.3952Z' fill='%23062043'/%3E%3Cpath d='M0.000513077 43.863L12.834 56.696L12.834 13.0636L0.000513077 0.231934L0.000513077 43.863Z' fill='%23062043'/%3E%3Cpath d='M20.5327 64.3952L33.3662 77.2283V33.5958L20.5327 20.7642L20.5327 64.3952Z' fill='%23062043'/%3E%3Cpath d='M37.0449 13.2371L37.2158 13.408L37.3867 13.238L49.8105 0.816162V12.9675L37.2197 25.5593L24.6221 12.9666V0.811279L37.0449 13.2371Z' fill='%23062043' stroke='%23062043' stroke-width='0.483328'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_7614_158329'%3E%3Crect width='425' height='77' fill='white' transform='translate(0 0.228271)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
}


/* A version built by AI Creator, shown live */
.AIW-PreviewLive {
	padding: 0;
	overflow: hidden;
	height: 300px;
}

.AIW-PreviewLive iframe {
	width: 100%;
	height: 100%;
	border: 0;
	background: #0a121c;
}

.AIP-BoxBar {
	flex-wrap: wrap;
}

.AIP-BoxBar .AIP-Price {
	white-space: nowrap;
}

.AIM-ButtonsLeft {
	justify-content: flex-start;
	margin-top: -4px;
}

/* ---------------------------------------------------------------------------
#3/#4: Connect your own AI from the start (X1) and Build your own in your Claude (X3-X7)
--------------------------------------------------------------------------- */

.AIX-Modal {
	width: 720px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.AIX-Modal .AIM-Head {
	margin-bottom: 0;
}

.AIX-Cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.AIX-Card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 16px;
	border: solid 1px var(--aip-border-default);
	border-radius: 12px;
	background: var(--aip-surface-base);
}

.AIX-CardHead {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
}

.AIX-CardIcon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: var(--aip-border-strong);
}

.AIX-CardIcon svg {
	width: 16px;
	height: 16px;
}

.AIX-Seg {
	margin: 0;
}

.AIX-Full {
	justify-content: center;
	width: 100%;
	margin-top: auto;
}

.AIX-Step {
	color: var(--aip-text-primary);
}

.AIX-Code {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 12px;
	border: solid 1px var(--aip-border-strong);
	border-radius: 8px;
	font-size: 16px;
	letter-spacing: 1px;
}

/* Connector address: long per-device URL, wraps instead of widening the window */
.AIX-Url {
	gap: 10px;
	margin: 6px 0;
	font-size: 12px;
	letter-spacing: 0;
}

.AIX-UrlText {
	min-width: 0;
	color: var(--aip-text-secondary);
	font-family: inherit;
}

.AIX-UrlText.AIX-HasUrl {
	color: var(--aip-text-primary);
	word-break: break-all;
	font-family: Consolas, Menlo, monospace;
	user-select: all;
}

.AIX-Url .AIX-CopyCode {
	flex: none;
}

.AIX-Note {
	color: var(--aip-text-faint);
	font-size: 11px;
}

.AIX-ReadyRow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 8px;
}

.AIX-Claude {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 8px;
	padding: 16px;
	border: solid 1px var(--aip-border-default);
	border-radius: 10px;
	background: var(--aip-surface-raised);
}

.AIX-ClaudeHead {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.AIX-ClaudeHead > span:first-child {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.AIX-ClaudeHead svg {
	width: 16px;
	height: 16px;
}

.AIX-ClaudeHead .AIW-Dim {
	font-size: 12px;
}

.AIX-Prompt {
	padding: 12px;
	border: solid 1px var(--aip-border-default);
	border-radius: 8px;
	background: var(--aip-surface-base);
	line-height: 18px;
}

.AIX-Fill {
	color: var(--aip-text-brand);
}

.AIX-WaitRow {
	display: flex;
	align-items: center;
	gap: 12px;
}

.AIX-Waiting {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--aip-text-brand);
}

.AIX-WaitRow .AIP-Link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.AIX-WaitRow .AIP-Link svg {
	width: 14px;
	height: 14px;
}

BODY.AIMobile .AIX-Cards {
	grid-template-columns: 1fr;
}

.AIX-Links {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: -4px;
}

.AIX-Links a.AIP-Link {
	text-decoration: none;
}

/* ---------------------------------------------------------------------------
Your own Claude (#5, Y1 to Y8): Ask your Claude instead of the composer
--------------------------------------------------------------------------- */

#AIPagePanel.AIP-ClaudeMode .AIP-Composer {
	display: none;
}

.AIP-ClaudeFoot:empty {
	display: none;
}

.AIP-ClaudeFoot {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.AIP-ClaudeCard {
	margin-top: 0;
}

.AIP-ClaudeApp {
	font-size: 12px;
	color: var(--aip-text-secondary);
}

.AIP-ClaudeIntro {
	color: var(--aip-text-secondary);
	margin: 16px 0 8px 0;
}

.AIP-CopyIcon svg {
	width: 14px;
	height: 14px;
	display: block;
	color: var(--aip-text-primary);
}

.AIX-WaitRow .AIP-Link svg {
	width: 14px;
	height: 14px;
}

.AIC-OwnDotDown {
	background: #fbb61b;
}

.AIC-ClaudeLinks {
	display: flex;
	gap: 16px;
}

.AIW-ClaudeCard {
	margin-top: auto;
}

.AIW-CodeNote {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
}

.AIW-CodeNote svg {
	width: 14px;
	height: 14px;
	flex: 0 0 auto;
	color: var(--aip-success);
}

/* Your page is ready: the second page, built together */
.AIR-Next {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 4px;
	padding-top: 12px;
	border-top: solid 1px var(--aip-border-default);
}

.AIR-NextPages {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

#AIReady .AIR-NextPage {
	all: unset;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 12px;
	border: solid 1px var(--aip-border-default);
	border-radius: 8px;
	cursor: pointer;
	color: var(--aip-text-primary);
	font-family: var(--font-family);
}

#AIReady .AIR-NextPage:hover {
	background: var(--aip-surface-hover);
}

.AIR-NextPage > span:last-child {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.AIR-NextPage .AIM-IconFA {
	width: 20px;
	text-align: center;
	color: var(--aip-text-brand);
}

.AIR-NextPage .AIW-Dim {
	font-size: 12px;
}

/* Onboarding section: the way into the Widgets library (ours and the community's),
   a light card so it is noticed next to the widget cards */
.AIO-More {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 12px;
	padding: 12px 12px 12px 14px;
	border: solid 1px rgba(61, 139, 255, 0.35);
	border-radius: 8px;
	background: rgba(7, 103, 246, 0.07);
	color: var(--aip-text-primary);
	font-size: 13px;
}

.AIO-More svg {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	color: var(--aip-text-brand);
}

.AIO-More > span {
	flex: 1 1 auto;
}

.AIO-More .AIP-Btn {
	flex: 0 0 auto;
}

/* Start (AI in the left menu): something new / change what you have */
.AIP-StartSecond {
	margin-top: 20px;
}

.AIP-StartDescribe {
	margin-top: 12px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.AIP-StartCurrent {
	color: var(--aip-text-brand);
	font-size: 12px;
}

/* Widgets library: Open as floating widget */
.AIW-Float {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.AIW-FloatIcon svg {
	width: 14px;
	height: 14px;
	display: block;
}

/* Add and Floating side by side, Make my version under them */
.AIW-CardBar {
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
}

.AIW-CardBar .AIW-Remix {
	flex-basis: 100%;
}

/* Your page is ready: skip the second page for now */
.AIR-Skip {
	display: flex;
	justify-content: center;
	margin-top: 4px;
}

#AIReady .AIR-SkipBtn {
	color: var(--aip-text-secondary);
}

#AIReady .AIR-SkipBtn:hover {
	color: var(--aip-text-primary);
}

/* ---------------------------------------------------------------------------
Connect your own AI: MCP (Claude / Codex) is the main way, the API key is
the other one, folded away
--------------------------------------------------------------------------- */

.AIX-Modal {
	width: 640px;
	max-width: calc(100vw - 32px);
}

.AIX-Hero {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 22px;
	border: solid 1px rgba(61, 139, 255, 0.45);
	border-radius: 14px;
	background:
		radial-gradient(120% 140% at 0% 0%, rgba(7, 103, 246, 0.22) 0%, rgba(7, 103, 246, 0) 55%),
		var(--aip-surface-raised);
	box-shadow: 0 0 0 1px rgba(7, 103, 246, 0.08), 0 18px 48px rgba(7, 103, 246, 0.16);
}

.AIX-HeroHead {
	display: flex;
	align-items: center;
	gap: 14px;
}

.AIX-HeroIcon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: linear-gradient(135deg, #3d8bff 0%, #0767f6 100%);
	color: #fff;
	box-shadow: 0 6px 18px rgba(7, 103, 246, 0.45);
}

.AIX-HeroIcon svg {
	width: 22px;
	height: 22px;
}

.AIX-HeroTitles {
	display: flex;
	flex-direction: column;
	gap: 3px;
	flex: 1 1 auto;
}

.AIX-HeroTitle {
	font-size: 18px;
	line-height: 22px;
	font-weight: 600;
	color: var(--aip-text-primary);
}

.AIX-HeroSub {
	color: var(--aip-text-secondary);
}

.AIX-Badge {
	flex: 0 0 auto;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--aip-brand-soft);
	color: var(--aip-text-brand);
	font-size: 12px;
	font-weight: 600;
}

.AIX-Benefits {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.AIX-Benefit {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 10px;
	border-radius: 999px;
	border: solid 1px var(--aip-border-default);
	background: rgba(255, 255, 255, 0.03);
	font-size: 12px;
	color: var(--aip-text-primary);
}

.AIX-Benefit svg {
	width: 13px;
	height: 13px;
	color: var(--aip-success);
}

.AIX-HeroStep {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 4px;
	color: var(--aip-text-primary);
	font-weight: 600;
}

.AIX-StepNum {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--aip-brand-soft);
	color: var(--aip-text-brand);
	font-size: 12px;
}

.AIX-HeroUrl {
	margin: 0;
	padding: 8px 8px 8px 14px;
	background: var(--aip-surface-base);
	border-color: var(--aip-border-strong);
}

.AIX-HeroUrl .AIX-CopyCode {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.AIX-HeroUrl .AIX-CopyCode svg {
	width: 14px;
	height: 14px;
}

.AIX-HeroLinks {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
}

.AIX-OpenClaude {
	text-decoration: none;
}

.AIX-Dim {
	color: var(--aip-text-secondary);
	font-size: 12px;
}

.AIX-HeroWait {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 10px;
	background: rgba(7, 103, 246, 0.08);
	color: var(--aip-text-brand);
}

.AIX-HeroWait .AIX-Simulate {
	font-size: 12px;
	color: var(--aip-text-secondary);
}

/* The API key, folded away */
.AIX-KeyBox {
	border: solid 1px var(--aip-border-default);
	border-radius: 12px;
	overflow: hidden;
}

.AIX-KeyToggle {
	all: unset;
	box-sizing: border-box;
	width: 100%;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	cursor: pointer;
	color: var(--aip-text-primary);
	font-family: var(--font-family);
}

.AIX-KeyToggle:hover {
	background: var(--aip-surface-hover);
}

.AIX-KeyToggleText {
	display: flex;
	flex-direction: column;
	gap: 2px;
	flex: 1 1 auto;
}

.AIX-Chevron {
	color: var(--aip-text-secondary);
	font-size: 18px;
	transition: transform 0.15s;
}

.AIX-KeyOpen .AIX-Chevron {
	transform: rotate(90deg);
}

.AIX-KeyForm {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 0 14px 14px 14px;
}

.AIX-KeyRow {
	display: flex;
	gap: 8px;
}

.AIX-KeyRow .AIM-Input {
	flex: 1 1 auto;
	min-width: 0;
}

/* ---------------------------------------------------------------------------
AI panel v2 (#16, #17, #21, #28, #30, #34): surface/base, border/default,
radius 12, padding 20, shadow. Empty, content at the bottom by the composer.
--------------------------------------------------------------------------- */

#AIPagePanel {
	background: var(--aip-surface-base);
	border-color: var(--aip-border-default);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.AIP-Composer {
	border-color: var(--aip-border-default);
	background: var(--aip-surface-raised);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.AIP-Grow {
	flex: 1 1 auto;
	margin-bottom: -16px;
}

.AIP-HeadTitleBtn {
	all: unset;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
	cursor: default;	/* just the chat name, no chat list here */
	color: var(--aip-text-primary);
}

.AIP-HeadTitleBtn .AIP-HeadTitle {
	flex: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 240px;
}

.AIP-HeadTitleBtn svg {
	width: 14px;
	height: 14px;
	color: var(--aip-text-secondary);
}

.AIP-HeadBtn {
	all: unset;
	box-sizing: border-box;
	width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	color: var(--aip-text-secondary);
	cursor: pointer;
}

.AIP-HeadBtn svg {
	width: 14px;
	height: 14px;
}

.AIP-HeadBtn:hover {
	background: var(--aip-surface-hover);
	color: var(--aip-text-primary);
}

.AIP-Home {
	gap: 10px;
}

.AIP-Home .AIP-AIIndent + .AIP-AIText {
	margin-top: 2px;
}

/* Chips (#10): height 28, radius 8, border/default, icon 14 text/secondary */
.AIP-Chip2 {
	all: unset;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 28px;
	padding: 4px 10px;
	border: solid 1px var(--aip-border-default);
	border-radius: 8px;
	color: var(--aip-text-primary);
	font-size: 13px;
	line-height: 16px;
	cursor: pointer;
}

.AIP-Chip2:hover {
	background: var(--aip-surface-hover);
	border-color: var(--aip-border-strong);
}

.AIP-Chip2Selected {
	border-color: var(--aip-primary);
	background: var(--aip-brand-soft);
}

.AIP-Chip2Icon svg {
	width: 14px;
	height: 14px;
	display: block;
	color: var(--aip-text-secondary);
}

.AIP-Chips {
	gap: 6px;
}

.AIP-ChipFoot {
	color: var(--aip-text-secondary);
	font-size: 12px;
}

.AIP-ChipFoot .AIP-InlineLink {
	color: var(--aip-text-brand);
}

/* Focus chip inside the composer, like an attachment (#16) */
.AIP-FocusSlot:empty {
	display: none;
}

.AIP-FocusChip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 26px;
	padding: 0 6px 0 8px;
	border: solid 1px var(--aip-primary);
	border-radius: 8px;
	background: var(--aip-brand-soft);
	color: var(--aip-text-primary);
	font-size: 12px;
	white-space: nowrap;
	max-width: 220px;
}

.AIP-FocusChip > span {
	overflow: hidden;
	text-overflow: ellipsis;
}

.AIP-FocusChip svg {
	width: 14px;
	height: 14px;
	color: var(--aip-text-secondary);
}

.AIP-FocusX {
	all: unset;
	display: inline-flex;
	cursor: pointer;
	color: var(--aip-text-secondary);
}

.AIP-FocusX svg {
	width: 12px;
	height: 12px;
}

.AIP-FocusX:hover {
	color: var(--aip-text-primary);
}

/* List of chats under the chat's name (#28) */
#AIChatList {
	position: fixed;
	z-index: 2000;
	width: 280px;
	padding: 6px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	background: #0a121c;
	border: solid 1px var(--aip-border-default);
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
	font-family: var(--font-family);
	font-size: 13px;
	color: var(--aip-text-primary);
}

.AIC-Item {
	all: unset;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	border-radius: 8px;
	cursor: pointer;
}

.AIC-Item:hover, .AIC-Current {
	background: var(--aip-surface-hover);
}

.AIC-Item svg {
	width: 14px;
	height: 14px;
	color: var(--aip-text-secondary);
}

.AIC-Title {
	flex: 1;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.AIC-Time, .AIC-Label {
	color: var(--aip-text-faint);
	font-size: 11px;
}

.AIC-Label {
	padding: 8px 10px 4px 10px;
}

.AIC-All {
	justify-content: space-between;
	color: var(--aip-text-brand);
}

/* "Chart updated" card (U3) */
.AIP-ChartCard, .AIP-Order {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 12px;
	border: solid 1px var(--aip-border-default);
	border-radius: 12px;
	background: var(--aip-surface-raised);
}

.AIP-ChartCardHead, .AIP-ChartRow {
	display: flex;
	align-items: center;
	gap: 8px;
}

.AIP-ChartCardOk svg {
	width: 16px;
	height: 16px;
	display: block;
	color: var(--aip-success);
}

.AIP-ChartCardUndone .AIP-ChartCardOk svg {
	color: var(--aip-text-secondary);
}

.AIP-ChartRowIcon svg {
	width: 14px;
	height: 14px;
	display: block;
	color: var(--aip-text-secondary);
}

.AIP-ChartRowRemoved .AIP-ChartRowName {
	text-decoration: line-through;
	color: var(--aip-text-secondary);
}

.AIP-BtnSmall {
	height: 26px;
	padding: 0 10px;
	border-color: var(--aip-border-default);
}

.AIP-IconBtn {
	all: unset;
	box-sizing: border-box;
	width: 26px;
	height: 26px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: solid 1px var(--aip-border-default);
	border-radius: 8px;
	color: var(--aip-text-secondary);
	cursor: pointer;
}

.AIP-IconBtn svg {
	width: 14px;
	height: 14px;
}

.AIP-IconBtn:hover {
	color: var(--aip-text-primary);
	background: var(--aip-surface-hover);
}

/* Order ready (U5): AI only prepares it */
.AIP-OrderHead {
	color: var(--aip-text-brand);
	font-size: 12px;
}

.AIP-OrderRow {
	display: flex;
	justify-content: space-between;
	color: var(--aip-text-secondary);
}

.AIP-OrderRow span:last-child {
	color: var(--aip-text-primary);
}

.AIP-OrderNote {
	color: var(--aip-text-secondary);
	font-size: 12px;
}

.AIP-OrderBar {
	display: flex;
	gap: 8px;
}

.AIP-OrderConfirm {
	flex: 1;
	justify-content: center;
}

.AIP-OrderDone {
	color: var(--aip-text-secondary);
}

/* Section fill (#19): "Fill both for me" is a text link with the AI icon */
.AIP-LinkAI {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

/* ---------------------------------------------------------------------------
Welcome with three tiles (#20)
--------------------------------------------------------------------------- */

.AIO-Inner3 {
	width: 760px;
	align-items: center;
	text-align: center;
}

.AIO-Inner3 .AIO-Brand {
	justify-content: center;
}

.AIO-TitleBig {
	font-size: 36px;
	line-height: 44px;
	font-weight: 500;
}

.AIO-Choices3 {
	grid-template-columns: repeat(3, 1fr);
	width: 100%;
	margin-top: 24px;
	text-align: left;
}

.AIO-Choice3 .AIO-ChoiceTitle {
	font-size: 14px !important;
}

.AIO-Inner3 .AIO-Bar {
	width: 100%;
}

.AIO-ArtPick {
	position: absolute;
	inset: 8px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
}

.AIO-ArtPick span {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	border-radius: 6px;
	background: var(--aip-surface-raised);
	color: var(--aip-text-secondary);
	font-size: 11px;
}

.AIO-ArtPick svg {
	width: 14px;
	height: 14px;
}

.AIO-ArtPick i {
	font-style: normal;
}

.AIO-ArtAI {
	position: absolute;
	inset: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: dashed 1px var(--aip-primary);
	border-radius: 6px;
}

/* ---------------------------------------------------------------------------
Pick it step by step (#36, #37): D1 to D5-2
--------------------------------------------------------------------------- */

.AIO-Section-d1 {
	background: var(--aip-surface-raised);
}

.AIO-PickInner {
	padding: 24px;
	min-height: calc(100% - 48px);
}

.AIO-PickCentre {
	margin: auto;
	width: 100%;
	max-width: 440px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	text-align: center;
}

.AIO-PickTitle {
	font-size: 20px;
	line-height: 26px;
}

.AIO-PickGrid {
	width: 100%;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
	margin-top: 8px;
}

.AIO-PickTile {
	all: unset;
	box-sizing: border-box;
	height: 68px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	border: solid 1px var(--aip-border-default);
	border-radius: 8px;
	cursor: pointer;
	font-size: 12px;
}

.AIO-PickTile:hover {
	background: var(--aip-surface-hover);
	border-color: var(--aip-border-strong);
}

.AIO-PickTile svg {
	width: 16px;
	height: 16px;
	color: var(--aip-text-secondary);
}

.AIO-PickAsk {
	width: 100%;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 6px 6px 12px;
	border: solid 1px var(--aip-border-default);
	border-radius: 10px;
	background: var(--aip-surface-base);
}

.AIO-PickAsk input {
	all: unset;
	flex: 1;
	min-width: 0;
	text-align: left;
	color: var(--aip-text-primary);
	font-size: 13px;
}

.AIO-PickAsk .AIW-Credits {
	white-space: nowrap;
}

.AIO-Section-add {
	border: dashed 1px var(--aip-border-strong);
	background: var(--aip-surface-canvas);
}

.AIO-AddSlot {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	cursor: pointer;
	text-align: center;
}

.AIO-AddSlot:hover {
	background: rgba(7, 103, 246, 0.05);
}

.AIO-AddPlus svg {
	width: 16px;
	height: 16px;
	color: var(--aip-text-secondary);
}

.AIO-AddTitle {
	font-size: 13px;
}

.AIO-Done {
	margin-top: 12px;
}

.AIO-Arrange {
	position: fixed;
	z-index: 750;
	box-sizing: border-box;
	padding: 24px;
	display: flex;
	flex-direction: column;
	border: solid 1px var(--aip-primary);
	border-radius: 8px;
	background: var(--aip-surface-raised);
	font-family: var(--font-family);
	font-size: 13px;
	line-height: 16px;
	color: var(--aip-text-primary);
}

.AIO-Arrange button {
	font-family: var(--font-family);
}

.AIO-Arrange .AIO-PickCentre {
	max-width: 680px;
}

.AIO-ArrangeOpts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	width: 100%;
	margin: 8px 0;
}

.AIO-ArrangeOpt {
	all: unset;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 10px;
	border: solid 1px var(--aip-border-default);
	border-radius: 10px;
	text-align: left;
	cursor: pointer;
}

.AIO-ArrangeOptSel {
	border-color: var(--aip-primary);
	background: var(--aip-brand-soft);
}

.AIO-Thumb {
	position: relative;
	height: 96px;
	margin-bottom: 4px;
}

.AIO-Thumb div {
	position: absolute;
	box-sizing: border-box;
	border: solid 2px transparent;
	background-clip: padding-box;
}

.AIO-Thumb div span {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	background: #2a313b;
	color: var(--aip-text-secondary);
	font-size: 10px;
}

.AIO-ArrangeName {
	font-size: 13px;
}

/* Built live (#13) */
.AIO-BuildBar {
	height: 3px;
	border-radius: 2px;
	background: var(--aip-border-default);
	overflow: hidden;
}

.AIO-BuildBar i {
	display: block;
	height: 100%;
	background: var(--aip-primary);
	transition: width 0.6s;
}

.AIO-Section-building > .AIO-BuildBar {
	border-radius: 0;
}

.AIO-LivePreview {
	padding: 12px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.AIO-LiveRow {
	display: flex;
	gap: 12px;
	height: 22px;
	align-items: center;
}

.AIO-LiveRow i {
	flex: 1;
	height: 8px;
	border-radius: 4px;
	background: #1e2631;
}

.AIO-LiveToolbar i {
	flex: 0 0 72px;
}

.AIO-LiveHead i {
	background: #161d27;
}

.AIO-LiveFaint {
	opacity: 0.4;
}

.AIO-LiveNew {
	height: 30px;
	padding: 0 10px;
	border: dashed 1px var(--aip-primary);
	border-radius: 6px;
	background: rgba(251, 182, 27, 0.08);
	color: var(--aip-warning);
	font-size: 12px;
}

.AIO-Pct {
	color: var(--aip-text-secondary);
	font-size: 12px;
}

.AIO-BuildFoot {
	color: var(--aip-text-faint);
	font-size: 12px;
}

/* ---------------------------------------------------------------------------
Big chat (#25, #28, CH1 to CH3, CHn, CHr, E2x)
--------------------------------------------------------------------------- */

BODY.AIBigOpen #AIPagePanel {
	visibility: hidden;
}

BODY.AIBigHidden #AIBigChat {
	display: none !important;
}

#AIBigChat {
	position: fixed;
	z-index: 950;
	left: var(--ai-pc-left, 56px);
	top: var(--ai-top, 60px);
	right: 0;
	bottom: 0;
	display: none;
	background: var(--aip-surface-canvas);
	font-family: var(--font-family);
	font-size: 13px;
	line-height: 18px;
	color: var(--aip-text-primary);
}

BODY.AIBigOpen #AIBigChat {
	display: flex;
}

#AIBigChat button, #AIBigChat textarea, #AIBigChat select {
	font-family: var(--font-family);
}

.BC-List {
	flex: 0 0 240px;
	box-sizing: border-box;
	padding: 16px 12px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	border-right: solid 1px var(--aip-border-default);
	overflow-y: auto;
}

.BC-ListHead {
	display: flex;
	gap: 8px;
	margin-bottom: 12px;
}

.BC-NewChat {
	all: unset;
	flex: 1;
	display: flex;
	align-items: center;
	gap: 8px;
	height: 32px;
	padding: 0 12px;
	border: solid 1px var(--aip-border-default);
	border-radius: 8px;
	cursor: pointer;
}

.BC-NewChat svg, .BC-IconBtn svg {
	width: 14px;
	height: 14px;
}

.BC-IconBtn {
	all: unset;
	box-sizing: border-box;
	width: 32px;
	height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	color: var(--aip-text-secondary);
	cursor: pointer;
}

.BC-IconBtn:hover, .BC-NewChat:hover {
	background: var(--aip-surface-hover);
	color: var(--aip-text-primary);
}

.BC-ListLabel {
	color: var(--aip-text-faint);
	font-size: 12px;
	padding: 4px 8px;
}

/* A chat in the list: its name, and a bin to delete it on hover */
.BC-ChatRow {
	display: flex;
	align-items: center;
	border-radius: 6px;
}

.BC-ChatRow:hover {
	background: var(--aip-surface-hover);
}

.BC-ChatItem {
	all: unset;
	flex: 1 1 auto;
	min-width: 0;
	padding: 6px 8px;
	color: var(--aip-text-secondary);
	cursor: pointer;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.BC-ChatDel {
	all: unset;
	flex: none;
	width: 24px;
	height: 24px;
	margin-inline-end: 4px;
	display: none;
	align-items: center;
	justify-content: center;
	border-radius: 6px;
	color: var(--aip-text-faint);
	cursor: pointer;
}

.BC-ChatDel svg {
	width: 14px;
	height: 14px;
}

.BC-ChatRow:hover .BC-ChatDel {
	display: inline-flex;
}

.BC-ChatDel:hover {
	color: var(--aip-text-primary);
}

.BC-ChatCurrent, .BC-ChatCurrent:hover {
	background: var(--aip-brand-soft);
}

.BC-ChatCurrent .BC-ChatItem {
	color: var(--aip-text-primary);
}

.BC-Main {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.BC-Head {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 16px 24px 8px 24px;
}

.BC-Title {
	font-size: 15px;
}

.BC-Thread {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 8px 24px;
}

.BC-ThreadInner {
	max-width: 720px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.BC-Foot {
	padding: 8px 24px 12px 24px;
}

.BC-Foot .BC-Composer {
	max-width: 720px;
	margin: 0 auto;
}

.BC-Composer {
	width: 100%;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 14px 14px 10px 14px;
	border: solid 1px var(--aip-border-default);
	border-radius: 12px;
	background: var(--aip-surface-raised);
}

.BC-Composer:focus-within {
	border-color: var(--aip-primary);
}

.BC-Input {
	all: unset;
	min-height: 44px;
	color: var(--aip-text-primary);
	font-size: 13px;
	line-height: 18px;
	white-space: pre-wrap;
	text-align: left;
}

.BC-Input::placeholder {
	color: var(--aip-text-secondary);
}

.BC-Note {
	text-align: center;
	color: var(--aip-text-faint);
	font-size: 12px;
	margin-top: 8px;
}

.BC-Welcome {
	margin: auto;
	width: 100%;
	max-width: 512px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	text-align: center;
}

.BC-WelcomeIcon svg {
	width: 28px;
	height: 28px;
	color: var(--aip-text-primary);
}

.BC-WelcomeTitle {
	font-size: 28px;
	line-height: 36px;
}

.BC-Welcome .BC-Composer {
	margin-top: 24px;
}

.BC-WelcomeChips {
	justify-content: center;
}

.BC-Arts {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.BC-ArtCard {
	all: unset;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border: solid 1px var(--aip-border-default);
	border-radius: 8px;
	background: var(--aip-surface-base);
	cursor: pointer;
}

.BC-ArtCard:hover {
	border-color: var(--aip-border-strong);
}

.BC-ArtOpen {
	border-color: var(--aip-primary);
	background: var(--aip-brand-soft);
}

.BC-ArtIcon {
	width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: solid 1px var(--aip-border-default);
	border-radius: 6px;
	flex: none;
}

.BC-ArtIcon svg {
	width: 14px;
	height: 14px;
	color: var(--aip-text-secondary);
}

.BC-ArtAct {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--aip-text-brand);
	font-size: 12px;
}

.BC-ArtAct svg {
	width: 12px;
	height: 12px;
}

.BC-Art {
	flex: 0 0 560px;
	box-sizing: border-box;
	padding: 16px 16px 12px 16px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	border-left: solid 1px var(--aip-border-default);
	background: var(--aip-surface-base);
	overflow-y: auto;
}

.BC-ArtHead {
	display: flex;
	align-items: center;
	gap: 8px;
}

.BC-ArtHead .BC-ArtIcon {
	border: 0;
	width: 18px;
}

.BC-ArtName {
	font-size: 14px;
}

.BC-Version, .BC-VersionTag {
	height: 24px;
	padding: 0 6px;
	border: solid 1px var(--aip-border-default);
	border-radius: 6px;
	background: transparent;
	color: var(--aip-text-secondary);
	font-size: 12px;
	display: inline-flex;
	align-items: center;
}

.BC-Version option {
	background: #0a121c;
}

.AIP-BtnSmall svg {
	width: 12px;
	height: 12px;
}

.BC-Plan {
	position: relative;
	height: 320px;
	border: solid 1px var(--aip-border-default);
	border-radius: 8px;
	background: var(--aip-surface-canvas);
	padding: 4px;
}

.BC-PreviewClick {
	cursor: pointer;
}

.BC-PlanCell {
	position: absolute;
	box-sizing: border-box;
	border: solid 3px var(--aip-surface-canvas);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	background: #0f1822;
	background-clip: padding-box;
	border-radius: 8px;
	color: var(--aip-text-secondary);
	font-size: 12px;
}

.BC-PlanNow {
	outline: solid 1px var(--aip-primary);
	outline-offset: -3px;
}

.BC-PlanIcon svg {
	width: 18px;
	height: 18px;
}

.BC-Guard {
	display: flex;
	gap: 12px;
	padding: 16px;
	border: solid 1px var(--aip-border-default);
	border-radius: 8px;
}

.BC-GuardIcon svg {
	width: 20px;
	height: 20px;
	color: var(--aip-warning);
}

.BC-ArtFoot {
	margin-top: auto;
	display: flex;
	align-items: center;
	gap: 8px;
}

.BC-Added {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--aip-success);
}

.BC-Added svg {
	width: 14px;
	height: 14px;
}

#AIPreviewBar {
	position: fixed;
	z-index: 960;
	left: 50%;
	bottom: 24px;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 8px 8px 16px;
	border: solid 1px var(--aip-border-default);
	border-radius: 12px;
	background: var(--aip-surface-base);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
	font-family: var(--font-family);
	font-size: 13px;
	color: var(--aip-text-primary);
	white-space: nowrap;
}

#AIPreviewBar button {
	font-family: var(--font-family);
}

/* ---------------------------------------------------------------------------
#9: icons always have a 1 px stroke, whatever their size
#29: surface/popover in Platform NEW = #0A121C (as surface/base); a popover is
told apart by border/default and its shadow, not by a lighter fill
#30: the main border is border/default (border/strong only on hover of fields)
--------------------------------------------------------------------------- */

:root {
	--aip-surface-popover: #0a121c;
}

#AIPagePanel svg *, #AIBigChat svg *, #AIWelcome svg *, .AIO-Section svg *, .AIO-Arrange svg *,
#AIModalOverlay svg *, #AIChatList svg *, #AIToast svg *, #AIReadyOverlay svg *, #AIPreviewBar svg * {
	vector-effect: non-scaling-stroke;
	stroke-width: 1px;
}

/* The mini chart art is drawn with fills, not strokes */
.AIO-ArtChart svg * {
	stroke-width: 0;
}

.AIM-Modal, #AIReady, #AIToast, #AIChatList {
	background: var(--aip-surface-popover);
	border-color: var(--aip-border-default);
}

.AIP-Btn {
	border-color: var(--aip-border-default);
}

.AIP-Btn:hover {
	border-color: var(--aip-border-strong);
}

/* Pick it step by step: the same background as the top bar and the left menu
   (the platform's window background), not a lighter panel colour */
.AIO-Section-d1, .AIO-Section-add, .AIO-Arrange {
	background: var(--clr-base-window-background, #0a121c);
}

/* The "Add another section" slot is the next step: outlined in blue like an active section */
.AIO-Section-add {
	border: solid 1px var(--aip-primary);
}

.AIO-Section-add .AIO-AddPlus svg {
	color: var(--aip-text-brand);
}

/* Big chat artifact: switch the page's layout (side by side, one under the other...) */
.BC-Layouts {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.BC-LayoutOpt {
	all: unset;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 36px;
	padding: 0 10px 0 6px;
	border: solid 1px var(--aip-border-default);
	border-radius: 8px;
	cursor: pointer;
	font-size: 12px;
}

.BC-LayoutOpt:hover {
	border-color: var(--aip-border-strong);
}

.BC-LayoutOptSel {
	border-color: var(--aip-primary);
	background: var(--aip-brand-soft);
}

.BC-LayoutOpt .FXBAI-Thumb {
	position: relative;
	width: 36px;
	height: 24px;
}

/* Pick it step by step, as in Figma D1 (882:55607): tiles 147 x 68 in a 612 px grid,
   title 24/32 Medium, the AI Composer (Hero) 612 x 48: surface/raised, border/strong,
   radius 12, AI icon 16, placeholder 13 text/faint, credits 11, send 32 */
.AIO-PickCentre {
	max-width: 612px;
	gap: 14px;
}

.AIO-PickTitle {
	font-size: 24px;
	line-height: 32px;
	font-weight: 500;
}

.AIO-PickCentre > .AIW-Dim {
	margin-top: -6px;
}

.AIO-PickGrid {
	width: 612px;
	max-width: 100%;
	grid-template-columns: repeat(4, 1fr);
	margin-top: 6px;
}

.AIO-PickTile {
	border-color: var(--aip-border-strong);
	font-size: 13px;
}

.AIO-PickTile svg {
	width: 20px;
	height: 20px;
	color: var(--aip-text-primary);
}

.AIO-AllWidgets {
	font-size: 13px;
}

.AIO-PickAsk {
	width: 612px;
	max-width: 100%;
	height: 48px;
	gap: 12px;
	padding: 0 8px 0 12px;
	border: solid 1px var(--aip-border-strong);
	border-radius: 12px;
	background: var(--aip-surface-raised);
}

.AIO-PickAskIcon svg {
	width: 16px;
	height: 16px;
	display: block;
	color: var(--aip-text-brand);
}

/* The platform styles every input: none of that here, it is plain text in the composer */
.AIO-PickAsk input.AIO-PickAskInput,
.AIO-PickAsk input.AIO-PickAskInput:focus {
	all: unset;
	flex: 1 1 auto;
	min-width: 0;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	outline: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	color: var(--aip-text-primary) !important;
	font-family: var(--font-family) !important;
	font-size: 13px !important;
	text-align: left;
}

.AIO-PickAsk input.AIO-PickAskInput::placeholder {
	color: var(--aip-text-faint);
	opacity: 1;
}

.AIO-PickAsk:focus-within {
	border-color: var(--aip-primary);
}

.AIO-PickAskCredits {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	flex: none;
	white-space: nowrap;
	color: var(--aip-text-secondary);
	font-size: 11px;
}

.AIO-PickAskCredits svg {
	width: 12px;
	height: 12px;
}

/* CH1 / CHn: the field wider, the chips in one row under it */
.BC-Welcome {
	max-width: 720px;
}

.BC-WelcomeChips {
	flex-wrap: nowrap;
	white-space: nowrap;
}

/* A new user: the pages stay hidden behind the welcome until a way in is picked */
HTML.AIOnbPending #PageContainer {
	visibility: hidden !important;
}

/* The same gap under the top bar as the page has */
#AIPagePanel {
	top: calc(var(--ai-top, 60px) + 16px);
}

/* The welcome never wider than its column (the list and the page panel take space) */
.BC-Welcome {
	box-sizing: border-box;
	width: 100%;
	max-width: 720px;
}

.BC-WelcomeChips {
	flex-wrap: wrap;
}

.BC-WelcomeChips .AIP-Chip2 {
	white-space: nowrap;
}

.BC-Main {
	overflow: hidden;
}

/* Big chat: drag a part onto another one to swap them */
.BC-PlanCell {
	cursor: grab;
}

.BC-PlanDrop {
	outline: dashed 1px var(--aip-primary);
	outline-offset: -3px;
	background-color: rgba(7, 103, 246, 0.12);
}

.BC-SwapRow {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 8px;
	font-size: 12px;
}

.BC-SwapRow .AIP-Btn svg {
	width: 12px;
	height: 12px;
}

/* Tour images: their own rounded corners have a light edge in the export; clip it off */
.AIT-Img {
	clip-path: inset(1px round 18px);
	border-radius: 18px;
}

/* "Open full chat" written out next to its icon */
.AIP-Expand {
	width: auto;
	gap: 6px;
	padding: 0 8px;
	font-size: 12px;
	white-space: nowrap;
}

/* Back to the full agent: only in a chat that came from it */
.AIP-ToAgent { display: none; }
#AIPagePanel.AIP-FromAgent .AIP-ToAgent { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; }

/* Your page is ready: no summary line and no divider above Next step */
#AIReady .AIR-Next {
	border-top: 0;
	padding-top: 0;
	margin-top: 0;
}

/* The panel lines up with the page's widgets (top, bottom, corners), with a 1 px border */
#AIPagePanel {
	top: var(--ai-panel-top, calc(var(--ai-top, 60px) + 8px));
	bottom: var(--ai-panel-bottom, 8px);
	border-radius: var(--ai-panel-radius, 8px);
	box-shadow: none;
}

/* Tour: the image keeps its whole picture (never squeezed by a short window); the modal is
   only as wide as the window's height lets the picture be shown whole */
.AIT-Modal {
	width: min(840px, calc(100vw - 32px), calc((100vh - 260px) * 1.6 + 48px));
}

.AIT-Img {
	flex: none;
	height: auto;
	aspect-ratio: 1584 / 990;
}

/* The big chat opened from the panel: the page's question and chips sit at the bottom, by the field */
.BC-ThreadBottom {
	min-height: 100%;
	justify-content: flex-end;
}

/* Wider panel: about half of the page area; the page stays next to it, narrower */
BODY.AIPanelOpen.AIPanelWide #PageContainer {
	width: calc(var(--ai-pc-width, 100%) - var(--ai-panel-w, 400px) - 8px) !important;
}

BODY.AIPanelWide #AIPagePanel {
	width: var(--ai-panel-w, 400px);
}

BODY.AIPanelWide .AIP-Body, BODY.AIPanelWide .AIP-Footer {
	padding-left: max(20px, calc((100% - 720px) / 2));
	padding-right: max(20px, calc((100% - 720px) / 2));
}

/* Your own version built right in the chat: progress and steps */
.AIP-BuildCard {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 12px;
	border: solid 1px var(--aip-primary);
	border-radius: 12px;
	background: var(--aip-surface-raised);
}

/* Full agent: a button in the composer (Figma P1 · Panel: Full agent button in the field) */
.AIP-FullAgent {
	all: unset;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 28px;
	padding: 0 8px;
	border: solid 1px var(--aip-border-default);
	border-radius: 8px;
	color: var(--aip-text-primary);
	font-size: 13px;
	line-height: normal;
	white-space: nowrap;
	flex-shrink: 0;
	cursor: pointer;
}
.AIP-FullAgent:hover { background: var(--aip-surface-hover); }
.AIP-FullAgent > svg { width: 14px; height: 14px; flex-shrink: 0; }
.AIP-FullAgent > img { display: block; flex-shrink: 0; }

/* #40: 1 px lines on icons drawn in place */
.AIStroke1 * { vector-effect: non-scaling-stroke; }

/* ===========================================================================
#39 Sharing (Figma 5b 967:55900): the menu next to the left bar and the share window
=========================================================================== */

.SH-Ic {
	display: inline-block;
	flex: 0 0 auto;
	background: currentColor;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}

.SH-Flip {
	transform: scaleX(-1);
}

/* The menu (SH1, SH2, SH5, SH6): surface/popover, border/default, radius 8, Shadow/Overlay */
#AIShareMenu {
	position: fixed;
	z-index: 9050;
	box-sizing: border-box;
	width: 300px;
	padding: 4px;
	display: flex;
	flex-direction: column;
	background: var(--aip-surface-popover);
	border: solid 1px var(--aip-border-default);
	border-radius: 8px;
	box-shadow: 0 4px 8px -2px rgba(0, 0, 0, 0.3), 0 12px 32px -4px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.2);
	font-family: var(--font-family);
	color: var(--aip-text-primary);
	outline: none;
}

.SH-MenuHead {
	padding: 8px 10px 6px 10px;
	font-size: 12px;
	line-height: normal;
	color: var(--aip-text-secondary);
}

.SH-Item, .SH-Back {
	all: unset;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 8px 8px 8px 10px;
	border-radius: 8px;
	cursor: pointer;
	color: var(--aip-text-primary);
	font-family: var(--font-family);
}

.SH-Item:hover, .SH-ItemCurrent {
	background: var(--aip-surface-hover);
}

.SH-Item > .SH-Ic:last-child {
	color: var(--aip-text-faint);
}

.SH-ItemText {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
	line-height: normal;
}

.SH-ItemTitle {
	font-size: 13px;
}

.SH-ItemSub {
	font-size: 12px;
	color: var(--aip-text-faint);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.SH-Back {
	gap: 6px;
	font-size: 13px;
	border-bottom: solid 1px var(--aip-border-default);
	border-radius: 8px 8px 0 0;
	margin-bottom: 4px;
	padding: 10px;
}

.SH-Back .SH-Ic {
	color: var(--aip-text-secondary);
}

.SH-Note, .SH-Empty {
	padding: 6px 10px 8px 10px;
	font-size: 12px;
	line-height: 15px;
	color: var(--aip-text-faint);
}

/* The window (SH3, S1, SH7, SH9): 600 wide, padding 24, gap 16 */
.SH-Modal {
	width: 600px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	border-radius: 12px;
	font-size: 13px;
	line-height: normal;
}

.SH-Modal .SH-Note {
	padding: 0;
	color: var(--aip-text-secondary);
}

.SH-Head {
	display: flex;
	align-items: center;
	font-size: 14px;
	color: var(--aip-text-primary);
}

.SH-Head > span {
	flex: 1;
}

.SH-Close, .SH-Copy {
	all: unset;
	box-sizing: border-box;
	width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: solid 1px var(--aip-border-default);
	border-radius: 8px;
	cursor: pointer;
	color: var(--aip-text-secondary);
}

.SH-Close:hover, .SH-Copy:hover {
	background: var(--aip-surface-hover);
	color: var(--aip-text-primary);
}

.SH-Top {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.SH-Preview {
	position: relative;
	flex: 0 0 auto;
	width: 200px;
	height: 130px;
	box-sizing: border-box;
	border: solid 1px var(--aip-border-default);
	border-radius: 8px;
	overflow: hidden;
	background: var(--aip-surface-base);
}

.SH-Preview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top left;
	display: block;
}

.SH-Page {
	position: absolute;
	inset: 6px;
}

.SH-Cell {
	position: absolute;
	box-sizing: border-box;
	border: solid 2px transparent;
	background-clip: padding-box;
	background-color: var(--aip-surface-hover);
	border-radius: 5px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	color: var(--aip-text-secondary);
	font-size: 10px;
	text-align: center;
	overflow: hidden;
}

.SH-Cell svg {
	width: 14px;
	height: 14px;
}

.SH-Chart {
	width: 100%;
	height: 100%;
	display: block;
}

.SH-Glyph {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--aip-text-secondary);
}

.SH-Glyph svg {
	width: 32px;
	height: 32px;
}

.SH-Fields {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.SH-Field {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.SH-Field > span:first-child {
	font-size: 10px;
	color: var(--aip-text-secondary);
}

.SH-Field > em {
	font-style: normal;
	font-size: 12px;
	color: var(--aip-text-secondary);
}

.SH-Input {
	box-sizing: border-box;
	width: 100%;
	padding: 8px 12px;
	border: solid 1px var(--aip-border-strong);
	border-radius: 8px;
	background: var(--aip-surface-base);
	color: var(--aip-text-primary);
	font-family: var(--font-family);
	font-size: 13px;
	line-height: normal;
	outline: none;
}

.SH-Input:focus {
	border-color: var(--aip-primary);
}

.SH-Desc {
	resize: none;
	min-height: 50px;
	line-height: 16px;
}

.SH-Select {
	position: relative;
	display: block;
}

.SH-Select select {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 32px;
	cursor: pointer;
}

.SH-Select .SH-Ic {
	position: absolute;
	right: 12px;
	top: 50%;
	margin-top: -7px;
	color: var(--aip-text-secondary);
	pointer-events: none;
}

.SH-Shares {
	gap: 8px;
}

.SH-Line {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 12px;
	line-height: 15px;
	color: var(--aip-text-secondary);
}

.SH-Line .SH-Ic, .SH-Line svg {
	width: 14px;
	height: 14px;
	flex: 0 0 auto;
}

.SH-How {
	gap: 6px;
}

.SH-Methods {
	display: flex;
	gap: 4px;
	padding: 4px;
	border-radius: 8px;
	background: var(--aip-surface-base);
}

.SH-Method {
	all: unset;
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 10px 0;
	border-radius: 6px;
	cursor: pointer;
	color: var(--aip-text-secondary);
	font-family: var(--font-family);
	font-size: 13px;
	line-height: normal;
}

.SH-Method:hover {
	color: var(--aip-text-primary);
}

.SH-MethodOn {
	background: var(--aip-surface-hover);
	color: var(--aip-text-primary);
}

.SH-MethodText {
	font-size: 12px;
	color: var(--aip-text-faint);
}

/* Platform / Checkbox: 16 px box, radius 5, on = action/primary with a 1 px tick */
.SH-Check {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	align-self: flex-start;
	cursor: pointer;
	color: var(--aip-text-primary);
}

.SH-Check input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.SH-Box {
	box-sizing: border-box;
	width: 16px;
	height: 16px;
	border-radius: 5px;
	border: solid 1px var(--aip-border-strong);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: transparent;
}

.SH-Check input:checked + .SH-Box {
	background: var(--aip-primary);
	border-color: var(--aip-primary);
	color: #fff;
}

.SH-Foot {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
}

.SH-Btn {
	all: unset;
	box-sizing: border-box;
	height: 31px;
	padding: 0 16px;
	display: inline-flex;
	align-items: center;
	border: solid 1px var(--aip-border-default);
	border-radius: 8px;
	cursor: pointer;
	color: var(--aip-text-primary);
	font-family: var(--font-family);
	font-size: 13px;
}

.SH-Btn:hover {
	background: var(--aip-surface-hover);
}

.SH-BtnPrimary {
	background: var(--aip-primary);
	border-color: var(--aip-primary);
	color: #fff;
}

.SH-BtnPrimary:hover {
	background: var(--aip-primary);
	filter: brightness(1.1);
}

/* Done (SH4, SH8) */
.SH-Live {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	color: var(--aip-text-primary);
}

.SH-Live svg {
	width: 20px;
	height: 20px;
	color: var(--aip-text-brand);
}

.SH-Text {
	font-size: 13px;
	color: var(--aip-text-secondary);
	margin-top: -4px;
}

.SH-LinkBox {
	position: relative;
	display: block;
}

.SH-LinkBox .SH-Input {
	padding-right: 44px;
}

.SH-LinkBox .SH-Copy {
	position: absolute;
	right: 4px;
	top: 50%;
	margin-top: -14px;
	border: 0;
}

.SH-LinkBox .SH-Copy svg {
	width: 16px;
	height: 16px;
}

/* Someone opens your link (SH9) */
.SH-About {
	gap: 6px;
}

.SH-AboutName {
	font-size: 14px;
	color: var(--aip-text-primary);
}

.SH-AboutBy {
	font-size: 12px;
	color: var(--aip-text-secondary);
}

.SH-AboutDesc {
	font-size: 13px;
	line-height: 16px;
	color: var(--aip-text-secondary);
}

/* Pick it step by step: where each part goes (move it earlier or later) */
.AIO-ArrangeMove {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0 0 12px 0;
}

.AIO-MovePart {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px;
	border: solid 1px var(--aip-border-default);
	border-radius: 8px;
	font-size: 12px;
	color: var(--aip-text-primary);
}

.AIO-MovePart > span {
	padding: 0 4px;
	white-space: nowrap;
}

.AIO-MoveBtn {
	all: unset;
	width: 24px;
	height: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 6px;
	cursor: pointer;
	color: var(--aip-text-secondary);
}

.AIO-MoveBtn:hover {
	background: var(--aip-surface-hover);
	color: var(--aip-text-primary);
}

.AIO-MoveBtn[disabled] {
	opacity: 0.3;
	cursor: default;
	background: none;
}

.AIO-MoveBtn svg {
	width: 14px;
	height: 14px;
}

/* Build it with AI (CH1): "Not sure what to write? Pick widgets" under the chips */
.BC-PickToggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 4px;
}

.BC-PickToggle svg {
	width: 14px;
	height: 14px;
}

.BC-Picks {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	max-width: 720px;
}

.BC-Pick {
	all: unset;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 32px;
	padding: 4px 12px;
	border: solid 1px var(--aip-border-default);
	border-radius: 8px;
	cursor: pointer;
	color: var(--aip-text-primary);
	font-family: var(--font-family);
	font-size: 13px;
}

.BC-Pick:hover {
	background: var(--aip-surface-hover);
}

.BC-Pick svg {
	width: 14px;
	height: 14px;
}

.BC-PickOn {
	border-color: var(--aip-primary);
	background: var(--aip-brand-soft);
}

.BC-PickOn svg:last-child {
	color: var(--aip-text-brand);
}

.BC-PickNote {
	font-size: 12px;
	text-align: center;
}

/* CH2b: tick what goes onto your platform */
.BC-ArtTick {
	box-sizing: border-box;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin-right: 4px;
	border: solid 1px var(--aip-border-strong);
	border-radius: 5px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #fff;
}

.BC-ArtTickOn {
	background: var(--aip-primary);
	border-color: var(--aip-primary);
}

.BC-ArtTick svg {
	width: 12px;
	height: 12px;
}

.BC-ArtSkipped .BC-ArtIcon, .BC-ArtSkipped .AIP-CardText {
	opacity: 0.45;
}

/* The end of the onboarding (Pick it step by step, Build it with AI): the tour's last step, smaller */
.AIT-Done {
	width: min(520px, calc(100vw - 32px));
}

/* CH2b: the widget picks sit under the proposal, aligned left */
.BC-PicksLeft {
	justify-content: flex-start;
	margin: 8px 0 4px 0;
}

.AIP-AIIndent > .BC-PickToggle {
	margin-top: 10px;
}

/* Pick it step by step: move a part (next to Change) */
.AIO-SecMove {
	width: 28px;
	padding: 0 !important;
	justify-content: center;
	margin-right: 4px;
}

.AIO-SecMove svg {
	width: 14px;
	height: 14px;
}

.AIO-SecMove[disabled] {
	opacity: 0.35;
	cursor: default;
}

/* CH2b: Add or remove widgets on the right, under the parts of the page */
.BC-Art > .BC-PickToggle {
	align-self: flex-start;
	margin-top: 12px;
}

/* Pick it step by step: the grip next to Change, drag a part onto another one */
.AIO-SecGrip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 28px;
	margin-right: 6px;
	border-radius: 6px;
	cursor: grab;
	color: var(--aip-text-secondary);
	touch-action: none;
}

.AIO-SecGrip:hover {
	background: var(--aip-surface-hover);
	color: var(--aip-text-primary);
}

.AIO-SecGrip svg {
	width: 16px;
	height: 16px;
}

#AIODragLayer {
	position: fixed;
	inset: 0;
	z-index: 9600;
	cursor: grabbing;
}

.AIO-DropMark {
	position: fixed;
	display: none;
	box-sizing: border-box;
	border: dashed 2px var(--aip-border-strong);
	border-radius: 8px;
	pointer-events: none;
}

.AIO-DropMark.AIO-DropOn {
	border-color: var(--aip-primary);
	background: rgba(7, 103, 246, 0.12);
}

.AIO-DragGhost {
	position: fixed;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	border-radius: 8px;
	background: var(--aip-surface-popover);
	border: solid 1px var(--aip-primary);
	color: var(--aip-text-primary);
	font-family: var(--font-family);
	font-size: 13px;
	pointer-events: none;
	white-space: nowrap;
}

.AIO-DragGhost svg {
	width: 14px;
	height: 14px;
}

/* Font Awesome 6 Regular (the platform has the file, its CSS only loads Light): arrows-up-down-left-right on the grip */
@font-face {
	font-family: "FontAwesomeRegular";
	font-style: normal;
	font-weight: 400;
	src: url("/css/fonts/awesome/fa-regular-400.woff2") format("woff2");
}

.AIO-FAMove {
	font-family: "FontAwesomeRegular";
	font-weight: 400;
	font-style: normal;
	font-size: 14px;
	line-height: 1;
}

/* New page in the panel: tick the widgets, Create the page; the other ways under it */
.AIP-NPTiles {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px;
	margin-top: 4px;
}

.AIP-NPTile {
	all: unset;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 36px;
	padding: 6px 10px;
	border: solid 1px var(--aip-border-default);
	border-radius: 8px;
	cursor: pointer;
	color: var(--aip-text-primary);
	font-family: var(--font-family);
	font-size: 13px;
}

.AIP-NPTile:hover {
	background: var(--aip-surface-hover);
}

.AIP-NPTile > svg {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
	color: var(--aip-text-secondary);
}

.AIP-NPTile > span:first-of-type {
	flex: 1;
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.AIP-NPTileOn {
	border-color: var(--aip-primary);
	background: var(--aip-brand-soft);
}

.AIP-NPTileOn > svg {
	color: var(--aip-text-brand);
}

.AIP-NPTick {
	display: inline-flex;
	color: var(--aip-text-brand);
}

.AIP-NPTick svg {
	width: 14px;
	height: 14px;
}

.AIP-NPBar {
	margin-top: 10px;
}

.AIP-NPOther {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin-top: 10px;
	font-size: 12px;
}

.AIP-NPOther .AIP-Link {
	font-size: 12px;
}

/* Your basic setup is done: AI (left menu) and Agent (top right) */
.AIT-Ways {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 4px 0;
}

.AIT-Way {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 10px 12px;
	border: solid 1px var(--aip-border-default);
	border-radius: 8px;
}

.AIT-WayIcon {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--aip-text-primary);
}

.AIT-WayIcon svg {
	width: 18px;
	height: 18px;
}

.AIT-WayChip {
	font-family: "FontAwesome";
	font-size: 17px;
	line-height: 1;
}

.AIT-WayTitle {
	color: var(--aip-text-primary);
	margin-bottom: 2px;
}

/* CH2b: "Add selected [tick] (3) to my platform" */
.BC-AddSel {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.BC-TickMini {
	width: 14px;
	height: 14px;
	border-radius: 3px;
	margin: 0 1px;
	border-color: #fff;
	background: transparent;
	cursor: inherit;
}

.BC-TickMini svg {
	width: 10px;
	height: 10px;
}

.BC-AddNone {
	opacity: 0.45;
	cursor: default;
}

/* CH2b: Arrange this page (Layout, Order, Widgets) under the page parts on the right */
.BC-Arrange {
	margin-top: 14px;
	padding: 14px 16px;
	border: solid 1px var(--aip-border-default);
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.BC-ArrHead {
	font-size: 13px;
	color: var(--aip-text-primary);
}

.BC-ArrRow {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.BC-ArrLabel {
	flex: 0 0 64px;
	padding-top: 7px;
	font-size: 12px;
	color: var(--aip-text-secondary);
}

.BC-ArrBody {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.BC-ArrBody > .AIW-Dim {
	font-size: 12px;
}

/* Layout as one segmented control */
.BC-Seg {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 4px;
	padding: 3px;
	border-radius: 8px;
	background: var(--aip-surface-base);
}

.BC-SegOpt {
	all: unset;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 5px 10px;
	border-radius: 6px;
	cursor: pointer;
	color: var(--aip-text-secondary);
	font-family: var(--font-family);
	font-size: 12px;
	white-space: nowrap;
}

.BC-SegOpt:hover {
	color: var(--aip-text-primary);
}

.BC-SegOn {
	background: var(--aip-surface-hover);
	color: var(--aip-text-primary);
	box-shadow: inset 0 0 0 1px var(--aip-primary);
}

.BC-SegOpt .FXBAI-Thumb {
	width: 22px;
	height: 16px;
	flex: 0 0 auto;
}

.BC-SegOpt .FXBAI-ThumbCell {
	border-width: 1px;
	border-radius: 2px;
}

.BC-SegOn .FXBAI-ThumbCell {
	background-color: var(--aip-primary);
}

/* Widgets as chips with x, and + Add widget */
.BC-WChips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.BC-WChip, .BC-WAdd {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 28px;
	padding: 0 6px 0 10px;
	border: solid 1px var(--aip-border-default);
	border-radius: 8px;
	font-size: 12px;
	color: var(--aip-text-primary);
	box-sizing: border-box;
}

.BC-WChip > svg, .BC-WAdd > svg {
	width: 14px;
	height: 14px;
	color: var(--aip-text-secondary);
}

.BC-WChipX {
	all: unset;
	width: 18px;
	height: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	cursor: pointer;
	color: var(--aip-text-faint);
}

.BC-WChipX:hover {
	background: var(--aip-surface-hover);
	color: var(--aip-text-primary);
}

.BC-WChipX svg {
	width: 12px;
	height: 12px;
}

.BC-WAdd {
	all: unset;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 28px;
	padding: 0 10px;
	border: dashed 1px var(--aip-border-strong);
	border-radius: 8px;
	cursor: pointer;
	font-family: var(--font-family);
	font-size: 12px;
	color: var(--aip-text-brand);
	box-sizing: border-box;
}

.BC-WAdd:hover, .BC-WAddOpen {
	border-color: var(--aip-primary);
	background: var(--aip-brand-soft);
}

.BC-WMenu {
	flex-basis: 100%;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 4px;
	padding: 4px;
	border: solid 1px var(--aip-border-default);
	border-radius: 8px;
	background: var(--aip-surface-popover);
}

.BC-WMenuItem {
	all: unset;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 7px 10px;
	border-radius: 6px;
	cursor: pointer;
	font-family: var(--font-family);
	font-size: 12px;
	color: var(--aip-text-primary);
}

.BC-WMenuItem:hover {
	background: var(--aip-surface-hover);
}

.BC-WMenuItem svg {
	width: 14px;
	height: 14px;
	color: var(--aip-text-secondary);
}

/* Arrange this page: Creations Hub items (name and author) */
.BC-WMenuHub {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.BC-WMenuItem > span {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.BC-WHubName {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.BC-WHubBy {
	font-size: 11px;
	color: var(--aip-text-faint);
}

/* CH2b: Add selected next to Add all */
.BC-AddOne {
	white-space: nowrap;
}

/* ---------------------------------------------------------------------------
Welcome (568:1672): describe it to AI, three ideas, Get inspired, or Straight to trading
--------------------------------------------------------------------------- */

.AIO-Inner4 {
	width: 680px;
	gap: 14px;
}

.AIO-LogoBig {
	width: 200px;
	height: 37px;
	background-position: center;
	margin-bottom: 8px;
}

.AIO-Inner4 .AIO-TitleBig {
	margin-top: 4px;
}

.AIO-Inner4 > .AIO-Text {
	margin-bottom: 16px;
}

.AIO-WField, .AIO-WClaude {
	box-sizing: border-box;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 16px 16px 12px 16px;
	border: solid 1px var(--aip-border-strong);
	border-radius: 12px;
	background: var(--clr-toolbar, #131c26);
	text-align: left;
}

.AIO-WField:focus-within {
	border-color: var(--aip-primary);
}

.AIO-WInput {
	all: unset;
	box-sizing: border-box;
	width: 100%;
	min-height: 54px;
	color: var(--aip-text-primary);
	font-family: var(--font-family);
	font-size: 13px;
	line-height: 18px;
	white-space: pre-wrap;
}

.AIO-WInput::placeholder {
	color: var(--aip-text-faint);
}

.AIO-WClaudeHead {
	display: flex;
	align-items: center;
	gap: 8px;
}

.AIO-WClaudeHead svg {
	width: 14px;
	height: 14px;
}

.AIO-WClaudePrompt {
	text-align: left;
}

.AIO-WChips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px;
}

.AIO-WInspired {
	text-decoration: underline;
	color: var(--aip-text-primary) !important;
	margin-left: 4px;
}

.AIO-WOr {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 18px 0 6px 0;
	color: var(--aip-text-secondary);
}

.AIO-WOr:before, .AIO-WOr:after {
	content: "";
	flex: 1;
	border-top: solid 1px var(--aip-border-default);
}

.AIO-WStraight {
	all: unset;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	min-width: 352px;
	border: solid 1px var(--aip-border-default);
	border-radius: 8px;
	cursor: pointer;
	text-align: left;
}

.AIO-WStraight:hover {
	border-color: var(--aip-border-strong);
	background: var(--aip-surface-hover);
}

.AIO-WStraight > svg {
	width: 18px;
	height: 18px;
	color: var(--aip-text-secondary);
}

.AIO-WStraightText {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.AIO-WStraightText .AIW-Dim {
	font-size: 11px;
}

/* Get inspired (1281:64171): the prompt library */
.AIO-Inspired {
	width: 808px;
	max-width: calc(100vw - 48px);
	padding: 0 !important;
}

.AIO-Inspired .AIM-Head {
	padding: 20px 24px 0 24px;
}

.AIO-InspiredSub {
	padding: 6px 24px 18px 24px;
	border-bottom: solid 1px var(--aip-border-default);
}

.AIO-InspiredGrid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	padding: 16px 24px;
}

.AIO-InspiredCard {
	all: unset;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 12px;
	min-height: 84px;
	border: solid 1px var(--aip-border-default);
	border-radius: 8px;
	cursor: pointer;
}

.AIO-InspiredCard:hover {
	border-color: var(--aip-primary);
	background: var(--aip-surface-hover);
}

.AIO-InspiredTitle {
	color: var(--aip-text-primary);
	font-size: 13px;
}

.AIO-InspiredText {
	color: var(--aip-text-secondary);
	font-size: 12px;
	line-height: 15px;
}

.AIO-InspiredTags {
	color: var(--aip-text-brand);
	font-size: 12px;
	margin-top: auto;
}

.AIO-InspiredFoot {
	display: flex;
	align-items: center;
	padding: 14px 24px 18px 24px;
	border-top: solid 1px var(--aip-border-default);
}

/* Big chat cards: Settings opens the setup on the right, Add puts it straight on your platform */
.BC-ArtCard {
	cursor: default;
}

.BC-ArtThumb {
	flex: none;
	width: 44px;
	height: 30px;
}

.BC-ArtThumb .FXBAI-Thumb {
	height: 30px;
}

.BC-ArtThumb .FXBAI-ThumbCell {
	border-width: 1px;
	border-radius: 2px;
}

.BC-ArtSettings, .BC-AddOne {
	white-space: nowrap;
}

.BC-ArtSettingsOn {
	border-color: var(--aip-primary) !important;
	color: var(--aip-text-brand) !important;
}

/* The preview as it looks in the platform: top bar, left menu and each widget */
.BC-PlanFrame {
	border: solid 1px var(--aip-border-default);
	border-radius: 8px;
	overflow: hidden;
	background: #000813;
}

.BC-PlanTop {
	height: 22px;
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 0 8px;
	background: #0a121c;
	border-bottom: solid 1px #1a222d;
}

.BC-PlanLogo {
	width: 26px;
	height: 10px;
	border-radius: 3px;
	border: solid 1px #1a222d;
}

.BC-PlanTop i {
	width: 26px;
	height: 6px;
	border-radius: 2px;
	background: #1a222d;
}

.BC-PlanTop b {
	width: 30px;
	height: 12px;
	border-radius: 3px;
	border: solid 1px #1a222d;
}

.BC-PlanBody {
	display: flex;
	height: 300px;
}

.BC-PlanRail {
	flex: 0 0 18px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding-top: 8px;
	background: #0a121c;
}

.BC-PlanRail i {
	width: 8px;
	height: 8px;
	border-radius: 2px;
	background: #1a222d;
}

.BC-PlanRail i:nth-child(2) {
	background: #0d47a8;
}

.BC-PlanBody .BC-Plan {
	flex: 1;
	height: auto;
	border: 0;
	border-radius: 0;
	background: #000813;
	padding: 2px;
}

.BC-PlanCell {
	align-items: stretch;
	justify-content: stretch;
	background: transparent;
	border: solid 2px #000813;
	padding: 0;
}

.BC-PlanWidget {
	flex: 1;
	min-height: 0;
	display: flex;
	flex-direction: column;
	border-radius: 5px;
	background: #09121c;
	overflow: hidden;
}

.BC-PlanNow .BC-PlanWidget {
	outline: solid 1px var(--aip-primary);
	outline-offset: -1px;
}

.BC-MWHead {
	flex: none;
	display: flex;
	align-items: center;
	gap: 4px;
	height: 18px;
	padding: 0 6px;
	font-size: 10px;
	color: var(--aip-text-secondary);
	border-bottom: solid 1px #131c26;
	white-space: nowrap;
	overflow: hidden;
}

.BC-MWHead svg {
	width: 10px;
	height: 10px;
	flex: none;
}

.BC-MWChart {
	flex: 1;
	min-height: 0;
	padding: 4px;
}

.BC-MWChart svg, .BC-MWMinis svg {
	width: 100%;
	height: 100%;
	display: block;
}

.BC-MWMinis {
	flex: 1;
	min-height: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 3px;
	padding: 3px;
}

.BC-MWMinis i {
	min-height: 0;
	border: solid 1px #131c26;
	border-radius: 3px;
	padding: 2px;
}

.BC-MWRows {
	flex: 1;
	min-height: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.BC-MWRows i {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 14px;
	padding: 0 6px;
	border-bottom: solid 1px #101923;
}

.BC-MWRows b {
	height: 3px;
	border-radius: 2px;
	background: #2c3440;
}

.BC-MWRows b + b {
	width: 14%;
}

.BC-MWRows b.BC-Up {
	background: #0adb5e;
}

.BC-MWRows b.BC-Down {
	background: #ff2e05;
}

.BC-MWKpi {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: space-around;
	gap: 4px;
	padding: 4px;
	font-size: 9px;
	color: var(--aip-text-faint);
}

.BC-MWKpi i {
	display: flex;
	flex-direction: column;
	align-items: center;
	font-style: normal;
	gap: 2px;
}

.BC-MWKpi b {
	font-size: 11px;
	color: var(--aip-text-primary);
}

.BC-MWKpi b.BC-Up {
	color: #0adb5e;
}

.BC-MWKpi b.BC-Down {
	color: #ff2e05;
}

.BC-MWSessions {
	flex: 1;
	position: relative;
	margin: 6px;
}

.BC-MWSessions i {
	position: absolute;
	height: 9px;
	border-radius: 3px;
	background: #0d47a8;
	font-size: 7px;
	line-height: 9px;
	font-style: normal;
	padding-left: 3px;
	color: #c9d6ea;
	overflow: hidden;
}

.BC-MWSessions i:nth-child(1) { top: 4%; }
.BC-MWSessions i:nth-child(2) { top: 28%; }
.BC-MWSessions i:nth-child(3) { top: 52%; }
.BC-MWSessions i:nth-child(4) { top: 76%; }

.BC-MWTicket {
	flex: 1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px;
	padding: 6px;
	align-content: start;
}

.BC-MWTicket i {
	font-style: normal;
	font-size: 9px;
	text-align: center;
	line-height: 16px;
	border-radius: 3px;
	color: #fff;
}

.BC-MWTicket .BC-Sell { background: #ff2e05; }
.BC-MWTicket .BC-Buy { background: #0adb5e; }

.BC-MWTicket b {
	grid-column: span 2;
	height: 12px;
	border-radius: 3px;
	border: solid 1px #1a222d;
}

.BC-MWCustom, .BC-MWEmpty {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 6px;
	font-size: 11px;
	color: var(--aip-text-secondary);
	text-align: center;
}

.BC-MWCustom svg, .BC-MWEmpty svg {
	width: 16px;
	height: 16px;
}

.AIO-WChip {
	white-space: nowrap;
}

.AIO-WChip svg {
	width: 14px;
	height: 14px;
	flex: none;
}

/* Big chat with your Claude connected: a prompt to copy instead of the field */
.BC-ClaudeAsk {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 14px 16px;
}

/* Settings of a page from the big chat: a modal over the chat, not a column on the right */
.BC-ArtOverlay {
	position: fixed;
	inset: 0;
	z-index: 960;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 4, 10, 0.64);
}

.BC-ArtModal {
	width: 760px;
	max-width: calc(100vw - 48px);
	max-height: calc(100vh - 48px);
	display: flex;
	border: solid 1px var(--aip-border-default);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.BC-ArtModal .BC-Art {
	flex: 1 1 auto;
	border-left: 0;
	padding: 20px 24px 18px 24px;
	gap: 12px;
	background: var(--aip-surface-raised, #0a121c);
}

.BC-ArtModal .BC-ArtName {
	font-size: 16px;
}

.BC-ArtModal .BC-PlanBody {
	height: 340px;
}

.BC-ArtModal .BC-ArtFoot {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-top: 4px;
}

.BC-ArtModal .BC-ArtFree {
	margin-left: auto;
}

.AIO-WClaudePrompt {
	max-height: 160px;
	overflow-y: auto;
	white-space: pre-wrap;
}

/* A long prompt (Get inspired) keeps its lines in the chat */
.AIP-Bubble {
	white-space: pre-wrap;
}

/* After Copy prompt: waiting for your Claude */
.BC-WaitModal {
	width: 520px;
	max-width: calc(100vw - 48px);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 20px 24px;
	border: solid 1px var(--aip-border-default);
	border-radius: 12px;
	background: var(--aip-surface-raised, #0a121c);
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.BC-WaitHead {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 16px;
}

.BC-WaitPrompt {
	max-height: 180px;
	overflow-y: auto;
	white-space: pre-wrap;
}

.BC-WaitBar {
	display: flex;
	align-items: center;
	gap: 8px;
}

.BC-WaitBar svg {
	width: 12px;
	height: 12px;
}

.BC-ClaudeWait .BC-WaitHead {
	font-size: 14px;
}

/* Waiting for your Claude: one compact bar in place of the field */
.BC-Composer.BC-ClaudeWait {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
}

.BC-WaitText {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.BC-WaitTitle {
	color: var(--aip-text-primary);
	font-size: 13px;
}

.BC-ClaudeWait .AIW-Dim {
	font-size: 12px;
}

.BC-ClaudeWait .AIP-Link {
	white-space: nowrap;
}

.BC-WaitCancel {
	color: var(--aip-text-secondary) !important;
}

/* A long message from you (a whole terminal from Get inspired), folded to a few lines */
.AIP-BubbleFolded {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.AIP-BubbleFolded .AIP-BubbleText {
	max-height: 108px;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent);
	mask-image: linear-gradient(to bottom, #000 60%, transparent);
}

.AIP-BubbleMore {
	align-self: flex-start;
	font-size: 12px;
}

/* ---------------------------------------------------------------------------
Straight to trading: ready setups (1p2)
--------------------------------------------------------------------------- */

.AIR-Wrap {
	position: relative;
	display: flex;
	justify-content: center;
}

.AIO-WStraight {
	min-width: 352px;
}

.AIO-WStraightChevron {
	display: inline-flex;
	color: var(--aip-text-secondary);
	transition: transform 0.15s;
}

.AIO-WStraightChevron svg {
	width: 14px;
	height: 14px;
}

.AIO-WStraightOpen .AIO-WStraightChevron {
	transform: rotate(180deg);
}

/* The welcome dims behind the open list */
#AIWelcome.AIR-Open .AIO-Inner4 > *:not(.AIR-Wrap),
#AIWelcome.AIR-Open > .AIO-Footer {
	opacity: 0.28;
	pointer-events: none;
	transition: opacity 0.15s;
}

.AIR-Pop {
	position: absolute;
	left: 50%;
	bottom: calc(100% + 8px);
	transform: translateX(-50%);
	z-index: 5;
	width: 680px;
	max-width: calc(100vw - 120px);
	box-sizing: border-box;
	border: solid 1px var(--aip-border-default);
	border-radius: 12px;
	background: #0a121c;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
	text-align: left;
	overflow: hidden;
}

.AIR-Head {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 14px 16px;
	border-bottom: solid 1px #1a222d;
}

.AIR-Head .AIW-Dim, .AIR-Pop .AIW-Dim {
	font-size: 11px;
}

.AIR-Body {
	display: flex;
	min-height: 260px;
}

.AIR-List {
	flex: 0 0 248px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 6px;
	border-right: solid 1px #1a222d;
}

.AIR-Item {
	all: unset;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 48px;
	padding: 8px 10px;
	border-radius: 8px;
	cursor: pointer;
}

.AIR-Item:hover {
	background: var(--aip-surface-hover);
}

.AIR-ItemOn, .AIR-ItemOn:hover {
	background: rgba(7, 103, 246, 0.18);
}

.AIR-ItemText {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 2px;
	color: var(--aip-text-primary);
}

.AIR-Item svg {
	width: 14px;
	height: 14px;
	color: var(--aip-text-primary);
}

.AIR-Preview {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 14px 16px 18px 16px;
}

.AIR-PTitle {
	color: var(--aip-text-primary);
}

.AIR-Pages {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-top: 12px;
}

.AIR-Page {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.AIR-PageName {
	margin-top: 8px;
	color: var(--aip-text-primary);
}

.AIR-Thumb {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 4px;
	height: 96px;
	padding: 5px;
	border: solid 1px #1a222d;
	border-radius: 4px;
	background: #0a121c;
	color: #8a94a8;
}

.AIR-Thumb:not(.AIR-Live) i {
	display: block;
	box-sizing: border-box;
	border-radius: 2px;
	background: #1a222d;
	overflow: hidden;
}

.AIR-Thumb:not(.AIR-Live) svg {
	display: block;
	width: 100%;
	height: 100%;
}

.AIR-Blue {
	color: #3d8bff;
}

.AIR-TChart {
	flex: 3;
	padding: 4px 6px;
}

.AIR-TPanel {
	flex: 1.2;
}

.AIR-TFull {
	flex: 1;
}

.AIR-TGrid3, .AIR-TGrid2, .AIR-TCols {
	flex: 1;
	display: grid;
	gap: 4px;
	min-height: 0;
}

.AIR-TGrid3 {
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(2, 1fr);
}

.AIR-TGrid2 {
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(2, 1fr);
}

.AIR-TCols {
	grid-template-columns: repeat(2, 1fr);
}

.AIR-TCell {
	padding: 3px 4px;
	min-height: 0;
}

.AIR-TRows {
	background: repeating-linear-gradient(to bottom, #1a222d 0, #1a222d 7px, #2c3440 7px, #2c3440 8px) !important;
}

/* 1p2Â·2: where the new pages are, once */
#AIPagesHint {
	position: fixed;
	z-index: 1200;
	transform: translateY(-50%);
	max-width: 240px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px 12px;
	border-radius: 8px;
	background: #fff;
	color: #0a121c;
	font-family: var(--font-family);
	font-size: 12px;
	line-height: 16px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

#AIPagesHint b {
	font-weight: 600;
	font-size: 13px;
}

#AIPagesHint:before {
	content: "";
	position: absolute;
	left: -6px;
	top: 50%;
	margin-top: -6px;
	border-style: solid;
	border-width: 6px 6px 6px 0;
	border-color: transparent #fff transparent transparent;
}

/* Straight to trading (1p3): six setups as boxes, then the picked one's pages (1p3Â·2) */
.AIR-Pop {
	width: 920px;
}

.AIR-Head {
	padding: 16px 16px 14px 16px;
}

.AIR-Boxes {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));	/* four setups: two by two */
	gap: 8px 12px;
	padding: 16px;
}

.AIR-Box {
	all: unset;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	min-height: 64px;
	padding: 12px 13px;
	border: solid 1px #1a222d;
	border-radius: 8px;
	background: #0a121c;
	cursor: pointer;
}

.AIR-Box:hover {
	border-color: var(--aip-primary);
	background: var(--aip-surface-hover);
}

.AIR-BoxRow {
	display: flex;
	align-items: baseline;
	gap: 8px;
}

.AIR-BoxName {
	flex: 1;
	color: var(--aip-text-primary);
	font-size: 13px;
}

.AIR-Chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 12px 16px;
	border-bottom: solid 1px #1a222d;
}

.AIR-Chip {
	all: unset;
	box-sizing: border-box;
	height: 32px;
	padding: 0 12px;
	display: inline-flex;
	align-items: center;
	border: solid 1px #1a222d;
	border-radius: 6px;
	color: var(--aip-text-secondary);
	cursor: pointer;
}

.AIR-Chip:hover {
	border-color: var(--aip-border-strong);
	color: var(--aip-text-primary);
}

.AIR-ChipOn, .AIR-ChipOn:hover {
	border-color: transparent;
	background: rgba(7, 103, 246, 0.18);
	color: var(--aip-text-primary);
}

.AIR-Pop .AIR-Preview {
	padding: 14px 16px 18px 16px;
}

.AIR-Pop .AIR-Pages {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.AIR-Pop .AIR-Thumb {
	height: 160px;
	background: #000813;
}

.AIR-Foot {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	border-top: solid 1px #1a222d;
}

.AIR-Foot .AIP-Link {
	font-size: 11px;
}

.AIR-OpenBtn svg {
	width: 14px;
	height: 14px;
}

.AIR-TTop {
	flex: 1;
	display: flex;
	gap: 4px;
	min-height: 0;
}

.AIR-TWide {
	flex: 2.3;
}

.AIR-TTop .AIR-TCell:not(.AIR-TWide) {
	flex: 1;
}

.AIR-TStrip {
	flex: 0 0 22px;
}

.AIR-TStats {
	flex: 0 0 30px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 4px;
}

.AIR-TColsWide {
	grid-template-columns: 1.4fr 1fr;
}

/* Setup previews drawn as the page will look (1p3·2) */
.AIR-Thumb.AIR-Live {
	position: relative;
	display: block;
	padding: 0;
	background: #000813;
	overflow: hidden;
}

.AIR-LiveCell {
	position: absolute;
	box-sizing: border-box;
	padding: 2px;
	display: flex;
}

.AIR-LiveCell .BC-PlanWidget {
	border: solid 1px #131c26;
}

.AIR-LiveCell .BC-MWHead {
	height: 15px;
	font-size: 9px;
}

.AIR-LiveCell .BC-MWRows i {
	height: 11px;
}


/* Straight to trading (1p4): setups as icon tiles, then the picked one's pages as layouts with widget icons (1p4Â·2) */
.AIR-Head.AIR-HeadBack {
	flex-direction: row;
	align-items: center;
	gap: 6px;
}

.AIR-Back {
	all: unset;
	box-sizing: border-box;
	flex: none;
	width: 24px;
	height: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-left: -4px;
	border-radius: 6px;
	color: var(--aip-text-secondary);
	cursor: pointer;
}

.AIR-Back:hover {
	background: var(--aip-surface-hover);
	color: var(--aip-text-primary);
}

.AIR-Back svg {
	width: 16px;
	height: 16px;
}

.AIR-Tiles {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));	/* four setups: two by two */
	gap: 8px;
	padding: 16px;
}

.AIR-Tile {
	all: unset;
	box-sizing: border-box;
	height: 112px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	border: solid 1px #1a222d;
	border-radius: 8px;
	background: linear-gradient(180deg, #0c1a2c 0%, #0a121c 100%);
	cursor: pointer;
	text-align: center;
}

.AIR-Tile:hover {
	border-color: var(--aip-primary);
}

.AIR-TileIcon {
	display: inline-flex;
	margin-bottom: 8px;
	color: #3d8bff;
}

.AIR-TileIcon svg {
	width: 32px;
	height: 32px;
	stroke-width: 1.2;
}

.AIR-TileName {
	color: var(--aip-text-primary);
	font-size: 13px;
	line-height: 16px;
}

.AIR-LayPages {
	display: flex;
	gap: 12px;
	padding: 16px;
}

.AIR-LayPage {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.AIR-LayName {
	color: var(--aip-text-primary);
	font-size: 13px;
	line-height: 16px;
}

.AIR-Lay {
	position: relative;
	display: block;
	height: 231px;
	border: solid 1px #1a222d;
	border-radius: 6px;
	box-sizing: border-box;
}

/* Each field sits in the layout's inner box (4 px padding) with 4 px between fields */
.AIR-LayIn {
	position: absolute;
	inset: 2px;
}

.AIR-LayCell {
	position: absolute;
	box-sizing: border-box;
	padding: 2px;
}

.AIR-LayWidget {
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 0 6px;
	border: solid 1px #1a222d;
	border-radius: 4px;
	background: #0c1622;
	color: var(--aip-text-secondary);
	font-size: 11px;
	white-space: nowrap;
	overflow: hidden;
}

.AIR-LayWidget svg {
	flex: none;
	width: 20px;
	height: 20px;
	stroke-width: 1.2;
	color: #3d8bff;
}

.AIR-LayWidget span {
	overflow: hidden;
	text-overflow: ellipsis;
}

/* "+" (a new page) after the onboarding: the welcome again, with Back to the page you were on */
#AIWelcome .AIO-WBack {
	position: absolute;
	right: 24px;
	bottom: 20px;
	z-index: 6;
}

/* The welcome for a new page after the onboarding looks like the Agent: full area, its background,
   the chats on the left, the welcome in the middle */
#AIWelcome.AIO-NewPageMode {
	left: calc(var(--ai-pc-left, 56px) + 8px);
	top: calc(var(--ai-top, 60px) + 8px);
	right: 8px;
	bottom: 8px;
	border-radius: 12px;
	background: var(--clr-widget-background, #09121c);
	flex-direction: row;
	align-items: stretch;
	overflow: hidden;
}

#AIWelcome.AIO-NewPageMode .AIO-NPList {
	text-align: left;
}

#AIWelcome.AIO-NewPageMode .AIO-NPMain {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	overflow-y: auto;
}

#AIWelcome.AIO-NewPageMode .AIO-NPShow {
	position: absolute;
	top: 16px;
	left: 16px;
}

/* The Agent has the same background as the onboarding welcome (the platform's widget background) */
#AIBigChat {
	background: var(--clr-widget-background, #09121c);
}

/* ... and the same gaps and rounded corners as the welcome card: 8 px from the left menu,
   the sides and the bottom, 2 px under the top bar */
BODY #AIBigChat {
	left: calc(var(--ai-pc-left, 56px) + 8px);
	top: calc(var(--ai-top, 60px) + 8px);
	right: 8px;
	bottom: 8px;
	border-radius: 12px;
	overflow: hidden;
}

/* The Agent's empty chat with the onboarding welcome's sizes: title 36/44, the text 13 secondary,
   the field as wide and as tall, chips the same; its icon is the Agent icon of the left menu */
#AIBigChat .BC-Welcome {
	max-width: 808px;
	gap: 16px;
}

#AIBigChat .BC-WelcomeTitle {
	font-size: 36px;
	line-height: 44px;
	font-weight: 500;
}

#AIBigChat .BC-Welcome > .AIW-Dim {
	font-size: 13px;
	line-height: 16px;
	color: var(--aip-text-secondary);
}

#AIBigChat .BC-Welcome .BC-Composer {
	margin-top: 8px;
	padding: 16px 16px 12px 16px;
	border-color: var(--aip-border-strong);
	background: var(--clr-toolbar, #131c26);
}

#AIBigChat .BC-Welcome .BC-Composer:focus-within {
	border-color: var(--aip-primary);
}

#AIBigChat .BC-Welcome .BC-Input {
	min-height: 54px;
	font-size: 13px;
	line-height: 18px;
}

#AIBigChat .BC-WelcomeChips {
	gap: 8px;
}

.BC-AgentGlyph {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--aip-text-primary);
}

.BC-AgentGlyph::after {
	font-family: "FontAwesome";
	content: "\e1ec";	/* microchip-ai, as Agent in the left menu */
	font-size: 32px;
	line-height: 1;
}

/* In the Agent, the AI's messages carry the Agent icon of the left menu (microchip-ai) */
#AIBigChat .AIP-AIIcon svg {
	display: none;
}

#AIBigChat .AIP-AIIcon::after {
	display: block;
	width: 16px;
	height: 16px;
	font-family: "FontAwesome";
	content: "\e1ec";
	font-size: 15px;
	line-height: 16px;
	text-align: center;
	color: var(--aip-text-brand);
}

/* Full agent: the Agent icon of the left menu */
.AIP-FullAgentGlyph::after {
	font-size: 14px;
}

/* Get inspired as in Figma 1i: in the window cards with an icon
   and the same gradient as the ready setups tiles */
.AIO-InspiredCard {
	gap: 4px;
	padding: 14px;
	min-height: 150px;
	border-color: #1a222d;
	background: linear-gradient(180deg, #0c1a2c 0%, #0a121c 100%);
}

.AIO-InspiredCard:hover {
	border-color: var(--aip-primary);
	background: linear-gradient(180deg, #0c1a2c 0%, #0a121c 100%);
}

.AIO-InspiredIcon {
	display: inline-flex;
	margin-bottom: 8px;
	color: #3d8bff;
}

.AIO-InspiredIcon svg {
	width: 20px;
	height: 20px;
}

.AIO-InspiredTitle {
	font-weight: 500;
}

.AIO-InspiredTags {
	padding-top: 8px;
}

BODY.Theme_light .AIO-InspiredCard, BODY.Theme_light .AIO-InspiredCard:hover {
	border-color: var(--aip-border-default);
	background: linear-gradient(180deg, #eef4ff 0%, #ffffff 100%);
}

BODY.Theme_light .AIO-InspiredIcon, BODY.Theme_light .AIO-WInspired svg {
	color: var(--aip-primary);
}

@media screen and (max-width: 760px) {
	.AIO-InspiredGrid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Ready setups: the four tiles in a narrower window; a setup's pages keep the full width */
.AIR-Pop:has(> .AIR-Tiles) {
	width: 600px;
	max-width: calc(100vw - 48px);
}

/* Ready setups open: the screen behind dims as under Get inspired (the same overlay colour), the
   list and the Straight to trading button stay on top; a click on the dim closes it */
#AIWelcome.AIR-Open .AIR-Wrap {
	z-index: 20;
}

#AIWelcome.AIR-Open .AIR-Wrap::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	background: rgba(0, 4, 10, 0.72);
}

#AIWelcome.AIR-Open .AIR-Pop {
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
}

/* Straight to trading opens the ready setups as a modal (Figma 1508:64817): in the middle of the
   screen over the dim, a close cross top right and a soft blue glow; no dropdown chevron */
#AIWelcome.AIR-Open .AIR-Pop {
	position: fixed;
	top: 50%;
	left: 50%;
	bottom: auto;
	transform: translate(-50%, -50%);
	max-height: calc(100vh - 48px);
	overflow: auto;
	box-shadow: 0 0 16px rgba(7, 103, 246, 0.1), 0 12px 32px rgba(0, 0, 0, 0.35);
}

#AIWelcome.AIR-Open .AIO-WStraight {
	opacity: 0.12;
}

.AIR-Head {
	position: relative;
	padding-right: 56px;
}

.AIR-Close {
	position: absolute;
	top: 50%;
	right: 16px;
	transform: translateY(-50%);
}

.AIR-Close:hover {
	color: var(--aip-text-primary);
	border-color: var(--aip-border-strong);
}

/* Get inspired in the same style as the ready setups modal: the same box, glow, header with the
   subtitle and the cross, tiles 8 px apart with a 16 px inset, a quiet footer */
.AIM-Modal.AIO-Inspired {
	width: 920px;
	border: solid 1px var(--aip-border-default);
	background: #0a121c;
	box-shadow: 0 0 16px rgba(7, 103, 246, 0.1), 0 12px 32px rgba(0, 0, 0, 0.35);
	text-align: left;
}

.AIO-Inspired .AIW-Dim {
	font-size: 11px;
}

.AIO-InspiredGrid {
	gap: 8px;
	padding: 16px;
}

.AIO-InspiredCard {
	min-height: 140px;
}

.AIO-InspiredText {
	font-size: 11px;
	line-height: 14px;
}

.AIO-InspiredTags {
	font-size: 11px;
}

.AIO-InspiredFoot {
	padding: 12px 16px;
	border-top-color: #1a222d;
}

.AIO-InspiredFoot .AIW-Dim {
	font-size: 12px;
}

/* Ready setups preview: which page it is, a quiet "Page 1" under the page's name */
.AIR-LayNum {
	display: block;
	margin-top: 2px;
	color: var(--aip-text-secondary);
	font-size: 11px;
	line-height: 14px;
}

/* The back arrow in the ready setups modal: as big as the close cross, in the same square */
.AIR-Back {
	width: 28px;
	height: 28px;
	margin: 0 6px 0 0;
	border: solid 1px var(--aip-border-default);
	border-radius: 8px;
}

.AIR-Back svg {
	width: 18px;
	height: 18px;
}

.AIR-Back:hover {
	border-color: var(--aip-border-strong);
}

/* Ready setups as two steps: "Step 1 of 2" with a two-part bar above the title */
.AIR-Step {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 6px;
	color: var(--aip-text-secondary);
	font-size: 11px;
	line-height: 14px;
}

.AIR-StepBar {
	display: inline-flex;
	gap: 4px;
}

.AIR-StepBar i {
	width: 20px;
	height: 3px;
	border-radius: 2px;
	background: var(--aip-border-strong);
}

.AIR-StepBar i.AIR-StepOn {
	background: var(--aip-primary);
}

/* The stepper at the bottom left, in the footer of both steps; the modal's top edge stays put
   from step 1 to step 2 */
.AIR-Foot > .AIR-Step {
	margin: 0;
	min-height: 32px;
}

#AIWelcome.AIR-Open .AIR-Pop {
	top: max(24px, calc(50vh - 240px));
	transform: translateX(-50%);
}

/* Big chat cards: Settings as a quiet text button with its icon, Add as a soft blue filled button
   (the main action), both without the outline; Add alone in the reply stays the primary blue */
.BC-ArtCard .BC-ArtSettings, .BC-ArtCard .BC-AddOne {
	height: 28px;
	padding: 0 10px;
	border-color: transparent;
	border-radius: 6px;
	font-size: 12px;
	gap: 6px;
}

.BC-ArtCard .BC-ArtSettings svg, .BC-ArtCard .BC-AddOne svg {
	width: 14px;
	height: 14px;
	flex: none;
}

.BC-ArtCard .BC-ArtSettings {
	color: var(--aip-text-secondary);
	background: transparent;
}

.BC-ArtCard .BC-ArtSettings:hover {
	color: var(--aip-text-primary);
	background: var(--aip-surface-hover);
	border-color: transparent;
}

.BC-ArtCard .BC-ArtSettingsOn, .BC-ArtCard .BC-ArtSettingsOn:hover {
	border-color: transparent !important;
	background: var(--aip-brand-soft);
	color: var(--aip-text-brand) !important;
}

.BC-ArtCard .BC-AddOne:not(.AIP-BtnPrimary) {
	background: var(--aip-brand-soft);
	color: var(--aip-text-brand);
}

.BC-ArtCard .BC-AddOne:not(.AIP-BtnPrimary):hover {
	background: var(--aip-primary);
	color: #ffffff;
	border-color: transparent;
}

.BC-ArtCard .BC-AddOne.AIP-BtnPrimary {
	border-color: transparent;
}

/* Agent welcome: More setups after the chips, underlined like Get inspired on the welcome */
.BC-MoreSetups {
	align-self: center;
	margin-left: 4px;
	text-decoration: underline;
	color: var(--aip-text-primary) !important;
}

/* New page (D1): the platform's widget panel, not a black box with a blue outline; the tiles
   with the same light gradient and blue icons as the Get inspired cards */
.AIO-Section-pick.AIO-Section-d1 {
	background: var(--clr-widget-background, #09121c);
	border: solid 1px #1a222d;
}

.AIO-Section-d1 .AIO-PickTile {
	border-color: #1a222d;
	background: linear-gradient(180deg, #0c1a2c 0%, #0a121c 100%);
	transition: border-color 0.15s ease;
}

.AIO-Section-d1 .AIO-PickTile:hover {
	border-color: var(--aip-primary);
	background: linear-gradient(180deg, #0e1f35 0%, #0a121c 100%);
}

.AIO-Section-d1 .AIO-PickTile svg {
	color: #3d8bff;
}

.AIO-Section-d1 .AIO-PickAsk {
	background: #0c1622;
	border-color: #1a222d;
}

/* "Add another section": the platform's widget panel with a dashed blue outline, a bigger plus
   in a soft blue circle, and "My layout is done for now" as a floating panel in the middle at
   the bottom of the platform */
.AIO-Section-add {
	background: var(--clr-widget-background, #09121c);
	border: dashed 1px rgba(7, 103, 246, 0.6);
}

.AIO-Section-add .AIO-AddSlot {
	gap: 8px;
}

.AIO-Section-add .AIO-AddPlus {
	width: 48px;
	height: 48px;
	margin-bottom: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: solid 1px rgba(7, 103, 246, 0.5);
	border-radius: 50%;
	background: linear-gradient(180deg, #0c1a2c 0%, #0a121c 100%);
	box-shadow: 0 0 16px rgba(7, 103, 246, 0.18);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.AIO-Section-add .AIO-AddPlus svg {
	width: 22px;
	height: 22px;
	color: #3d8bff;
}

.AIO-Section-add .AIO-AddSlot:hover .AIO-AddPlus {
	border-color: var(--aip-primary);
	box-shadow: 0 0 20px rgba(7, 103, 246, 0.32);
}

.AIO-Section-add .AIO-AddTitle {
	font-size: 15px;
	line-height: 20px;
	font-weight: 500;
}

.AIO-DoneBar {
	position: fixed;
	left: 50%;
	bottom: 24px;
	transform: translateX(-50%);
	z-index: 760;
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 8px 8px 8px 16px;
	box-sizing: border-box;
	max-width: calc(100vw - 32px);
	background: #0a121c;
	border: solid 1px #1a222d;
	border-radius: 12px;
	box-shadow: 0 0 16px rgba(7, 103, 246, 0.1), 0 12px 32px rgba(0, 0, 0, 0.35);
	font-size: 13px;
	line-height: 16px;
	color: var(--aip-text-secondary);
	white-space: nowrap;
}

.AIO-DoneBar .AIO-Done {
	margin: 0;
}

BODY.AIMobile .AIO-DoneBar .AIO-DoneBarText {
	display: none;
}

/* Widgets: the search field with a quiet border; blue only while you type in it */
.AIW-Search {
	border-color: var(--aip-border-strong);
	background: #0c1622;
	transition: border-color 0.15s ease;
}

.AIW-Search:focus-within {
	border-color: var(--aip-primary);
}

/* Widget cards: one clear action (Add to page) and a "..." menu with Floating and Make my version */
.AIW-CardBar {
	position: relative;
	flex-wrap: nowrap;
	gap: 8px;
	width: 100%;
}

.AIW-CardBar .AIW-CardAdd {
	flex: 1 1 auto;
	justify-content: center;
}

.AIW-CardBar .AIW-CardMore {
	flex: 0 0 auto;
	width: 32px;
	padding: 0;
	justify-content: center;
	color: var(--aip-text-secondary);
}

.AIW-CardMore svg {
	width: 16px;
	height: 16px;
}

.AIW-CardMenu {
	display: none;
	position: absolute;
	right: 0;
	bottom: calc(100% + 6px);
	z-index: 5;
	min-width: 200px;
	padding: 4px;
	flex-direction: column;
	background: #0c1622;
	border: solid 1px #29323c;
	border-radius: 8px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.AIW-CardBarOpen .AIW-CardMenu {
	display: flex;
}

.AIW-CardMenu button {
	all: unset;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	border-radius: 6px;
	font-size: 13px;
	line-height: 16px;
	color: var(--aip-text-primary);
	cursor: pointer;
	white-space: nowrap;
}

.AIW-CardMenu button:hover {
	background: #13202f;
}

.AIW-CardMenu .AIP-ChipIcon svg {
	width: 14px;
	height: 14px;
}

.AIW-CardBar .AIW-CardAdd {
	background: var(--aip-brand-soft);
	border-color: transparent;
	color: var(--aip-text-brand);
}

.AIW-CardBar .AIW-CardAdd:hover {
	background: var(--aip-primary);
	color: #fff;
}

/* Welcome field: the same light gradient as the Get inspired cards, a soft blue glow, a bit
   bigger text, and "AI builds it for you" with the AI mark at the bottom left */
.AIO-WField {
	padding: 18px 18px 12px 18px;
	border-color: #1f2a38;
	background: linear-gradient(180deg, #0e1c2e 0%, #0a121c 100%);
	box-shadow: 0 0 24px rgba(7, 103, 246, 0.08);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.AIO-WField:hover {
	border-color: #29323c;
}

.AIO-WField:focus-within {
	border-color: rgba(7, 103, 246, 0.7);
	box-shadow: 0 0 0 3px rgba(7, 103, 246, 0.12), 0 0 24px rgba(7, 103, 246, 0.12);
}

.AIO-WField .AIO-WInput {
	font-size: 14px;
	line-height: 20px;
	min-height: 60px;
}

.AIO-WFieldAI {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	line-height: 16px;
	color: var(--aip-text-secondary);
}

.AIO-WFieldAI svg {
	width: 16px;
	height: 16px;
}

/* Straight to trading: no chevron any more, so no room kept for it (as wide as its text) */
.AIO-WStraight {
	min-width: 0;
	padding-right: 20px;
}

/* No drop shadows or glows: the welcome field, the new page's field, the plus and the Done bar */
.AIO-WField, .AIO-WField:focus-within {
	box-shadow: none;
}

.AIO-PickField {
	width: 612px;
	max-width: 100%;
	margin-top: 4px;
}

/* The plus: just the icon, blue like the widget tiles' icons */
.AIO-Section-add .AIO-AddPlus,
.AIO-Section-add .AIO-AddSlot:hover .AIO-AddPlus {
	width: auto;
	height: auto;
	margin-bottom: 4px;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
}

.AIO-Section-add .AIO-AddPlus svg {
	width: 32px;
	height: 32px;
	color: #3d8bff;
}

.AIO-DoneBar, .AIW-CardMenu {
	box-shadow: none;
}

/* Welcome chips (and the Agent's): blue icons and the same light gradient as the widget tiles */
.AIO-WChips .AIO-WChip,
.BC-WelcomeChips .AIP-Chip2 {
	border-color: #1a222d;
	background: linear-gradient(180deg, #0c1a2c 0%, #0a121c 100%);
}

.AIO-WChips .AIO-WChip:hover,
.BC-WelcomeChips .AIP-Chip2:hover {
	border-color: var(--aip-primary);
	background: linear-gradient(180deg, #0e1f35 0%, #0a121c 100%);
}

.AIO-WChips .AIO-WChip svg,
.BC-WelcomeChips .AIP-Chip2 svg {
	color: #3d8bff;
}

/* Agent welcome field: the same as the welcome's (light gradient, quiet border, blue while typing) */
#AIBigChat .BC-Welcome .BC-Composer {
	padding: 18px 18px 12px 18px;
	border-color: #1f2a38;
	background: linear-gradient(180deg, #0e1c2e 0%, #0a121c 100%);
	box-shadow: none;
	transition: border-color 0.15s ease;
}

#AIBigChat .BC-Welcome .BC-Composer:hover {
	border-color: #29323c;
}

#AIBigChat .BC-Welcome .BC-Composer:focus-within {
	border-color: rgba(7, 103, 246, 0.7);
}

#AIBigChat .BC-Welcome .BC-Input {
	font-size: 14px;
	line-height: 20px;
	min-height: 60px;
}

/* New page (D1): no outline around the panel */
.AIO-Section-pick.AIO-Section-d1 {
	border: 0;
}

/* New page: All widgets as the last tile (dashed, blue text, it opens the whole library),
   then "or" and the field */
.AIO-Section-d1 .AIO-PickTile.AIO-PickAll {
	border: dashed 1px #29323c;
	background: transparent;
	color: var(--aip-text-brand);
}

.AIO-Section-d1 .AIO-PickTile.AIO-PickAll:hover {
	border-color: var(--aip-primary);
	background: rgba(7, 103, 246, 0.06);
}

.AIO-Section-d1 .AIO-WOr {
	width: 612px;
	max-width: 100%;
	margin: 10px 0 2px 0;
	font-size: 12px;
}

.AIO-Section-d1 .AIO-PickField {
	margin-top: 0;
}

/* AI panel field: no border (also while typing), the welcome field's light gradient, no shadow */
.AIP-Composer, .AIP-Composer:focus-within {
	border-color: transparent;
	background: linear-gradient(180deg, #0e1c2e 0%, #0a121c 100%);
	box-shadow: none;
}

/* Full agent: like the chips (light gradient, blue icon), quieter text, the external mark faint */
.AIP-FullAgent {
	height: 30px;
	padding: 0 10px 0 8px;
	border-color: #1a222d;
	background: linear-gradient(180deg, #0c1a2c 0%, #0a121c 100%);
	color: var(--aip-text-secondary);
	font-size: 12px;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.AIP-FullAgent:hover {
	border-color: var(--aip-primary);
	background: linear-gradient(180deg, #0e1f35 0%, #0a121c 100%);
	color: var(--aip-text-primary);
}

.AIP-FullAgent > img {
	opacity: 0.5;
}

.AIP-FullAgent:hover > img {
	opacity: 1;
}

/* Your page is ready (arrange): the same look as the new page step - the widget panel without an
   outline, layouts as tiles with the light gradient, grey blocks as in Edit page, the selected
   one outlined in blue, the move controls as chips */
.AIO-Arrange {
	border: 0;
	background: var(--clr-widget-background, #09121c);
}

.AIO-Arrange .AIO-ArrangeOpt {
	border-color: #1a222d;
	border-radius: 8px;
	background: linear-gradient(180deg, #0c1a2c 0%, #0a121c 100%);
	transition: border-color 0.15s ease;
}

.AIO-Arrange .AIO-ArrangeOpt:hover {
	border-color: #29323c;
}

.AIO-Arrange .AIO-ArrangeOptSel,
.AIO-Arrange .AIO-ArrangeOptSel:hover {
	border-color: var(--aip-primary);
	background: linear-gradient(180deg, #0c1a2c 0%, #0a121c 100%);
}

.AIO-Arrange .AIO-Thumb div span {
	border-radius: 3px;
	background: rgba(138, 148, 168, 0.18);
}

.AIO-Arrange .AIO-ArrangeOptSel .AIO-Thumb div span {
	background: rgba(7, 103, 246, 0.2);
	color: var(--aip-text-primary);
}

.AIO-Arrange .AIO-ArrangeOpt .AIW-Dim {
	font-size: 12px;
}

.AIO-Arrange .AIO-MovePart {
	height: 32px;
	border-color: #1a222d;
	background: linear-gradient(180deg, #0c1a2c 0%, #0a121c 100%);
}

.AIO-Arrange .AIO-MoveBtn:not(:disabled) {
	color: #3d8bff;
}

/* Fields are not highlighted in blue while you type in them: only a slightly lighter border */
.AIO-WField:focus-within,
#AIBigChat .BC-Welcome .BC-Composer:focus-within,
.BC-Composer:focus-within,
.AIW-Search:focus-within,
.AIO-PickAsk:focus-within {
	border-color: #29323c;
	box-shadow: none;
}

.AIM-Name:focus, .AIM-Input:focus, .SH-Input:focus {
	border-color: #29323c;
}

/* ===========================================================================
One look across the platform: buttons, chips, tiles and cards get a slightly lighter border
and background on hover, never a blue outline. Blue stays for the primary button and for what
is selected.
=========================================================================== */
.AIO-WChips .AIO-WChip:hover,
.BC-WelcomeChips .AIP-Chip2:hover,
.AIP-Chip2:not(.AIP-Chip2Selected):hover,
.AIO-Section-d1 .AIO-PickTile:hover,
.AIO-Section-d1 .AIO-PickTile.AIO-PickAll:hover,
.AIP-FullAgent:hover,
.AIO-InspiredCard:hover,
.AIR-Box:hover,
.AIR-Tile:hover,
.BC-WAdd:hover,
.AIO-Arrange .AIO-ArrangeOpt:not(.AIO-ArrangeOptSel):hover,
.AIW-CardBar .AIW-CardMore:hover,
.AIO-WStraight:hover {
	border-color: #29323c;
	background: linear-gradient(180deg, #0f1f33 0%, #0b1520 100%);
}

.AIO-Section-d1 .AIO-PickTile.AIO-PickAll:hover {
	border-style: dashed;
}

.AIO-Section-add .AIO-AddSlot:hover .AIO-AddPlus {
	border: 0;
}

/* Straight to trading: the same look as the chips and tiles (light gradient, blue icon) */
.AIO-WStraight {
	border-color: #1a222d;
	background: linear-gradient(180deg, #0c1a2c 0%, #0a121c 100%);
}

.AIO-WStraight > svg {
	color: #3d8bff;
}

/* Ready setups, the pages: a calm miniature of the screen, not buttons - the page as one sunken
   frame, each widget a flat block without an outline with a thin title strip at the top, the icon
   and name quiet, nothing reacts to the mouse */
.AIR-Lay {
	border: 0;
	border-radius: 8px;
	background: #070e17;
	pointer-events: none;
	cursor: default;
}

.AIR-LayIn {
	inset: 4px;
}

.AIR-LayCell {
	padding: 2px;
}

.AIR-LayWidget {
	position: relative;
	padding: 10px 6px 0 6px;
	border: 0;
	border-radius: 4px;
	background: #0d1723;
	color: #6b7686;
}

.AIR-LayWidget::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 8px;
	border-radius: 4px 4px 0 0;
	background: #111d2b;
}

.AIR-LayWidget svg {
	width: 16px;
	height: 16px;
	color: #3d8bff;
	opacity: 0.75;
}

/* The page AI panel: no outline around it, like the widgets next to it */
#AIPagePanel {
	border: 0;
}

/* Move a part: plain, without the gradient */
.AIO-Arrange .AIO-MovePart {
	background: transparent;
}

/* Your page is ready: the layouts as the same miniature as the ready setups (icons, title strips) */
.AIO-ArrangeOpt .AIO-ArrangeLay {
	height: 120px;
	margin-bottom: 6px;
}

.AIO-ArrangeOptSel .AIO-ArrangeLay .AIR-LayWidget {
	color: var(--aip-text-primary);
}

.AIO-ArrangeOptSel .AIO-ArrangeLay .AIR-LayWidget svg {
	opacity: 1;
}

/* AI panel ("What do you want to change?" and the other chips in the panel): like the welcome
   chips - light gradient, quiet border, blue icons */
.AIP-Home .AIP-Chip2:not(.AIP-Chip2Selected),
#AIPagePanel .AIP-Chip2:not(.AIP-Chip2Selected) {
	border-color: #1a222d;
	background: linear-gradient(180deg, #0c1a2c 0%, #0a121c 100%);
}

.AIP-Home .AIP-Chip2:not(.AIP-Chip2Selected):hover,
#AIPagePanel .AIP-Chip2:not(.AIP-Chip2Selected):hover {
	border-color: #29323c;
	background: linear-gradient(180deg, #0f1f33 0%, #0b1520 100%);
}

.AIP-Home .AIP-Chip2 .AIP-Chip2Icon svg,
#AIPagePanel .AIP-Chip2 .AIP-Chip2Icon svg {
	color: #3d8bff;
}

/* Chat fields (welcome, new page, Agent, AI panel): a fainter gradient than the chips and tiles */
.AIO-WField,
#AIBigChat .BC-Welcome .BC-Composer,
.AIP-Composer, .AIP-Composer:focus-within {
	background: linear-gradient(180deg, #0b1622 0%, #0a121c 100%);
}

/* Ready setups: step 2 as tall as step 1 (lower page previews) */
.AIR-LayPages .AIR-Lay {
	height: 208px;
}

/* Move a part: more room inside, the arrows do not touch the edge */
.AIO-Arrange .AIO-MovePart {
	gap: 6px;
	padding: 3px 4px;
}

.AIO-Arrange .AIO-MovePart > span {
	padding: 0 6px;
}

/* ===========================================================================
Every AI field you type into has the same fine border (#1f2a38), also on hover and while typing
=========================================================================== */
.AIO-WField, .AIO-WField:hover, .AIO-WField:focus-within,
#AIBigChat .BC-Welcome .BC-Composer, #AIBigChat .BC-Welcome .BC-Composer:hover, #AIBigChat .BC-Welcome .BC-Composer:focus-within,
.BC-Composer, .BC-Composer:hover, .BC-Composer:focus-within,
.AIP-Composer, .AIP-Composer:hover, .AIP-Composer:focus-within,
.AIW-Search, .AIW-Search:hover, .AIW-Search:focus-within,
.AIW-Composer, .AIW-Composer:hover, .AIW-Composer:focus-within,
.AIO-Prompt, .AIO-OwnPrompt,
.AIP-QOwn, .AIP-QOwn:focus-within,
.AIM-Name, .AIM-Name:focus, .AIM-Input, .AIM-Input:focus,
.SH-Input, .SH-Input:focus {
	border: solid 1px #1f2a38;
	box-shadow: none;
}

/* Get inspired: without the tags the cards can be lower */
.AIO-InspiredCard {
	min-height: 0;
	padding: 14px 14px 16px 14px;
}

/* Widgets: Upload your widget at the bottom of the list, set apart by a line */
.AIW-NavItem.AIW-Upload {
	margin-top: 12px;
	padding-top: 12px;
	border-top: solid 1px #1a222d;
	border-radius: 0;
	justify-content: flex-start;
	gap: 8px;
	color: var(--aip-text-secondary);
}

.AIW-NavItem.AIW-Upload:hover {
	color: var(--aip-text-primary);
}

.AIW-NavItem.AIW-Upload svg {
	width: 16px;
	height: 16px;
	flex: none;
	color: #3d8bff;
}

/* The cards' "..." button: flat, no gradient (also on hover) */
.AIW-CardBar .AIW-CardMore,
.AIW-CardBar .AIW-CardMore:hover {
	background: transparent;
}

.AIW-CardBar .AIW-CardMore:hover {
	background: #111d2b;
}

/* Tour: whole screenshots of the platform (3164 x 1980) - shown complete, nothing clipped:
   their own proportions, no clipped edge, corners rounded less than the content's distance */
.AIT-Img.AIT-ImgFull {
	clip-path: none;
	border-radius: 8px;
	aspect-ratio: 3164 / 1980;
	object-fit: contain;
	box-sizing: border-box;
	border: solid 1px #1a222d;
}

/* Tour: every picture whole - no clipped edge and square corners, so a highlight that runs to
   the picture's edge (e.g. the blue AI panel at the right) is never cut off */
.AIT-Img, .AIT-Img.AIT-ImgFull {
	clip-path: none;
	border-radius: 0;
	object-fit: contain;
	box-sizing: border-box;
	border: solid 1px #1a222d;
}

/* Widgets: the field like the other AI fields (faint gradient, 48 px, the AI mark 18 px), and the
   "Try" suggestions as quiet chips instead of heavy buttons */
.AIW-Search {
	min-height: 52px;
	padding: 8px 8px 8px 14px;
	gap: 12px;
	border-radius: 12px;
	background: linear-gradient(180deg, #0b1622 0%, #0a121c 100%);
}

.AIW-Search .AIW-SearchIcon svg {
	width: 18px;
	height: 18px;
}

.AIW-Search .AIW-Query {
	font-size: 13px;
	line-height: 20px;
}

.AIW-Search .AIW-Credits {
	font-size: 12px;
	color: var(--aip-text-secondary);
	white-space: nowrap;
}

.AIW-Try {
	gap: 8px;
}

.AIW-Try > span {
	font-size: 12px;
	color: var(--aip-text-secondary);
}

.AIW-Try .AIP-Btn {
	height: 30px;
	padding: 0 12px;
	border-color: #1a222d;
	background: linear-gradient(180deg, #0c1a2c 0%, #0a121c 100%);
	font-size: 12px;
	font-weight: 400;
	color: var(--aip-text-primary);
}

.AIW-Try .AIP-Btn:hover {
	border-color: #29323c;
	background: linear-gradient(180deg, #0f1f33 0%, #0b1520 100%);
}

.AIW-Search {
	box-sizing: border-box;
	min-height: 52px;
}

/* Widgets: no "for your page" / "instead of your chart" next to the title */
.AIW-Head .AIW-Sub {
	display: none;
}

/* ===========================================================================
Phone (BODY.AIMobile only - the desktop is not touched): the same calm look as the desktop,
fitted to a narrow screen
=========================================================================== */

/* Welcome: a title that fits, the chips centred in rows */
BODY.AIMobile #AIWelcome .AIO-TitleBig {
	font-size: 28px;
	line-height: 34px;
}

BODY.AIMobile #AIWelcome .AIO-Text {
	font-size: 13px;
}

/* AI panel (bottom sheet): no Wider on a phone */
BODY.AIMobile #AIPagePanel .AIP-Expand {
	display: none;
}

/* Agent: the whole screen above the bottom bar, chats over the chat when shown */
BODY.AIMobile #AIBigChat {
	left: 8px;
	right: 8px;
	top: calc(var(--ai-top, 50px) + 8px);
	bottom: 72px;
}

BODY.AIMobile #AIBigChat.BC-WithList .BC-List {
	position: absolute;
	inset: 0;
	z-index: 5;
	flex: none;
	width: auto;
	border-right: 0;
	background: var(--clr-widget-background, #09121c);
}

BODY.AIMobile #AIBigChat .BC-WelcomeTitle {
	font-size: 26px;
	line-height: 32px;
}

BODY.AIMobile #AIBigChat .BC-Welcome {
	padding: 0 16px;
}

/* Ready setups: the modal as wide as the screen; step 2 shows the pages one under the other,
   the step and the button each on their own line */
BODY.AIMobile #AIWelcome.AIR-Open .AIR-Pop,
BODY.AIMobile .AIR-Pop:has(> .AIR-Tiles) {
	width: calc(100vw - 24px);
	max-width: none;
	top: 12px;
	max-height: calc(100vh - 24px - 72px);
}

BODY.AIMobile .AIR-Head {
	padding-right: 52px;
}

BODY.AIMobile .AIR-LayPages {
	flex-direction: column;
	gap: 16px;
	padding: 12px;
}

BODY.AIMobile .AIR-LayPages .AIR-Lay {
	height: 150px;
}

BODY.AIMobile .AIR-Foot {
	flex-wrap: wrap;
	gap: 12px;
}

BODY.AIMobile .AIR-Foot .AIR-Step {
	flex: 1 1 100%;
}

BODY.AIMobile .AIR-Foot .AIP-BtnPrimary {
	flex: 1 1 100%;
	justify-content: center;
}

BODY.AIMobile .AIR-Foot .AIP-Spacer {
	display: none;
}

/* Get inspired: the footer wraps instead of being cut */
BODY.AIMobile .AIO-InspiredFoot {
	flex-wrap: wrap;
	gap: 8px;
}

BODY.AIMobile .AIO-InspiredFoot .AIP-Spacer {
	display: none;
}

/* Widgets: the cards in a row the same height, the button full width */
BODY.AIMobile .AIW-Card {
	display: flex;
	flex-direction: column;
}

BODY.AIMobile .AIW-Card .AIW-CardBody {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
}

BODY.AIMobile .AIW-Card .AIW-CardBar {
	margin-top: auto;
	padding-top: 8px;
}

/* Tour: a bit more room for the picture */
BODY.AIMobile .AIT-Modal {
	width: auto;
}

/* Ready setups on a phone: the step and the button stay at the bottom while the pages scroll */
BODY.AIMobile .AIR-Pop .AIR-Foot {
	position: sticky;
	bottom: 0;
	z-index: 2;
	background: #0a121c;
}

/* Tour: a step whose screens are still being made - an empty frame the size of the screenshots */
.AIT-ImgSoon {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #0a121c;
	color: #8a94a3;
	font-size: 14px;
}

.AIT-ImgSoon {
	flex-direction: column;
	gap: 8px;
	color: #c5ccd6;
	font-size: 15px;
}

.AIT-ImgSoon SVG {
	width: 40px;
	height: 40px;
	margin-bottom: 8px;
	color: #3d8bff;
}

.AIT-ImgSoonSub {
	font-size: 13px;
	color: #8a94a3;
}

/* AI fields a touch more visible: a slightly lighter border and fill (Martin, 30 Oct 2026) */
.AIO-WField, .AIO-WField:hover, .AIO-WField:focus-within,
#AIBigChat .BC-Welcome .BC-Composer, #AIBigChat .BC-Welcome .BC-Composer:hover, #AIBigChat .BC-Welcome .BC-Composer:focus-within,
.BC-Composer, .BC-Composer:hover, .BC-Composer:focus-within,
.AIP-Composer, .AIP-Composer:hover, .AIP-Composer:focus-within,
.AIW-Search, .AIW-Search:hover, .AIW-Search:focus-within,
.AIW-Composer, .AIW-Composer:hover, .AIW-Composer:focus-within,
.AIO-Prompt, .AIO-OwnPrompt,
.AIP-QOwn, .AIP-QOwn:focus-within,
.AIM-Name, .AIM-Name:focus, .AIM-Input, .AIM-Input:focus,
.SH-Input, .SH-Input:focus {
	border-color: #263345;
}

.AIO-WField,
#AIBigChat .BC-Welcome .BC-Composer,
.AIP-Composer, .AIP-Composer:focus-within,
.AIW-Search {
	background: linear-gradient(180deg, #0d1a29 0%, #0a131e 100%);
}

/* New page / next section in a small part of the window: the same content made compact so it fits
   without scrolling (lower part: no subtitle, low tiles with the icon beside the text; very low:
   no "or" field, the tiles only) */
.AIO-Section-d1 {
	container-type: size;
}

@container (max-height: 560px) {
	.AIO-Section-d1 .AIO-PickInner {
		padding: 16px 20px;
		min-height: calc(100% - 32px);
		gap: 8px;
	}
	.AIO-Section-d1 .AIO-PickCentre {
		gap: 10px;
	}
	.AIO-Section-d1 .AIO-PickCentre > .AIW-Dim {
		display: none;
	}
	.AIO-Section-d1 .AIO-PickTitle {
		font-size: 18px;
		line-height: 24px;
	}
	.AIO-Section-d1 .AIO-PickGrid {
		margin-top: 2px;
	}
	.AIO-Section-d1 .AIO-PickTile {
		height: 44px;
		flex-direction: row;
		gap: 8px;
	}
	.AIO-Section-d1 .AIO-PickTile svg {
		width: 16px;
		height: 16px;
	}
	.AIO-Section-d1 .AIO-WOr {
		margin: 2px 0 0 0;
	}
	.AIO-Section-d1 .AIO-PickField textarea {
		min-height: 20px;
		height: 20px;
	}
}

@container (max-height: 400px) {
	.AIO-Section-d1 .AIO-WOr,
	.AIO-Section-d1 .AIO-PickField {
		display: none;
	}
}

@container (max-height: 260px) {
	.AIO-Section-d1 .AIO-SecStep {
		display: none;
	}
	.AIO-Section-d1 .AIO-PickTitle {
		font-size: 15px;
		line-height: 20px;
	}
	.AIO-Section-d1 .AIO-PickTile {
		height: 36px;
	}
}

@container (max-width: 480px) {
	.AIO-Section-d1 .AIO-PickGrid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Straight to trading: quieter - no fill, a faint outline, smaller, text and icon in grey;
   it lights up a little on hover */
.AIO-WStraight {
	gap: 10px;
	padding: 8px 16px 8px 12px;
	border-color: #161e28;
	background: transparent;
	color: var(--aip-text-secondary);
	font-size: 13px;
}

.AIO-WStraight > svg {
	width: 16px;
	height: 16px;
	color: var(--aip-text-secondary);
}

.AIO-WStraight:hover {
	border-color: #29323c;
	background: rgba(255, 255, 255, 0.02);
	color: var(--aip-text-primary);
}

.AIO-WStraight:hover > svg {
	color: #3d8bff;
}


/* New chat in the panel's head (in place of Wider): the icon with its word, quiet like the close */
.AIP-HeadBtn.AIP-NewChatBtn {
	width: auto;
	gap: 6px;
	padding: 0 8px;
	font-size: 12px;
	white-space: nowrap;
}

.AIP-HeadBtn.AIP-NewChatBtn svg {
	width: 14px;
	height: 14px;
}

.AIP-HeadBtn.AIP-NewChatBtn:hover {
	color: var(--aip-text-primary);
}

/* Remove this chart / widget: the chip in red (text and icon), the outline as the others */
.AIP-Chip2.AIP-Chip2Danger,
.AIP-Chip2.AIP-Chip2Danger .AIP-Chip2Icon svg,
#AIPagePanel .AIP-Chip2.AIP-Chip2Danger .AIP-Chip2Icon svg {
	color: var(--aip-danger);
}

.AIP-Chip2.AIP-Chip2Danger:hover {
	border-color: rgba(255, 46, 5, 0.4);
}

/* New page, first step: a quiet cross at the top right cancels it (Escape too) */
.AIO-PickClose {
	all: unset;
	position: absolute;
	top: 16px;
	right: 16px;
	width: 32px;
	height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	border: solid 1px #1a222d;
	border-radius: 8px;
	color: var(--aip-text-secondary);
	cursor: pointer;
	z-index: 2;
}

.AIO-PickClose svg {
	width: 16px;
	height: 16px;
}

.AIO-PickClose:hover {
	border-color: #29323c;
	color: var(--aip-text-primary);
}

/* Widgets library: nothing matches what is typed (yet) */
.AIW-NoMatch {
	padding: 12px 4px 16px 4px;
	font-size: 13px;
}

/* Welcome (onboarding): one faint line on why the menus around do nothing yet */
.AIO-LockNote {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: auto;
	padding-top: 24px;
	font-size: 12px;
	color: #5d6878;
}

.AIO-LockNote svg {
	width: 12px;
	height: 12px;
	flex: none;
}

.AIO-LockNote + .AIO-Footer {
	padding-top: 6px;
}

BODY.AIMobile .AIO-LockNote {
	display: none;
}

/* AI panel: Recent changes in the head (a history icon, once there is a change) and its list */
.AIP-HeadBtn.AIP-RecentBtn svg {
	width: 16px;
	height: 16px;
}

.AIP-HeadBtn.AIP-RecentBtn:hover {
	color: var(--aip-text-primary);
}

.AIP-RecentPop {
	position: absolute;
	top: 56px;
	right: 16px;
	left: 16px;
	z-index: 20;
	max-height: 320px;
	overflow-y: auto;
	padding: 8px;
	box-sizing: border-box;
	background: #0a121c;
	border: solid 1px #1f2a38;
	border-radius: 12px;
	font-family: var(--font-family);
}

.AIP-RecentHead {
	padding: 4px 8px 8px 8px;
	font-size: 12px;
	color: var(--aip-text-secondary);
}

.AIP-RecentRow {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px;
	border-radius: 8px;
}

.AIP-RecentRow:hover {
	background: #0c1622;
}

.AIP-RecentText {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: 13px;
	color: var(--aip-text-primary);
}

.AIP-RecentWhen {
	font-size: 11px;
	color: var(--aip-text-secondary);
}

.AIP-RecentUndo {
	flex: none;
}

/* "My layout is done for now" showing: the page ends above it, nothing of a widget is covered */
BODY.AIDoneBarOn:not(.AIMobile) #PageContainer {
	min-height: calc(100% - 140px) !important;
	max-height: calc(100% - 140px) !important;
}

BODY.AIDoneBarOn:not(.AIMobile) .AIO-DoneBar {
	bottom: 14px;
}

/* Page layout window: the tiles as in Edit page (light gradient, fine border, soft grey blocks;
   the current one with a blue border and blue blocks), no blue on hover */
.AIM-Layout {
	border-color: #1a222d;
	background: linear-gradient(180deg, #0c1a2c 0%, #0a121c 100%);
}

.AIM-Layout:hover {
	border-color: #29323c;
	background: linear-gradient(180deg, #0f1f33 0%, #0b1520 100%);
}

.AIM-Layout .FXBAI-ThumbCell {
	border-radius: 3px;
	background-color: rgba(138, 148, 168, 0.22);
}

.AIM-LayoutCurrent,
.AIM-LayoutCurrent:hover {
	border-color: #0767f6;
	background: linear-gradient(180deg, #0c1a2c 0%, #0a121c 100%);
}

.AIM-LayoutCurrent .FXBAI-ThumbCell {
	background-color: rgba(7, 103, 246, 0.6);
}

/* No drop shadows or glows on the AI windows (one calm look): the dimmed page around a window
   already sets it apart */
.AIM-Modal {
	box-shadow: none;
}

/* Connect your own AI: the recommended way as a calm card (light gradient, fine border, no blue
   glow), its icon a blue glyph on a quiet tile instead of a filled blue square */
.AIX-Hero {
	background: linear-gradient(180deg, #0c1a2c 0%, #0a121c 100%);
	border-color: #1f2a38;
	box-shadow: none;
}

.AIX-HeroIcon {
	background: linear-gradient(180deg, #0c1a2c 0%, #0a121c 100%);
	border: solid 1px #1a222d;
	box-shadow: none;
	color: #3d8bff;
}

.AIX-HeroIcon svg {
	color: #3d8bff;
	stroke: currentColor;
}

/* Smaller laptops (up to 1280 px wide): a narrower AI panel, so the page keeps most of the width */
@media screen and (min-width: 901px) and (max-width: 1279px) {
	BODY.AIPanelOpen:not(.AIMobile):not(.AIPanelWide) #PageContainer {
		width: calc(var(--ai-pc-width, 100%) - 348px) !important;
	}
	BODY:not(.AIMobile) #AIPagePanel {
		width: 340px;
	}
}

/* The note about the locked menus is not shown (Martin, 30 Oct 2026) */
.AIO-LockNote {
	display: none;
}

/* Phone: the welcome and the Ready setups modal in the middle of the screen, not stuck to the top
   (a tall step 2 still fits: it is never taller than the screen and scrolls inside) */
BODY.AIMobile .AIO-Inner {
	margin: auto 0;
	min-height: 0;
	padding-top: 24px;
	padding-bottom: 24px;
}

BODY.AIMobile #AIWelcome.AIR-Open .AIR-Pop,
BODY.AIMobile .AIR-Pop:has(> .AIR-Tiles) {
	top: 50%;
	transform: translate(-50%, -50%);
	max-height: calc(100vh - 24px);
}

/* Phone: the handle strip at the top of the AI sheet can be dragged (ai-first-mobile.js) */
BODY.AIMobile #AIPagePanel .AIP-Head::before {
	cursor: grab;
}

BODY.AIMobile #AIPagePanel .AIP-Head {
	touch-action: none;
}

/* ---------------------------------------------------------------------------
FX Blue onboarding: three ways to start (Straight to trading, Pick it step by step, Build it with AI)
--------------------------------------------------------------------------- */

.AIO-Inner4.AIO-FXInner {
	width: 760px;
	max-width: calc(100vw - 32px);
}

.AIO-FXCards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	width: 100%;
}

.AIO-FXCard {
	all: unset;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-height: 176px;
	padding: 20px 18px;
	border: solid 1px #1a222d;
	border-radius: 8px;
	background: linear-gradient(180deg, #0c1a2c 0%, #0a121c 100%);
	cursor: pointer;
	text-align: center;
}

/* The same quiet hover as the ready setups tiles (no blue border) */
.AIO-FXCard:hover {
	border-color: #29323c;
	background: linear-gradient(180deg, #0f1f33 0%, #0b1520 100%);
}

.AIO-FXCard:disabled {
	cursor: default;
	opacity: 0.7;
}

.AIO-FXIcon {
	display: inline-flex;
	margin-bottom: 8px;
	color: #3d8bff;
}

.AIO-FXIcon svg {
	width: 32px;
	height: 32px;
	stroke-width: 1.2;
}

.AIO-FXTitle {
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	color: var(--aip-text-primary);
}

.AIO-FXText {
	max-width: 210px;
	font-size: 12px;
	line-height: 17px;
	color: var(--aip-text-secondary);
}

/* The anchor the ready setups open from takes no room */
#AIWelcome .AIO-FXAnchor {
	height: 0;
	margin-top: -14px;
}

#AIWelcome .AIO-FXAnchor > .AIO-WStraight {
	display: none;
}

/* Back to the three ways: top left corner of the welcome and of the first step of Pick it step by
   step, the same size and outline as the step's cross */
.AIO-FXBack {
	all: unset;
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 2;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	height: 32px;
	padding: 0 12px 0 8px;
	border: solid 1px #1a222d;
	border-radius: 8px;
	color: var(--aip-text-secondary);
	font-family: var(--font-family);
	font-size: 13px;
	line-height: 16px;
	cursor: pointer;
}

.AIO-FXBack:hover {
	border-color: #29323c;
	color: var(--aip-text-primary);
}

.AIO-FXBack svg {
	width: 16px;
	height: 16px;
}

BODY.AIMobile .AIO-FXCards {
	grid-template-columns: 1fr;
}

BODY.AIMobile .AIO-FXCard {
	min-height: 128px;
	padding: 16px;
}

BODY.AIMobile .AIO-FXText {
	max-width: 280px;
}

/* FX Blue: Straight to trading on the welcome itself (no modal). The step above the title; the
   setups as four tiles in a row, each with its line and its number of pages; then the picked one's
   pages as cards (the tiles' gradient), Start under them */
.AIO-Inner4.AIO-FXReady {
	width: 960px;
}

.AIO-FXReady > .AIO-FXStep2 {
	align-self: center;
	margin: 0 0 -4px 0;
	padding: 6px 12px;
	border: solid 1px #1a222d;
	border-radius: 999px;
}

.AIO-FXReady .AIO-FXTiles {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	padding: 0;
	width: 100%;
	gap: 12px;
}

.AIO-FXReady .AIO-FXSetup {
	height: auto;
	min-height: 184px;
	padding: 20px 16px 16px;
	justify-content: flex-start;
	gap: 6px;
}

.AIO-FXReady .AIO-FXSetup .AIR-TileIcon {
	margin: 4px 0 6px;
}

.AIO-FXReady .AIO-FXSetup .AIR-TileName {
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
}

.AIO-FXSetupLine {
	color: var(--aip-text-secondary);
	font-size: 12px;
	line-height: 17px;
	max-width: 190px;
}

.AIO-FXChip {
	display: inline-flex;
	align-items: center;
	height: 20px;
	padding: 0 8px;
	border-radius: 999px;
	background: #141c26;
	color: var(--aip-text-secondary);
	font-size: 11px;
	line-height: 14px;
	white-space: nowrap;
}

.AIO-FXSetup .AIO-FXChip {
	margin-top: auto;
}

.AIO-FXReady .AIO-FXLayPages {
	width: 100%;
	padding: 0;
	gap: 12px;
}

.AIO-FXPage {
	padding: 12px;
	gap: 12px;
	border: solid 1px #1a222d;
	border-radius: 8px;
	background: linear-gradient(180deg, #0c1a2c 0%, #0a121c 100%);
	text-align: left;
}

.AIO-FXPageHead {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.AIO-FXPageHead .AIR-LayName {
	font-weight: 600;
}

.AIO-FXPage .AIR-Lay {
	height: 200px;
	background: #09121c;
}

.AIO-FXStartBar {
	display: flex;
	justify-content: center;
	margin-top: 8px;
}

.AIO-FXReady .AIO-FXStart {
	height: 40px;
	padding: 0 20px;
	font-size: 14px;
}

BODY.AIMobile .AIO-FXReady .AIO-FXTiles {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

BODY.AIMobile .AIO-FXReady .AIO-FXSetup {
	min-height: 0;
	padding: 16px 12px 12px;
}

BODY.AIMobile .AIO-FXPage .AIR-Lay {
	height: 132px;
}

/* Mobile: everything fits the screen (no scrolling), Start right under the pages */
BODY.AIMobile .AIO-FXStartBar {
	align-self: stretch;
	margin-top: 4px;
}

BODY.AIMobile .AIO-FXReady .AIO-FXStart {
	flex: 1;
	justify-content: center;
	height: 44px;
}

/* While the setup is being made ("Setting up your platform...") there is no way back */
#AIWelcome:has(.AIO-Go:disabled) .AIO-FXBack {
	visibility: hidden;
}

/* Mobile: room for the back button above the content (the welcome scrolls) */
BODY.AIMobile #AIWelcome .AIO-FXInner {
	padding-top: 64px;
}

/* FX Blue: the three ways with a picture each (what you get), the icon small beside the title */
.AIO-Inner4.AIO-FXInner:not(.AIO-FXReady) {
	width: 900px;
}

.AIO-FXCards .AIO-FXCard {
	justify-content: flex-start;
	gap: 6px;
	min-height: 0;
	padding: 12px 12px 20px;
}

.AIO-FXPic {
	display: block;
	width: 100%;
	margin-bottom: 12px;
}

.AIO-FXPic svg {
	display: block;
	width: 100%;
	height: auto;
}

.AIO-FXCards .AIO-FXTitle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.AIO-FXCards .AIO-FXIcon {
	margin: 0;
}

.AIO-FXCards .AIO-FXIcon svg {
	width: 18px;
	height: 18px;
	stroke-width: 1.4;
}

/* Hover: the picture's frame lights up a little (no blue border on the card) */
.AIO-FXCard:hover .AIO-FXPic svg > rect:first-child {
	stroke: #29323c;
}

BODY.AIMobile .AIO-FXCards .AIO-FXCard {
	display: grid;
	grid-template-columns: 64px 1fr;
	grid-template-rows: auto auto;
	align-content: center;
	align-items: start;
	column-gap: 14px;
	row-gap: 4px;
	text-align: left;
	padding: 12px;
	min-height: 0;
}

BODY.AIMobile .AIO-FXPic {
	grid-row: 1 / span 2;
	align-self: center;
	width: 64px;
	min-width: 0;
	margin: 0;
}

BODY.AIMobile .AIO-FXPic svg {
	width: 64px;
	height: 100px;
}

BODY.AIMobile .AIO-FXCards .AIO-FXTitle {
	align-self: end;
}

BODY.AIMobile .AIO-FXCards .AIO-FXText {
	max-width: none;
}

/* "Your page is ready": the close cross in the title row, right (the ready setups' cross is placed
   absolutely in the middle of its head, which put this one over the text) */
#AIReady .AIP-BoxTitle {
	align-items: center;
}

#AIReady .AIR-Close {
	position: static;
	transform: none;
	margin: 0;
	flex: 0 0 auto;
}

/* Straight to trading page by page (FX Blue): the card next to the new page's item in the left
   menu, an arrow pointing at it; on a phone docked at the bottom */
#AISetupCoach {
	position: fixed;
	z-index: 1200;
	width: 300px;
	box-sizing: border-box;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	border: solid 1px #29323c;
	border-radius: 10px;
	background: #141c26;
	color: var(--aip-text-primary);
	font-family: var(--font-family);
	font-size: 13px;
	line-height: 18px;
}

#AISetupCoach:before {
	content: "";
	position: absolute;
	left: -7px;
	top: var(--aic-arrow, 24px);
	width: 12px;
	height: 12px;
	margin-top: -6px;
	background: #141c26;
	border-left: solid 1px #29323c;
	border-bottom: solid 1px #29323c;
	transform: rotate(45deg);
}

#AISetupCoach.AISC-Docked {
	left: 12px;
	right: 12px;
	bottom: 76px;
	width: auto;
}

#AISetupCoach.AISC-Docked:before {
	display: none;
}

.AISC-Step {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--aip-text-secondary);
	font-size: 11px;
	line-height: 14px;
}

.AISC-Dots {
	display: inline-flex;
	gap: 4px;
}

.AISC-Dots i {
	width: 16px;
	height: 3px;
	border-radius: 2px;
	background: var(--aip-border-strong);
}

.AISC-Dots i.AISC-DotOn {
	background: var(--aip-primary);
}

.AISC-Title {
	font-size: 15px;
	line-height: 20px;
	font-weight: 600;
}

.AISC-Text {
	color: var(--aip-text-secondary);
}

.AISC-Bar {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 8px;
}

.AISC-Skip {
	padding-left: 0;
	padding-right: 0;
	border: 0 !important;
	background: none !important;
	color: var(--aip-text-secondary);
}

.AISC-Skip:hover {
	color: var(--aip-text-primary);
}

.AISC-Gap {
	flex: 1;
}

/* The dim behind the page-by-page card (the same dim as under the tour), a hole over the new
   page's item in the left menu (cut by clip-path); the card stays above it */
#AISetupDim {
	position: fixed;
	inset: 0;
	z-index: 1190;
	background: rgba(0, 4, 10, 0.72);
}

/* Phone: "My layout is done for now" above the bottom bar (64 px) and above the platform's section
   tabs (Chart | Deal ticket | (New)) that a page with more parts shows there; it was under the bar */
BODY.AIMobile .AIO-DoneBar {
	bottom: 116px;
	z-index: 1210;
}

/* Phone: the open left menu ends above the bottom bar (its last items, Settings and Log out, were
   under it); open menu without the shadow, a fine line at its edge instead */
BODY.AIMobile #SystemMenu {
	height: calc(100% - 64px);
}

BODY.SysMenuVisible #SystemMenu {
	box-shadow: none;
	border-right: solid 1px #1a222d;
	box-sizing: border-box;
}

/* Phone, end of a new page: the parts top to bottom, each with up and down (no layouts to pick:
   a phone has its parts under each other) */
.AIO-ArrangePhone {
	max-width: 420px;
}

.AIO-OrderList {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 8px;
}

.AIO-OrderRow {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px;
	border: solid 1px #1a222d;
	border-radius: 8px;
	background: linear-gradient(180deg, #0c1a2c 0%, #0a121c 100%);
	text-align: left;
}

.AIO-OrderNum {
	width: 22px;
	height: 22px;
	flex: 0 0 22px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #141c26;
	color: var(--aip-text-secondary);
	font-size: 11px;
}

.AIO-OrderIcon {
	display: inline-flex;
	color: #3d8bff;
}

.AIO-OrderIcon svg {
	width: 20px;
	height: 20px;
}

.AIO-OrderName {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 2px;
	color: var(--aip-text-primary);
	font-size: 14px;
	line-height: 18px;
}

.AIO-OrderName .AIW-Dim {
	font-size: 12px;
	line-height: 16px;
}

.AIO-OrderRow .AIO-MoveBtn {
	width: 36px;
	height: 36px;
}

.AIO-OrderRow .AIO-MoveUp svg {
	transform: rotate(180deg);
}

.AIO-OrderKeep {
	border: 0 !important;
	margin-top: 12px;
	align-self: stretch;
	justify-content: center;
	height: 44px;
}

/* Phone: room for "All ways to start" above every step that has it (Build it with AI too, its
   title was under the button) */
BODY.AIMobile #AIWelcome .AIO-FXBack ~ .AIO-Inner {
	padding-top: 64px;
}

/* Phone: Get inspired fits the screen - one column of compact rows (icon left, name and two lines
   of what it is right), the header and the footer stay */
BODY.AIMobile .AIM-Modal.AIO-Inspired {
	display: flex;
	flex-direction: column;
	max-height: calc(100vh - 12px);
	overflow: hidden;
	box-shadow: none;
}

BODY.AIMobile .AIO-Inspired .AIO-InspiredGrid {
	grid-template-columns: 1fr;
	gap: 6px;
	padding: 10px 12px;
	overflow-y: auto;
	min-height: 0;
	flex: 1 1 auto;
}

BODY.AIMobile .AIO-Inspired .AIO-InspiredCard {
	display: grid;
	grid-template-columns: 22px 1fr;
	column-gap: 12px;
	row-gap: 2px;
	align-items: start;
	min-height: 0;
	padding: 10px 12px;
}

BODY.AIMobile .AIO-Inspired .AIO-InspiredIcon {
	grid-row: 1 / span 2;
	margin: 2px 0 0 0;
}

BODY.AIMobile .AIO-Inspired .AIO-InspiredIcon svg {
	width: 20px;
	height: 20px;
}

BODY.AIMobile .AIO-Inspired .AIO-InspiredTitle {
	margin: 0;
	font-size: 13px;
	line-height: 18px;
}

BODY.AIMobile .AIO-Inspired .AIO-InspiredText {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 11px;
	line-height: 15px;
}

BODY.AIMobile .AIO-Inspired .AIO-InspiredFoot {
	flex: 0 0 auto;
}

/* Widgets library: the card's "..." menu was cut by the card (it clips its corners); while the menu
   is open the card lets it out and sits above its neighbours. No shadow on the menu. On a phone the
   menu is as wide as the card, so it never leaves the screen. */
.AIW-Card:has(.AIW-CardBarOpen) {
	overflow: visible;
	z-index: 6;
}

.AIW-CardMenu {
	box-shadow: none;
}

BODY.AIMobile .AIW-CardMenu {
	left: 0;
	right: 0;
	min-width: 0;
}

BODY.AIMobile .AIW-CardMenu button {
	white-space: normal;
}

.AIW-Card:has(.AIW-CardBarOpen) .AIW-Thumb {
	border-radius: 10px 10px 0 0;
}

/* Phone, Straight to trading step 2: smaller so the pages and Start fit without scrolling */
BODY.AIMobile .AIO-FXReady {
	gap: 10px;
}

BODY.AIMobile .AIO-FXReady .AIO-TitleBig {
	font-size: 26px;
	line-height: 32px;
}

BODY.AIMobile .AIO-FXReady > .AIO-Text {
	margin-bottom: 4px;
	font-size: 12px;
	line-height: 16px;
}

BODY.AIMobile .AIO-FXReady .AIO-FXLayPages {
	gap: 8px;
}

BODY.AIMobile .AIO-FXPage {
	padding: 8px 10px 10px;
	gap: 8px;
}

BODY.AIMobile .AIO-FXPage .AIR-Lay {
	height: 96px;
}

BODY.AIMobile .AIO-FXReady .AIO-FXStart {
	height: 44px;
}

BODY.AIMobile #AIWelcome .AIO-FXInner.AIO-FXReady {
	padding-top: 60px;
	padding-bottom: 16px;
}

/* ===========================================================================
Phone on its side (BODY.AIMobile.AILandscape, 852 x 393 and alike): little height, so a low bottom
bar (icon and word side by side), the page down to it (the platform's banner is on the left there,
not on top), and the welcome steps laid out across instead of down so nothing scrolls
=========================================================================== */
BODY.AIMobile.AILandscape #AIBottomBar {
	height: 44px;
}

BODY.AIMobile.AILandscape #AIBottomBar button {
	flex-direction: row;
	gap: 8px;
}

BODY.AIMobile.AILandscape #PageContainer {
	min-height: calc(100% - 44px) !important;
	max-height: calc(100% - 44px) !important;
}

BODY.AIMobile.AILandscape #SystemMenu {
	height: calc(100% - 44px);
}

BODY.AIMobile.AILandscape .AIO-DoneBar {
	bottom: 56px;
}

BODY.AIMobile.AILandscape #AISetupCoach.AISC-Docked {
	left: auto;
	right: 12px;
	bottom: 56px;
	width: 340px;
}

/* Welcome: smaller title and text, room for the back button */
BODY.AIMobile.AILandscape #AIWelcome .AIO-Inner {
	padding-top: 52px;
	padding-bottom: 12px;
	gap: 8px;
	max-width: calc(100% - 48px);
}

BODY.AIMobile.AILandscape #AIWelcome .AIO-TitleBig {
	font-size: 24px;
	line-height: 30px;
}

BODY.AIMobile.AILandscape #AIWelcome .AIO-Inner > .AIO-Text {
	margin-bottom: 4px;
	font-size: 12px;
	line-height: 16px;
}

BODY.AIMobile.AILandscape #AIWelcome .AIO-FXBack {
	top: 10px;
	left: 12px;
}

/* The three ways side by side, the wide pictures on top */
BODY.AIMobile.AILandscape .AIO-Inner4.AIO-FXInner:not(.AIO-FXReady) {
	width: 760px;
	padding-top: 20px;
}

BODY.AIMobile.AILandscape .AIO-FXCards {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

BODY.AIMobile.AILandscape .AIO-FXCards .AIO-FXCard {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 8px 8px 12px;
	gap: 4px;
}

BODY.AIMobile.AILandscape .AIO-FXPic {
	width: 100%;
	margin: 0 0 6px 0;
}

BODY.AIMobile.AILandscape .AIO-FXPic svg {
	width: 100%;
	height: auto;
}

BODY.AIMobile.AILandscape .AIO-FXCards .AIO-FXTitle {
	font-size: 13px;
	line-height: 18px;
}

BODY.AIMobile.AILandscape .AIO-FXCards .AIO-FXText {
	font-size: 11px;
	line-height: 15px;
	max-width: 220px;
}

/* Ready setups: four tiles in a row */
BODY.AIMobile.AILandscape .AIO-Inner4.AIO-FXReady {
	width: 800px;
}

BODY.AIMobile.AILandscape .AIO-FXReady .AIO-FXTiles {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
}

BODY.AIMobile.AILandscape .AIO-FXReady .AIO-FXSetup {
	min-height: 0;
	padding: 12px 10px;
	gap: 4px;
}

BODY.AIMobile.AILandscape .AIO-FXReady .AIO-FXSetup .AIR-TileIcon {
	margin: 0 0 2px;
}

BODY.AIMobile.AILandscape .AIO-FXReady .AIO-FXSetup .AIR-TileIcon svg {
	width: 24px;
	height: 24px;
}

BODY.AIMobile.AILandscape .AIO-FXSetupLine {
	font-size: 11px;
	line-height: 15px;
}

BODY.AIMobile.AILandscape .AIO-FXReady > .AIO-FXStep2 {
	padding: 4px 10px;
}

/* Step 2: the pages side by side, Start under them (not full width) */
BODY.AIMobile.AILandscape .AIO-FXReady .AIO-FXLayPages {
	flex-direction: row;
	gap: 8px;
}

BODY.AIMobile.AILandscape .AIO-FXPage .AIR-Lay {
	height: 110px;
}

BODY.AIMobile.AILandscape .AIO-FXStartBar {
	align-self: center;
	margin-top: 2px;
}

BODY.AIMobile.AILandscape .AIO-FXReady .AIO-FXStart {
	flex: 0 0 auto;
	height: 36px;
	padding: 0 20px;
}

/* Build it with AI: the ideas in one row */
BODY.AIMobile.AILandscape .AIO-WChips {
	flex-wrap: nowrap;
}

/* Get inspired: two columns */
BODY.AIMobile.AILandscape .AIO-Inspired .AIO-InspiredGrid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

BODY.AIMobile.AILandscape .AIM-Modal.AIO-Inspired {
	max-height: calc(100vh - 8px);
}

/* Phone on its side: the platform's banner is the left column (menu, logo, widgets at its top);
   the page icons go in that column under them (the mini menu was hidden under the banner), the
   page starts after the column */
BODY.AIMobile.AILandscape #SysMenuMini {
	display: block !important;
	left: 0;
	top: 136px;
	width: 40px;
	height: calc(100% - 136px - 44px);
	z-index: 2;
}

BODY.AIMobile.AILandscape #PageContainer {
	left: 40px !important;
	width: calc(100% - 40px) !important;
	min-width: 0 !important;
}

/* The tour on its side: picture left, words and buttons right, in the middle of the screen */
BODY.AIMobile.AILandscape #AIModalOverlay {
	align-items: center;
}

BODY.AIMobile.AILandscape .AIM-Modal.AIT-Modal {
	display: grid;
	grid-template-columns: minmax(0, 46%) minmax(0, 1fr);
	grid-auto-rows: min-content;
	column-gap: 20px;
	row-gap: 6px;
	align-content: start;
	width: calc(100vw - 24px) !important;
	max-width: 760px;
	max-height: calc(100vh - 16px);
	border-radius: 14px;
	padding: 14px 16px;
}

BODY.AIMobile.AILandscape .AIT-Modal > .AIT-Img {
	grid-column: 1;
	grid-row: 1 / span 4;
	margin: 0;
	width: 100%;
	max-height: calc(100vh - 48px);
	object-fit: cover;
}

BODY.AIMobile.AILandscape .AIT-Modal > .AIT-ImgSoon {
	height: 200px;
	aspect-ratio: auto;
}

BODY.AIMobile.AILandscape .AIT-Modal > :not(.AIT-Img) {
	grid-column: 2;
}

BODY.AIMobile.AILandscape .AIT-Modal > .AIT-Bar {
	margin-top: 10px;
}

/* Phone on its side, final: no bar at the bottom. Trade, Account, AI and Widgets are icons at the
   bottom of the left column, a line above them parts them from the pages; the page icons sit
   between the menu button (top) and them; the page is the full height */
BODY.AIMobile.AILandscape #AIBottomBar {
	left: 0;
	right: auto;
	top: auto;
	bottom: 0;
	width: 40px;
	height: auto;
	flex-direction: column;
	padding: 6px 0 4px;
	border-top: 0;
	background: transparent;
}

BODY.AIMobile.AILandscape #AIBottomBar::before {
	content: "";
	position: absolute;
	top: 0;
	left: 8px;
	right: 8px;
	border-top: solid 1px var(--aip-border-strong);
}

BODY.AIMobile.AILandscape #AIBottomBar button {
	flex: 0 0 38px;
	height: 38px;
	border-left: 0;
	gap: 0;
}

BODY.AIMobile.AILandscape #AIBottomBar button > span:not(.AIB-Icon) {
	display: none;
}

BODY.AIMobile.AILandscape #AIBottomBar .AIB-Icon svg {
	width: 20px;
	height: 20px;
}

BODY.AIMobile.AILandscape #SysMenuMini {
	top: 50px;
	height: calc(100% - 50px - 166px);
}

BODY.AIMobile.AILandscape #PageContainer {
	min-height: 100% !important;
	max-height: 100% !important;
}

BODY.AIMobile.AILandscape #SystemMenu {
	height: 100%;
}

BODY.AIMobile.AILandscape .AIO-DoneBar {
	bottom: 12px;
}

BODY.AIMobile.AILandscape #AISetupCoach.AISC-Docked {
	bottom: 12px;
}

/* The tutorial dim covers the bottom bar (or the action icons) too; the card stays above it */
#AISetupDim {
	z-index: 1205;
}

#AISetupCoach {
	z-index: 1210;
}

/* Bottom bar / action icons: AI the same colour as the others (blue only when its panel is open),
   drawn as the AI chip */
#AIBottomBar button[data-key='ai'] .AIB-Icon svg {
	color: inherit;
}

#AIBottomBar button.AIB-Active .AIB-Icon svg {
	color: var(--aip-text-brand);
}

/* Phone: a page's detail (Settings on an AI page) above the bottom bar, its picture smaller */
BODY.AIMobile .BC-ArtOverlay {
	bottom: 64px;
	align-items: flex-end;
}

BODY.AIMobile .BC-ArtModal {
	max-width: calc(100vw - 16px);
	max-height: calc(100% - 16px);
	border-radius: 14px;
	box-shadow: none;
}

BODY.AIMobile .BC-ArtModal .BC-PlanBody {
	height: 190px;
}

BODY.AIMobile .BC-ArtModal .BC-Art {
	padding: 16px;
	overflow-y: auto;
}

/* Phone on its side: the agent and the detail over the page, right of the left column (the agent
   was placed under the top bar there and had no height) */
BODY.AIMobile.AILandscape #AIBigChat {
	left: 48px;
	right: 8px;
	top: 8px;
	bottom: 8px;
}

BODY.AIMobile.AILandscape .BC-ArtOverlay {
	left: 40px;
	bottom: 0;
	align-items: center;
}

BODY.AIMobile.AILandscape .BC-ArtModal {
	max-height: calc(100vh - 16px);
}

BODY.AIMobile.AILandscape .BC-ArtModal .BC-PlanBody {
	height: 120px;
}

/* iPhone: Safari only sends taps to things that look clickable - the dim around a window is one
   (a tap there closes it), the window itself is not */
#AIModalOverlay, .BC-ArtOverlay {
	cursor: pointer;
}

#AIModalOverlay > *, .BC-ArtOverlay > * {
	cursor: auto;
}

/* Phone: the detail scrolls inside, Add to my platform stays at its bottom */
BODY.AIMobile .BC-ArtModal .BC-ArtFoot {
	position: sticky;
	bottom: -16px;
	margin: 0 -16px -16px;
	padding: 10px 16px 14px;
	background: var(--aip-surface-raised);
	border-top: solid 1px #1a222d;
	z-index: 2;
}

/* Phone: the preview bar (Add to my platform / Back to chat) above the bottom bar - it was under
   it, so a preview had no way back; compact, the two buttons share the width */
BODY.AIMobile #AIPreviewBar {
	left: 8px;
	right: 8px;
	bottom: 72px;
	transform: none;
	z-index: 1210;
	flex-wrap: wrap;
	gap: 8px;
	padding: 10px;
	box-shadow: none;
}

BODY.AIMobile #AIPreviewBar > span {
	display: none;
}

BODY.AIMobile #AIPreviewBar > span:nth-child(2) {
	display: block;
	flex: 1 1 100%;
	font-size: 13px;
	line-height: 18px;
}

BODY.AIMobile #AIPreviewBar button {
	flex: 1 1 0;
	justify-content: center;
	height: 40px;
}

BODY.AIMobile #AIPreviewBar .AIPB-Back {
	order: 2;
}

BODY.AIMobile.AILandscape #AIPreviewBar {
	left: auto;
	right: 12px;
	bottom: 12px;
	width: 340px;
}

/* Phone: no Full chat in the AI panel (the panel is the chat there) */
BODY.AIMobile .AIP-FullAgent {
	display: none !important;
}

/* Phone on its side: the AI panel comes up right of the left column, so its icons stay */
BODY.AIMobile.AILandscape #AIPagePanel {
	left: 40px;
}

/* Phone: windows end above the bottom bar, so it stays to be tapped (Widgets again closes the
   library); on its side right of the left column. The cross has a finger-sized target, and the
   window has the sheet's grip at its top (pulled down it closes) */
BODY.AIMobile #AIModalOverlay {
	bottom: 64px;
}

BODY.AIMobile.AILandscape #AIModalOverlay {
	bottom: 0;
	left: 40px;
}

BODY.AIMobile .AIM-Close {
	min-width: 40px;
	min-height: 40px;
}

BODY.AIMobile #AIModalOverlay .AIM-Modal {
	position: relative;
}

/* (its head is for the finger: pulling it moves the window, the browser does not scroll) */
BODY.AIMobile #AIModalOverlay .AIM-Modal > :first-child {
	touch-action: none;
}

BODY.AIMobile #AIModalOverlay .AIM-Modal::before {
	content: "";
	position: absolute;
	top: 6px;
	left: 50%;
	width: 36px;
	height: 4px;
	margin-left: -18px;
	border-radius: 2px;
	background: var(--aip-border-strong);
	z-index: 3;
}

/* iPhone Safari: vh is the screen without its toolbars, so a window of 88vh was taller than what
   you see and its top (with the cross) sat above the screen. dvh is what is visible. */
BODY.AIMobile #AIModalOverlay {
	height: auto;
	top: 0;
}

BODY.AIMobile #AIModalOverlay .AIM-Modal {
	max-height: calc(100dvh - 64px - 16px);
}

BODY.AIMobile.AILandscape #AIModalOverlay .AIM-Modal {
	max-height: calc(100dvh - 12px);
}

BODY.AIMobile #AIPagePanel {
	height: min(82vh, calc(100dvh - 48px));
}

BODY.AIMobile.AILandscape #AIPagePanel {
	height: min(82vh, calc(100dvh - 24px));
}

/* The Widgets library on a phone was a fixed 92vh: on an iPhone its header and cross were above
   the screen. Now what is visible above the bottom bar (on its side: the visible height). */
BODY.AIMobile .AIW-Modal {
	height: calc(100dvh - 64px - 16px);
}

BODY.AIMobile.AILandscape .AIW-Modal {
	height: calc(100dvh - 12px);
}

/* Phone, a full page: the three parts to replace, or a new page */
.AIM-PhoneFull .AIM-FullParts {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 16px;
}

.AIM-PhoneFull .AIM-FullParts .AIP-Btn {
	height: 44px;
	justify-content: flex-start;
	padding: 0 14px;
}

.AIM-PhoneFull .AIM-FullParts .AIM-FullNew {
	justify-content: center;
	margin-top: 4px;
}

.AIM-PhoneFull .AIM-FullNew svg {
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
}

.AIM-PhoneFull .AIM-FullNew {
	gap: 8px;
}

/* Phone on its side, step 2 of Ready setups: the page previews take what is left of the visible
   height, so Start fits on a low phone too (iPhone SE, 375 px) */
BODY.AIMobile.AILandscape .AIO-FXPage .AIR-Lay {
	height: clamp(56px, calc(100dvh - 292px), 110px);
}

@media (max-height: 400px) {
	BODY.AIMobile.AILandscape #AIWelcome .AIO-Inner {
		gap: 6px;
		padding-top: 48px;
		padding-bottom: 8px;
	}
	BODY.AIMobile.AILandscape #AIWelcome .AIO-TitleBig {
		font-size: 22px;
		line-height: 28px;
	}
}

/* Phone on its side: the open menu is over the left column - the action icons go while it is open */
BODY.AIMobile.AILandscape.SysMenuVisible #AIBottomBar,
BODY.AIMobile.AILandscape.SysMenuPinned #AIBottomBar {
	display: none;
}

/* Trade: the MyTrader mark (as Trade in the platform top bar) */
.AIB-Icon .AIB-Mark {
	display: block;
	width: 22px;
	height: 22px;
	font-size: 20px;
	line-height: 22px;
	text-align: center;
}

.AIB-Icon .AIB-Mark::after {
	font-family: "Strive";
	content: "\e915";
}

/* Phone, first step of Pick it step by step: room for "All ways to start" above the title (it lay
   over it), and compact so the step and its field fit without scrolling */
BODY.AIMobile .AIO-PickInner:has(> .AIO-FXBack) {
	padding-top: 60px;
	min-height: calc(100% - 74px);
	box-sizing: content-box;
}

BODY.AIMobile .AIO-Section-d1 .AIO-FXBack {
	top: 12px;
	left: 12px;
}

BODY.AIMobile .AIO-Section-d1 .AIO-PickInner {
	padding-left: 14px;
	padding-right: 14px;
	padding-bottom: 14px;
}

BODY.AIMobile .AIO-Section-d1 .AIO-PickCentre {
	gap: 10px;
}

BODY.AIMobile .AIO-Section-d1 .AIO-PickTitle {
	font-size: 20px;
	line-height: 26px;
}

BODY.AIMobile .AIO-Section-d1 .AIO-PickCentre > .AIW-Dim {
	font-size: 12px;
	line-height: 16px;
}

BODY.AIMobile .AIO-Section-d1 .AIO-PickGrid {
	gap: 6px;
}

BODY.AIMobile .AIO-Section-d1 .AIO-PickTile {
	height: 48px;
	flex-direction: row;
	gap: 8px;
}

BODY.AIMobile .AIO-Section-d1 .AIO-PickTile svg {
	width: 16px;
	height: 16px;
}

BODY.AIMobile .AIO-Section-d1 .AIO-WOr {
	margin: 2px 0 0;
}

BODY.AIMobile .AIO-Section-d1 .AIO-PickField textarea {
	min-height: 40px;
}

/* Phone: the tour's phone screenshot (tall) - its top part, rounded, not the whole height */
.AIT-Img.AIT-ImgPhone {
	width: 100%;
	height: min(34dvh, 300px);
	aspect-ratio: auto;
	object-fit: cover;
	object-position: 50% 84%;
	border-radius: 12px;
	clip-path: none;
	border: solid 1px #1a222d;
	box-sizing: border-box;
}

BODY.AIMobile.AILandscape .AIT-Modal > .AIT-Img.AIT-ImgPhone {
	height: calc(100dvh - 60px);
	object-position: center;
}

/* Phone: a toast while a window is open goes to the top (it lay over the window's buttons) */
BODY.AIMobile:has(#AIModalOverlay) #AIToast {
	top: 12px;
	bottom: auto;
}

/* ===========================================================================
Phone: the bar's icons one family with the page icons of the left menu - grey, the same size; the
open one in the selected page's blue tile (#0d3678, its icon #0768f6). A window opened from the bar
(Trade, Account, a floating widget) covers the whole area like the AI panel, nothing behind it.
=========================================================================== */
#AIBottomBar button {
	color: var(--aip-text-secondary);
}

#AIBottomBar .AIB-Icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 30px;
	border-radius: 6px;
	color: var(--aip-text-secondary);
}

#AIBottomBar .AIB-Icon svg {
	width: 20px;
	height: 20px;
}

#AIBottomBar .AIB-Icon .AIB-Mark {
	width: 20px;
	height: 20px;
	font-size: 18px;
	line-height: 20px;
}

#AIBottomBar button.AIB-Active {
	color: #3d8bff;
}

#AIBottomBar button.AIB-Active .AIB-Icon,
#AIBottomBar button.AIB-Active .AIB-Icon svg {
	color: #0768f6;
}

#AIBottomBar button.AIB-Active .AIB-Icon {
	background: #0d3678;
}

BODY.AIMobile.AILandscape #AIBottomBar .AIB-Icon {
	height: 34px;
}

/* The window from the bar: the whole area (portrait: between the top bar and the bottom bar; on
   its side: right of the left column), not a box in the middle with the chart around it */
BODY.AIMobile.AIBarDialog .DialogOuterContainer {
	left: 0 !important;
	right: 0 !important;
	top: 50px !important;
	bottom: 64px !important;
	width: auto !important;
	height: auto !important;
	max-width: none !important;
	max-height: none !important;
	transform: none !important;
	border-radius: 0 !important;
}

BODY.AIMobile.AILandscape.AIBarDialog .DialogOuterContainer {
	left: 40px !important;
	top: 0 !important;
	bottom: 0 !important;
}

BODY.AIMobile.AIBarDialog .DialogOuterContainer > iframe {
	left: 0 !important;
	top: 0 !important;
	width: 100% !important;
	height: 100% !important;
}

/* While a window from the bar is open, the bar is above the platform's dim of the rest (it was tinted
   and could not be tapped), so another button can be picked */
BODY.AIMobile.AIBarDialog #AIBottomBar {
	z-index: 10060;
}

/* (the platform's slide-up window on a phone has stronger rules: top 10 px and the full height) */
html BODY.AIMobile.AIBarDialog .DialogOuterContainer.DialogFullScreen.AnimatedVisible {
	left: 0 !important;
	width: 100% !important;
	top: 50px !important;
	height: calc(100% - 50px - 64px) !important;
	border-radius: 0 !important;
}

html BODY.AIMobile.AILandscape.AIBarDialog .DialogOuterContainer.DialogFullScreen.AnimatedVisible {
	left: 40px !important;
	width: calc(100% - 40px) !important;
	top: 0 !important;
	height: 100% !important;
}

/* ---------------------------------------------------------------------------
FX Blue onboarding after the Platform update sync (19 Nov 2026)
--------------------------------------------------------------------------- */

/* The first screen: the platform (its chart) behind, the three ways as a window over it */
HTML.AIOnbPending.AIOnbBackdrop #PageContainer {
	visibility: visible !important;
}

#AIWelcome.AIO-FXChoiceModal {
	background: rgba(4, 8, 14, 0.64);
	overflow: hidden;
	justify-content: center;
}

#AIWelcome.AIO-FXChoiceModal > .AIO-FXInner {
	box-sizing: border-box;
	width: 820px;
	max-width: calc(100% - 48px);
	max-height: calc(100% - 48px);
	margin: auto;
	padding: 28px 28px 24px 28px;
	overflow-y: auto;
	border: solid 1px #29323c;
	border-radius: 12px;
	background: var(--aip-surface-raised);
}

.AIO-FXCards.AIO-FXCards2 {
	grid-template-columns: repeat(2, 1fr);
}

/* Beta: Build it with AI is a prototype */
.AIO-Beta {
	display: inline-flex;
	align-items: center;
	height: 18px;
	margin-left: 8px;
	padding: 0 6px;
	border: solid 1px #29323c;
	border-radius: 4px;
	font-size: 10px;
	font-weight: 600;
	line-height: 16px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	vertical-align: middle;
	color: var(--aip-text-secondary);
}

/* Pick it step by step: All widgets as its own wide button under the tiles */
.AIO-PickAllWide {
	all: unset;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	margin-top: 4px;
	padding: 12px 16px;
	border: solid 1px #1a222d;
	border-radius: 8px;
	background: linear-gradient(180deg, #0c1a2c 0%, #0a121c 100%);
	font-family: var(--font-family);
	cursor: pointer;
}

.AIO-PickAllWide:hover {
	border-color: #29323c;
	background: linear-gradient(180deg, #0f1f33 0%, #0b1520 100%);
}

.AIO-PickAllIcons {
	display: flex;
	flex: none;
	padding-left: 8px;
}

.AIO-PickAllIcons i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	margin-left: -8px;
	border: solid 1px #1a222d;
	border-radius: 50%;
	background: #0f1f33;
	color: #3d8bff;
}

.AIO-PickAllIcons i svg {
	width: 15px;
	height: 15px;
}

.AIO-PickAllText {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	text-align: left;
	font-size: 12px;
	line-height: 16px;
}

.AIO-PickAllTitle {
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	color: var(--aip-text-primary);
}

.AIO-PickAllGo {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 2px;
	font-size: 13px;
	color: var(--aip-text-secondary);
}

.AIO-PickAllWide:hover .AIO-PickAllGo {
	color: var(--aip-text-primary);
}

.AIO-PickAllGo svg {
	width: 16px;
	height: 16px;
}

BODY.AIMobile .AIO-PickAllIcons {
	display: none;
}

BODY.AIMobile .AIO-PickAllWide {
	padding: 10px 12px;
}

/* The library without AI: a plain find field */
.AIW-SearchPlain .AIW-SearchIcon svg {
	width: 16px;
	height: 16px;
}

/* Build it with AI (FX Blue): your own AI, then what exists right under the field */
.AIO-Inner4.AIO-AIPath {
	width: 900px;
	padding-bottom: 88px;
}

.AIO-AIConnect {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px;
	border: solid 1px #1a222d;
	border-radius: 8px;
	background: #0c1622;
}

.AIO-AIConnectIcon, .AIO-AICardIcon {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: #0f1f33;
	color: #3d8bff;
}

.AIO-AIConnectIcon svg {
	width: 20px;
	height: 20px;
}

.AIO-AIConnectText {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	font-size: 12px;
	line-height: 17px;
}

.AIO-AIConnectTitle {
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	color: var(--aip-text-primary);
}

.AIO-AIConnectBtn svg, .AIO-AIMatchBar .AIP-Btn svg {
	width: 14px;
	height: 14px;
	margin-right: 6px;
}

.AIO-AIVia {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: var(--aip-text-faint);
}

.AIO-AIVia svg {
	width: 14px;
	height: 14px;
}

.AIO-AILib {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 8px;
}

.AIO-AILibHead {
	display: flex;
	align-items: baseline;
	gap: 10px;
	font-size: 14px;
	font-weight: 600;
}

.AIO-AILibHead .AIW-Dim {
	font-size: 12px;
	font-weight: 400;
}

.AIO-AILibGrid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
}

.AIO-AICard {
	position: relative;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-height: 150px;
	padding: 14px;
	border: solid 1px #1a222d;
	border-radius: 8px;
	background: linear-gradient(180deg, #0c1a2c 0%, #0a121c 100%);
}

.AIO-AICardIcon {
	width: 32px;
	height: 32px;
}

.AIO-AICardIcon svg {
	width: 18px;
	height: 18px;
}

.AIO-AICardText {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 3px;
	font-size: 12px;
	line-height: 16px;
}

.AIO-AICardName {
	font-size: 13px;
	font-weight: 600;
	line-height: 18px;
	color: var(--aip-text-primary);
}

.AIO-AICardBar {
	display: flex;
	gap: 6px;
}

.AIO-AICardBar .AIP-Btn {
	flex: 1;
	justify-content: center;
}

.AIO-AICard > .AIW-Badge {
	position: absolute;
	top: 14px;
	right: 14px;
}

/* The rest of the list faded out at the bottom: there is more when you scroll */
.AIO-AIFade {
	position: sticky;
	bottom: 0;
	flex: none;
	width: 100%;
	height: 96px;
	margin-top: -96px;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(20, 28, 38, 0) 0%, rgba(20, 28, 38, 0.92) 70%, #141c26 100%);
}

/* What exists that comes close to what you asked */
.AIO-AIFound {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.AIO-AIFoundHead {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: var(--aip-text-primary);
}

.AIO-AIMatch {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 14px 16px;
	border: solid 1px #1a222d;
	border-radius: 8px;
	background: #0c1622;
}

.AIO-AIMatchBest {
	border-color: #29323c;
}

.AIO-AIMatchHead {
	display: flex;
	align-items: center;
	gap: 10px;
}

.AIO-AIMatchName {
	font-size: 14px;
	font-weight: 600;
}

.AIO-AIBest {
	margin-left: auto;
	font-size: 11px;
	color: var(--aip-text-secondary);
}

.AIO-Fits {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.AIO-Fit {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 12px;
	line-height: 17px;
	color: var(--aip-text-secondary);
}

.AIO-Fit b {
	font-weight: 600;
	color: var(--aip-text-primary);
}

.AIO-FitIcon {
	display: inline-flex;
	flex: none;
	width: 16px;
	height: 16px;
	margin-top: 1px;
}

.AIO-FitIcon svg {
	width: 14px;
	height: 14px;
}

.AIO-FitYes .AIO-FitIcon {
	color: #0adb5e;
}

.AIO-FitNo .AIO-FitIcon {
	color: #ff2e05;
}

.AIO-FitAlso .AIO-FitIcon {
	color: var(--aip-text-faint);
}

.AIO-AIMatchBar {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 4px;
}

.AIO-AIScratch {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	border: dashed 1px #29323c;
	border-radius: 8px;
}

.AIO-AIScratchText {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 3px;
	font-size: 12px;
	line-height: 16px;
}

.AIO-AIScratchText > span:first-child {
	font-size: 13px;
	font-weight: 600;
	color: var(--aip-text-primary);
}

BODY.AIMobile .AIO-AILibGrid {
	grid-template-columns: 1fr 1fr;
}

BODY.AIMobile .AIO-AIConnect, BODY.AIMobile .AIO-AIScratch {
	flex-wrap: wrap;
}

BODY.AIMobile #AIWelcome.AIO-FXChoiceModal > .AIO-FXInner {
	width: auto;
	max-width: none;
	max-height: calc(100% - 24px);
	margin: 12px;
	padding: 16px;
}

/* (the welcome centres its column: these take its whole width and read from the left) */
.AIO-AIPath > .AIO-AIConnect, .AIO-AIPath > .AIO-AIFound, .AIO-AIPath > .AIO-AILib, .AIO-AIPath > .AIO-WField {
	align-self: stretch;
	text-align: left;
}

.AIO-AICard {
	text-align: left;
}

/* (a phone too: the platform shows through, the window over it) */
BODY.AIMobile #AIWelcome.AIO-FXChoiceModal {
	background: rgba(4, 8, 14, 0.64);
}

BODY.AIMobile .AIO-AILibHead {
	flex-direction: column;
	gap: 2px;
}

/* (the chart behind the first window: 20% less of it, 36% instead of 45%) */

/* ---------------------------------------------------------------------------
Pick it step by step, the pick step (FX Blue): cards with a picture of each widget, the whole
library as its own card
--------------------------------------------------------------------------- */

.AIO-P2 {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	width: 100%;
	max-width: 780px;
	margin: 0 auto;
	container-type: inline-size;
}

.AIO-P2Head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin-bottom: 6px;
	text-align: center;
}

.AIO-P2Step {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 26px;
	padding: 0 10px;
	border: solid 1px #1a222d;
	border-radius: 13px;
	font-size: 12px;
	color: var(--aip-text-secondary);
}

.AIO-P2Step svg {
	width: 14px;
	height: 14px;
	color: #3d8bff;
}

.AIO-P2 .AIO-P2Title {
	margin: 0;
	font-size: 28px;
	line-height: 36px;
	font-weight: 500;
}

.AIO-P2Sub {
	max-width: 520px;
	font-size: 13px;
	line-height: 19px;
	color: var(--aip-text-secondary);
}

.AIO-P2Label {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--aip-text-faint);
}

.AIO-P2Label i {
	flex: 1;
	height: 1px;
	background: #1a222d;
}

.AIO-P2Grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	width: 100%;
}

.AIO-P2Tile {
	all: unset;
	position: relative;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	min-width: 0;
	border: solid 1px #1a222d;
	border-radius: 10px;
	background: linear-gradient(180deg, #0c1a2c 0%, #0a121c 100%);
	font-family: var(--font-family);
	cursor: pointer;
	overflow: hidden;
}

.AIO-P2Tile:hover {
	border-color: #29323c;
	background: linear-gradient(180deg, #0f1f33 0%, #0b1520 100%);
}

.AIO-P2Prev {
	display: flex;
	height: 84px;
	padding: 10px 10px 0 10px;
	box-sizing: border-box;
}

.AIO-P2Meta {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 10px 12px 12px 12px;
	text-align: left;
}

.AIO-P2Name {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	line-height: 18px;
	color: var(--aip-text-primary);
}

.AIO-P2Icon {
	display: inline-flex;
	flex: none;
	color: #3d8bff;
}

.AIO-P2Icon svg {
	width: 14px;
	height: 14px;
}

.AIO-P2Hint {
	font-size: 11px;
	line-height: 15px;
	color: var(--aip-text-secondary);
}

.AIO-P2Plus {
	position: absolute;
	top: 8px;
	right: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border: solid 1px #29323c;
	border-radius: 50%;
	background: #141c26;
	color: var(--aip-text-primary);
	opacity: 0;
}

.AIO-P2Plus svg {
	width: 14px;
	height: 14px;
}

.AIO-P2Tile:hover .AIO-P2Plus {
	opacity: 1;
}

/* The whole library: its own card, with its number */
.AIO-P2All {
	all: unset;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 16px;
	width: 100%;
	margin-top: 4px;
	padding: 14px 18px 14px 14px;
	border: solid 1px #29323c;
	border-radius: 10px;
	background: #0c1622;
	font-family: var(--font-family);
	cursor: pointer;
}

.AIO-P2All:hover {
	background: #0f1b29;
}

.AIO-P2AllNum {
	display: flex;
	flex: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 10px;
	background: #0f1f33;
	color: var(--aip-text-secondary);
	font-size: 11px;
	line-height: 13px;
}

.AIO-P2AllNum b {
	font-size: 24px;
	line-height: 28px;
	font-weight: 600;
	color: #3d8bff;
}

.AIO-P2AllBody {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
	text-align: left;
}

.AIO-P2AllTitle {
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	color: var(--aip-text-primary);
}

.AIO-P2Chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.AIO-P2Chip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	height: 24px;
	padding: 0 9px;
	border: solid 1px #1a222d;
	border-radius: 12px;
	font-size: 11px;
	color: var(--aip-text-secondary);
	white-space: nowrap;
}

.AIO-P2Chip svg {
	width: 12px;
	height: 12px;
	color: #3d8bff;
}

.AIO-P2Chip.AIO-P2More {
	color: var(--aip-text-primary);
}

.AIO-P2AllGo {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 2px;
	height: 32px;
	padding: 0 10px 0 14px;
	border: solid 1px #29323c;
	border-radius: 8px;
	font-size: 13px;
	color: var(--aip-text-primary);
}

.AIO-P2AllGo svg {
	width: 16px;
	height: 16px;
}

@container (max-width: 560px) {
	.AIO-P2Grid { grid-template-columns: repeat(2, 1fr); }
	.AIO-P2AllGo { display: none; }
}

/* A low part or a phone: no pictures, compact cards */
.AIO-P2Short .AIO-P2Prev, .AIO-P2Short .AIO-P2Plus {
	display: none;
}

.AIO-P2Short .AIO-P2Meta {
	padding: 10px 12px;
}

.AIO-P2Short .AIO-P2Head {
	margin-bottom: 0;
}

.AIO-P2Short .AIO-P2Title {
	font-size: 22px;
	line-height: 28px;
}

.AIO-P2Short .AIO-P2AllNum {
	width: 48px;
	height: 48px;
}

.AIO-P2Short .AIO-P2AllNum b {
	font-size: 18px;
	line-height: 22px;
}

BODY.AIMobile .AIO-P2 {
	gap: 10px;
}

BODY.AIMobile .AIO-P2Hint {
	display: none;
}

BODY.AIMobile .AIO-P2Sub {
	font-size: 12px;
	line-height: 17px;
}

/* The small pictures of widgets */
.AIO-PV {
	position: relative;
	display: flex;
	flex: 1;
	min-width: 0;
	border: solid 1px #131c26;
	border-radius: 6px;
	background: #09121c;
	overflow: hidden;
	font-size: 9px;
	line-height: 11px;
	color: var(--aip-text-secondary);
	font-family: var(--font-family);
}

.AIO-PVChart svg {
	position: absolute;
	inset: 4px 4px 2px 4px;
	width: calc(100% - 8px);
	height: calc(100% - 6px);
}

.AIO-PVTrade {
	position: absolute;
	top: 4px;
	left: 4px;
	display: flex;
	gap: 3px;
}

.AIO-PVTrade i, .AIO-PVTicketRow i {
	font-style: normal;
	padding: 1px 4px;
	border-radius: 3px;
	color: #eef1fa;
	font-size: 8px;
}

.AIO-PVSell {
	background: rgba(255, 46, 5, 0.75);
}

.AIO-PVBuy {
	background: rgba(10, 219, 94, 0.55);
}

.AIO-PVTicket {
	flex-direction: column;
	gap: 3px;
	padding: 5px;
}

.AIO-PVTicketRow {
	display: flex;
	gap: 4px;
}

.AIO-PVTicketRow i {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 3px 0;
}

.AIO-PVTicketRow b {
	font-weight: 600;
	font-size: 9px;
}

.AIO-PVField {
	display: flex;
	justify-content: space-between;
	padding: 2px 5px;
	border: solid 1px #1a222d;
	border-radius: 3px;
	color: var(--aip-text-primary);
}

.AIO-PVField b {
	font-weight: 400;
	color: var(--aip-text-faint);
}

.AIO-PVRows {
	flex-direction: column;
	justify-content: space-evenly;
	padding: 2px 7px;
}

.AIO-PVRow {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	color: var(--aip-text-primary);
}

.AIO-PVa {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	white-space: nowrap;
}

.AIO-PVb {
	display: flex;
	flex: 1;
	justify-content: flex-end;
	white-space: nowrap;
}

.AIO-PVCal .AIO-PVb, .AIO-PVNews .AIO-PVb {
	justify-content: flex-start;
}

.AIO-PVBar {
	display: block;
	height: 4px;
	border-radius: 2px;
	background: #29323c;
}

.AIO-PVDot {
	display: inline-block;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #5a6270;
}

.AIO-PVDot.AIO-PVHi {
	background: #ff2e05;
}

.AIO-PVDot.AIO-PVMid {
	background: #fbb61b;
}

.AIO-PVTag {
	font-style: normal;
	font-size: 8px;
	padding: 0 3px;
	border-radius: 2px;
	background: #141c26;
}

.AIO-PV .AIO-Up {
	color: #0adb5e;
}

.AIO-PV .AIO-Down {
	color: #ff2e05;
}

.AIO-PVKpi {
	align-items: stretch;
	gap: 4px;
	padding: 6px;
}

.AIO-PVKpi i {
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: center;
	gap: 2px;
	padding: 0 5px;
	border-radius: 4px;
	background: #0c1622;
	font-style: normal;
}

.AIO-PVKpi b {
	font-size: 11px;
	line-height: 13px;
	font-weight: 600;
	color: var(--aip-text-primary);
}

/* ---------------------------------------------------------------------------
Build it with AI (FX Blue): the head with its three steps, connect with the two ways, examples,
the library by category with a picture of each widget
--------------------------------------------------------------------------- */

.AIO-AIHero {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.AIO-AIHeroIcon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: #0f1f33;
	color: #3d8bff;
}

.AIO-AIHeroIcon svg {
	width: 28px;
	height: 28px;
}

.AIO-AISteps {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-size: 12px;
	color: var(--aip-text-secondary);
}

.AIO-AISteps span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.AIO-AISteps b {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border: solid 1px #29323c;
	border-radius: 50%;
	font-size: 10px;
	font-weight: 600;
	color: var(--aip-text-primary);
}

.AIO-AISteps i {
	width: 24px;
	height: 1px;
	background: #29323c;
}

.AIO-AIPath > .AIO-AIConnect2, .AIO-AIPath > .AIO-AITry {
	align-self: stretch;
	text-align: left;
}

.AIO-AIConnect2 {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 18px;
	border: solid 1px #1a222d;
	border-radius: 10px;
	background: #0c1622;
}

.AIO-AIC2Head {
	display: flex;
	align-items: center;
	gap: 14px;
}

.AIO-AIC2Opts {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.AIO-AIC2Opt {
	all: unset;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px;
	border: solid 1px #1a222d;
	border-radius: 8px;
	background: linear-gradient(180deg, #0c1a2c 0%, #0a121c 100%);
	font-family: var(--font-family);
	cursor: pointer;
}

.AIO-AIC2Opt:hover {
	border-color: #29323c;
}

.AIO-AIC2OptIcon {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: #0f1f33;
	color: #3d8bff;
}

.AIO-AIC2OptIcon svg {
	width: 18px;
	height: 18px;
}

.AIO-AIC2OptText {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
	font-size: 12px;
	line-height: 16px;
}

.AIO-AIC2OptTitle {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 600;
	color: var(--aip-text-primary);
}

.AIO-AIC2Rec {
	padding: 1px 6px;
	border-radius: 4px;
	background: #0d3678;
	font-size: 10px;
	font-weight: 600;
	color: #3d8bff;
}

.AIO-AIC2Go {
	display: inline-flex;
	color: var(--aip-text-faint);
}

.AIO-AIC2Go svg {
	width: 16px;
	height: 16px;
}

.AIO-AITry {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: -4px;
}

.AIO-AICats {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.AIO-AICat {
	all: unset;
	box-sizing: border-box;
	height: 28px;
	padding: 0 12px;
	border: solid 1px #1a222d;
	border-radius: 14px;
	font-family: var(--font-family);
	font-size: 12px;
	line-height: 26px;
	color: var(--aip-text-secondary);
	cursor: pointer;
}

.AIO-AICat:hover {
	border-color: #29323c;
	color: var(--aip-text-primary);
}

.AIO-AICat.AIO-AICatOn {
	border-color: #0d3678;
	background: #0d3678;
	color: #eef1fa;
}

.AIO-AICard {
	min-height: 0;
	padding: 10px;
	gap: 10px;
}

.AIO-AICard:hover {
	border-color: #29323c;
}

.AIO-AICardPrev {
	position: relative;
	display: flex;
	height: 72px;
}

.AIO-AICardPrev > .AIW-Badge {
	position: absolute;
	top: 4px;
	right: 4px;
}

.AIO-AICardText {
	padding: 0 2px;
}

.AIO-AICardName {
	display: flex;
	align-items: center;
	gap: 6px;
}

.AIO-AIChangeBtn svg {
	width: 13px;
	height: 13px;
	margin-right: 5px;
}

BODY.AIMobile .AIO-AIC2Opts {
	grid-template-columns: 1fr;
}

BODY.AIMobile .AIO-AISteps i {
	display: none;
}

/* (the pick step takes the width it needs for four cards in a row) */
.AIO-PickCentre:has(> .AIO-P2) {
	width: 100%;
	max-width: 820px;
}

/* Too low even without pictures (a phone, part 2 or 3): names only, three in a row */
.AIO-P2Tiny .AIO-P2Sub, .AIO-P2Tiny .AIO-P2Label, .AIO-P2Tiny .AIO-P2Chips, .AIO-P2Tiny .AIO-P2Hint {
	display: none;
}

.AIO-P2Tiny.AIO-P2 {
	gap: 8px;
}

.AIO-P2Tiny .AIO-P2Head {
	gap: 4px;
}

.AIO-P2Tiny .AIO-P2Title {
	font-size: 18px;
	line-height: 24px;
}

.AIO-P2Tiny .AIO-P2Grid {
	grid-template-columns: repeat(3, 1fr);
	gap: 6px;
}

.AIO-P2Tiny .AIO-P2Meta {
	padding: 8px;
}

.AIO-P2Tiny .AIO-P2Name {
	flex-direction: column;
	gap: 3px;
	font-size: 11px;
	line-height: 14px;
	text-align: center;
}

.AIO-P2Tiny .AIO-P2All {
	gap: 10px;
	padding: 8px 12px 8px 8px;
}

.AIO-P2Tiny .AIO-P2AllNum {
	width: 36px;
	height: 36px;
	font-size: 0;
}

.AIO-P2Tiny .AIO-P2AllNum b {
	font-size: 15px;
}

.AIO-P2Tiny .AIO-P2AllTitle {
	font-size: 13px;
}

@container (max-width: 700px) {
	.AIO-PVKpi i:nth-child(3) { display: none; }
}

.AIO-P2Tiny .AIO-P2Step {
	display: none;
}

/* (cards never wider than their column; on a phone the categories in one row you swipe, no steps) */
.AIO-AILibGrid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

BODY.AIMobile .AIO-AILibGrid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.AIO-AICard, .AIO-AICardPrev, .AIO-AICardText {
	min-width: 0;
}

BODY.AIMobile .AIO-AICats {
	flex-wrap: nowrap;
	overflow-x: auto;
	scrollbar-width: none;
}

BODY.AIMobile .AIO-AICat {
	flex: none;
}

BODY.AIMobile .AIO-AISteps {
	display: none;
}

/* Pick it step by step: plain cards without pictures, 8 in two rows, then the library */
.AIO-P2Tile { min-height: 76px; }
.AIO-P2Meta { gap: 4px; padding: 14px 40px 14px 14px; }
.AIO-P2Name { font-size: 14px; }
.AIO-P2Icon svg { width: 15px; height: 15px; }
.AIO-P2Plus { top: 50%; right: 12px; margin-top: -12px; }

/* Build it with AI, the library: plain cards (no pictures), Show preview opens the widget first */
.AIO-AICard { cursor: pointer; gap: 12px; padding: 14px; }
.AIO-AICard > .AIW-Badge { position: static; align-self: flex-start; }
.AIO-AICardBar .AIP-Btn svg, .AIO-AIMatchPrev svg { width: 14px; height: 14px; margin-right: 6px; }
.AIO-AIMatchPrev { margin-left: auto; }

.AIO-AIPrevModal {
	display: flex;
	flex-direction: column;
	gap: 14px;
	width: 560px;
	padding: 20px;
}
.AIO-AIPrevModal .AIM-Head { display: flex; align-items: center; justify-content: space-between; }
.AIO-AIPrevModal .AIO-AICardName { font-size: 16px; }
.AIO-AIPrevModal .AIO-P2Icon svg { width: 16px; height: 16px; }
.AIO-AIPrevBox {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 240px;
	border: solid 1px #1a222d;
	border-radius: 10px;
	background: #0a121c;
	overflow: hidden;
}
.AIO-AIPrevPic { display: flex; width: 220px; height: 92px; zoom: 2.2; }
.AIO-AIPrevPic > * { flex: 1; }
.AIO-AIPrevNote {
	position: absolute;
	top: 10px;
	right: 12px;
	font-size: 11px;
	color: var(--aip-text-faint);
}
.AIO-AIPrevFeats { display: flex; flex-wrap: wrap; gap: 6px; }
.AIO-AIPrevFeats span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 10px;
	border: solid 1px #1a222d;
	border-radius: 999px;
	font-size: 12px;
	color: var(--aip-text-secondary);
}
.AIO-AIPrevFeats svg { width: 12px; height: 12px; color: #0adb5e; }
.AIO-AIPrevBar { display: flex; justify-content: flex-end; gap: 8px; }
.AIO-AIPrevBar .AIP-Btn svg { width: 14px; height: 14px; margin-right: 6px; }
@media (max-width: 600px) {
	.AIO-AIPrevBox { height: 170px; }
	.AIO-AIPrevPic { zoom: 1.5; }
	.AIO-AIPrevBar .AIP-Btn { flex: 1; justify-content: center; }
}

/* The library card: the same border, background and hover as the widget cards above it */
.AIO-P2All {
	border-color: #1a222d;
	background: linear-gradient(180deg, #0c1a2c 0%, #0a121c 100%);
}
.AIO-P2All:hover {
	border-color: #29323c;
	background: linear-gradient(180deg, #0f1f33 0%, #0b1520 100%);
}

/* Build it with AI: eight widgets, then one long card to show the rest or describe it */
.AIO-AIMore { cursor: default; margin-top: 0; }
.AIO-AIMore .AIO-P2AllBody { gap: 4px; }
.AIO-AIMore .AIO-P2AllBody .AIW-Dim { font-size: 12px; }
.AIO-AIMoreBar { display: flex; flex: none; gap: 8px; }
.AIO-AIMoreBar .AIP-Btn svg { width: 14px; height: 14px; margin-right: 6px; }
@media (max-width: 600px) {
	.AIO-AIMore { flex-wrap: wrap; }
	.AIO-AIMoreBar { width: 100%; }
	.AIO-AIMoreBar .AIP-Btn { flex: 1; justify-content: center; }
}

/* Show preview: the widget live in the platform, this bar over it */
#AIPreviewBar {
	position: fixed;
	left: 50%;
	bottom: 20px;
	z-index: 10050;
	display: flex;
	align-items: center;
	gap: 10px;
	box-sizing: border-box;
	width: max-content;
	max-width: calc(100vw - 32px);
	padding: 10px 10px 10px 14px;
	border: solid 1px #29323c;
	border-radius: 12px;
	background: #0c1622;
	transform: translateX(-50%);
	font-family: var(--font-family);
}
.AIO-PBIcon { display: inline-flex; color: #3d8bff; }
.AIO-PBIcon svg { width: 18px; height: 18px; }
.AIO-PBText { display: flex; flex-direction: column; gap: 2px; margin-right: 8px; font-size: 12px; line-height: 16px; }
.AIO-PBText b { font-size: 14px; font-weight: 600; line-height: 20px; color: var(--aip-text-primary); }
#AIPreviewBar .AIP-Btn svg { width: 14px; height: 14px; margin-right: 6px; }
@media (max-width: 600px) {
	#AIPreviewBar { flex-wrap: wrap; width: calc(100vw - 32px); bottom: 12px; }
	.AIO-PBText { flex: 1 1 calc(100% - 40px); margin: 0; }
	.AIO-PBText .AIW-Dim { display: none; }
	#AIPreviewBar .AIP-Btn { flex: 1; justify-content: center; }
}

/* Build it with AI, not connected yet: one small button, the window has MCP and API keys */
.AIO-AIConnect3 { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.AIO-AIConnect3 .AIP-Btn svg { width: 14px; height: 14px; margin-right: 6px; }
.AIO-AIConnect3 .AIW-Dim { font-size: 12px; }

/* The same 10px everywhere between the cards, the label above them and the library card below */
.AIO-P2 > .AIO-P2Grid, .AIO-P2 > .AIO-P2All { margin-top: -4px; }

/* Build it with AI, clearer: one blue button (Connect), quiet cards that open a preview */
.AIO-AICard { gap: 8px; padding: 14px; }
.AIO-AICard .AIO-AICardText .AIW-Dim { min-height: 32px; }
.AIO-AICardFoot {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 2px;
	font-size: 12px;
	line-height: 16px;
	color: var(--aip-text-secondary);
}
.AIO-AICardFoot svg { width: 14px; height: 14px; }
.AIO-AICardFoot svg:last-child { width: 12px; height: 12px; margin-left: auto; opacity: 0; }
.AIO-AICard:hover { border-color: #29323c; background: linear-gradient(180deg, #0f1f33 0%, #0b1520 100%); }
.AIO-AICard:hover .AIO-AICardFoot { color: var(--aip-text-primary); }
.AIO-AICard:hover .AIO-AICardFoot svg:last-child { opacity: 1; }
.AIO-AIMoreBar .AIO-AIBrowse svg { margin: 0 0 0 4px; width: 12px; height: 12px; }
.AIO-AIConnect3 { padding: 4px 0 6px 0; }

/* Build it with AI, v2: the field is the page; what exists is a quiet row of tiles under it */
.AIO-AIPath2 { gap: 18px; }
.AIO-AIPath2 .AIO-AIHero { margin-bottom: 6px; }
.AIO-AIConnBtn { flex: none; }
.AIO-AIConnBtn svg { width: 14px; height: 14px; margin-right: 6px; }
.AIO-AIPath2 .AIO-AIField { min-height: 120px; }
.AIO-AIExist { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.AIO-AIExistHead {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--aip-text-faint);
}
.AIO-AIExistHead i { flex: 1; height: 1px; background: #1a222d; }
.AIO-AIExistAll {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	color: var(--aip-text-secondary);
}
.AIO-AIExistAll:hover { color: var(--aip-text-primary); }
.AIO-AIExistAll svg { width: 12px; height: 12px; }
.AIO-AIExistGrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.AIO-AIExistTile {
	all: unset;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	height: 44px;
	padding: 0 12px;
	border: solid 1px #1a222d;
	border-radius: 10px;
	background: linear-gradient(180deg, #0c1a2c 0%, #0a121c 100%);
	font-family: var(--font-family);
	font-size: 13px;
	font-weight: 500;
	color: var(--aip-text-primary);
	cursor: pointer;
}
.AIO-AIExistTile:hover { border-color: #29323c; background: linear-gradient(180deg, #0f1f33 0%, #0b1520 100%); }
.AIO-AIExistName { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.AIO-AIExistEye { display: inline-flex; color: var(--aip-text-secondary); opacity: 0; }
.AIO-AIExistEye svg { width: 14px; height: 14px; }
.AIO-AIExistTile:hover .AIO-AIExistEye { opacity: 1; }
@media (max-width: 700px) {
	.AIO-AIExistGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.AIO-AIPath2 .AIO-AIVia span { display: none; }
}
.AIO-AIPath2 .AIO-AIExist { align-self: stretch; width: 100%; box-sizing: border-box; margin-left: 0; margin-right: 0; padding: 0; text-align: left; }
.AIO-AIExistTile { text-align: left; justify-content: flex-start; }

/* Build it with AI, not connected: Connect your Claude with MCP where the field will be */
.AIO-AIMcp {
	display: flex;
	align-items: center;
	gap: 14px;
	box-sizing: border-box;
	min-height: 120px;
	padding: 20px 22px;
	border: solid 1px #29323c;
	border-radius: 12px;
	background: linear-gradient(180deg, #0c1a2c 0%, #0a121c 100%);
	text-align: left;
}
.AIO-AIMcpIcon {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: #0f1f33;
	color: #3d8bff;
}
.AIO-AIMcpIcon svg { width: 22px; height: 22px; }
.AIO-AIMcpText { display: flex; flex: 1; flex-direction: column; gap: 4px; min-width: 0; font-size: 13px; line-height: 18px; }
.AIO-AIMcpTitle { font-size: 16px; font-weight: 600; line-height: 22px; color: var(--aip-text-primary); }
.AIO-AIMcpBar { display: flex; flex: none; flex-direction: column; align-items: center; gap: 8px; }
.AIO-AIMcpBar .AIP-BtnPrimary { padding-left: 18px; padding-right: 18px; }
.AIO-AIMcpKey { font-size: 12px; color: var(--aip-text-secondary); }
.AIO-AIMcpKey:hover { color: var(--aip-text-primary); }
@media (max-width: 700px) {
	.AIO-AIMcp { flex-wrap: wrap; }
	.AIO-AIMcpBar { width: 100%; }
	.AIO-AIMcpBar .AIP-BtnPrimary { width: 100%; justify-content: center; }
}
.AIO-AIPath2 .AIO-AIMcp { align-self: stretch; width: 100%; margin-left: 0; margin-right: 0; }

/* What exists: a little bigger, each with Preview live; Browse all as its own clear row */
.AIO-AIExistTile {
	flex-direction: column;
	align-items: stretch;
	justify-content: center;
	gap: 6px;
	height: auto;
	min-height: 72px;
	padding: 12px 14px;
}
.AIO-AIExistName { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.AIO-AIExistName > span:last-child { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.AIO-AIExistTile .AIO-AICardFoot { margin-top: 0; }
.AIO-AIExistTile:hover .AIO-AICardFoot { color: var(--aip-text-primary); }
.AIO-AIExistTile:hover .AIO-AICardFoot svg:last-child { opacity: 1; }
.AIO-AIBrowseBar {
	all: unset;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 12px 14px;
	border: solid 1px #29323c;
	border-radius: 10px;
	background: linear-gradient(180deg, #0c1a2c 0%, #0a121c 100%);
	font-family: var(--font-family);
	text-align: left;
	cursor: pointer;
}
.AIO-AIBrowseBar:hover { border-color: #3a4450; background: linear-gradient(180deg, #0f1f33 0%, #0b1520 100%); }
.AIO-AIBrowseIcon {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: #0f1f33;
	color: #3d8bff;
}
.AIO-AIBrowseIcon svg { width: 18px; height: 18px; }
.AIO-AIBrowseText { display: flex; flex: 1; flex-direction: column; gap: 2px; min-width: 0; font-size: 12px; line-height: 16px; }
.AIO-AIBrowseText b { font-size: 14px; font-weight: 600; line-height: 20px; color: var(--aip-text-primary); }
.AIO-AIBrowseGo {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 4px;
	padding: 7px 12px;
	border: solid 1px #29323c;
	border-radius: 8px;
	font-size: 13px;
	color: var(--aip-text-primary);
}
.AIO-AIBrowseGo svg { width: 12px; height: 12px; }
@media (max-width: 700px) { .AIO-AIBrowseGo { display: none; } }

/* Build it with AI: one border for every card on the page (the tiles' one), lighter only on hover */
.AIO-AIMcp, .AIO-AIBrowseBar, .AIO-AIExistTile { border-color: #1a222d; }
.AIO-AIBrowseBar:hover, .AIO-AIExistTile:hover { border-color: #29323c; }

/* The first window: a solid deep navy like the platform (not the grey raised surface), a touch
   darker than its cards so they stand out; the same fine border as the cards */
#AIWelcome.AIO-FXChoiceModal > .AIO-FXInner {
	border-color: #1a222d;
	background: linear-gradient(180deg, #0a1420 0%, #070d15 100%);
}

/* The first window: a light gradient (a touch of blue from the top), the chart behind a little darker */
#AIWelcome.AIO-FXChoiceModal > .AIO-FXInner {
	background:
		radial-gradient(120% 70% at 50% 0%, rgba(61, 139, 255, 0.07) 0%, rgba(61, 139, 255, 0) 70%),
		linear-gradient(180deg, #0f1c2c 0%, #0a131e 55%, #070d15 100%);
}
#AIWelcome.AIO-FXChoiceModal, BODY.AIMobile #AIWelcome.AIO-FXChoiceModal {
	background: rgba(4, 8, 14, 0.72);
}

/* Ready setups: Default on its own above (same size as before), the others under it, smaller */
.AIO-FXReady .AIO-FXTiles.AIO-FXTilesMain {
	grid-template-columns: minmax(0, calc((100% - 36px) / 4));
	justify-content: center;
}

.AIO-FXReady .AIO-FXTiles.AIO-FXTilesRest {
	grid-template-columns: repeat(var(--n, 3), minmax(0, 176px));
	justify-content: center;
	gap: 10px;
	margin-top: -4px;
}

.AIO-FXReady .AIO-FXSetup.AIO-FXSetupSmall {
	min-height: 0;
	padding: 14px 12px 12px;
	gap: 4px;
}

.AIO-FXReady .AIO-FXSetupSmall .AIR-TileIcon {
	margin: 0 0 4px;
	transform: scale(0.8);
}

.AIO-FXReady .AIO-FXSetupSmall .AIR-TileName {
	font-size: 13px;
	line-height: 18px;
}

.AIO-FXReady .AIO-FXSetupSmall .AIO-FXSetupLine {
	font-size: 11px;
	line-height: 15px;
}

.AIO-FXReady .AIO-FXSetupSmall .AIO-FXChip {
	margin-top: auto;
}

.AIO-FXReady .AIO-FXSetupSmall .AIO-FXSetupLine {
	margin-bottom: 6px;
}

BODY.AIMobile .AIO-FXReady .AIO-FXTiles.AIO-FXTilesMain {
	grid-template-columns: minmax(0, 1fr);
}

BODY.AIMobile .AIO-FXReady .AIO-FXTiles.AIO-FXTilesRest {
	grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr));
	gap: 8px;
	margin-top: -4px;
}

BODY.AIMobile .AIO-FXReady .AIO-FXSetupSmall .AIO-FXSetupLine {
	display: none;
}

/* Page layout window (24 Nov 2026): today's last layout option, Arrange the widgets yourself
   (Free), as one row under the grid; Page settings (today's window) next to the footer text */
.AIM-FreeRow {
	all: unset;
	box-sizing: border-box;
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	margin-top: 12px;
	padding: 12px 16px 12px 12px;
	border: solid 1px #1a222d;
	border-radius: 8px;
	background: linear-gradient(180deg, #0c1a2c 0%, #0a121c 100%);
	cursor: pointer;
}

.AIM-FreeRow:hover {
	border-color: #29323c;
	background: linear-gradient(180deg, #0f1f33 0%, #0b1520 100%);
}

.AIM-FreeRow.AIM-LayoutCurrent {
	height: auto;
	padding: 12px 16px 12px 12px;
	border-color: #0767f6;
}

.AIM-FreeThumb {
	position: relative;
	flex: none;
	width: 72px;
	height: 52px;
	border-radius: 6px;
	background: rgba(9, 18, 28, 0.9);
}

.AIM-FreeThumb i {
	position: absolute;
	border-radius: 3px;
	background: rgba(138, 148, 168, 0.22);
	border: solid 1px rgba(138, 148, 168, 0.28);
}

.AIM-FreeThumb i:nth-child(1) { left: 6px; top: 6px; width: 34px; height: 24px; }
.AIM-FreeThumb i:nth-child(2) { left: 30px; top: 22px; width: 34px; height: 22px; }
.AIM-FreeThumb i:nth-child(3) { left: 50px; top: 6px; width: 16px; height: 12px; }

.AIM-LayoutCurrent .AIM-FreeThumb i {
	background: rgba(7, 103, 246, 0.45);
	border-color: rgba(7, 103, 246, 0.6);
}

.AIM-FreeText {
	display: flex;
	flex-direction: column;
	gap: 2px;
	flex: 1;
	min-width: 0;
}

.AIM-FreeText b {
	font-weight: 600;
	font-size: 14px;
	color: var(--aip-text-primary);
}

.AIM-FreeText span {
	font-size: 12px;
	color: var(--aip-text-secondary);
}

.AIM-FreeGo {
	font-size: 20px;
	color: var(--aip-text-secondary);
}

.AIM-FreeRow .AIM-Marker {
	position: static;
	transform: none;
}

.AIM-LayoutModal .AIM-Footer {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 20px;
}

.AIM-LayoutModal .AIM-Footer > span {
	flex: 1;
}

.AIM-SettingsBtn {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.AIM-SettingsBtn svg {
	width: 16px;
	height: 16px;
}

/* ===========================================================================
Widgets window, plain (24 Nov 2026): plain search, By FX Blue over the whole window (scrolls),
the Creations Hub bar at the bottom, cards with a prominent name and two buttons
=========================================================================== */
.AIW-Modal.AIW2 {
	width: min(1120px, calc(100vw - 48px));
	height: min(780px, calc(100vh - 48px));
	border-color: #1a222d;
	background: linear-gradient(180deg, #0c1622 0%, #0a121c 100%);
}

.AIW2-Head {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 22px 24px 14px;
}

.AIW2-Titles {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.AIW2-Title {
	font-size: 20px;
	font-weight: 600;
	color: var(--aip-text-primary);
}

.AIW2-Sub {
	font-size: 13px;
	color: var(--aip-text-secondary);
}

.AIW2-Back {
	all: unset;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 32px;
	padding: 0 12px 0 8px;
	border: solid 1px #1a222d;
	border-radius: 8px;
	color: var(--aip-text-primary);
	font-size: 13px;
	cursor: pointer;
}

.AIW2-Back:hover {
	border-color: #29323c;
	background: var(--aip-surface-hover);
}

.AIW2-Back svg {
	width: 16px;
	height: 16px;
}

.AIW2-Tools {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 0 24px 16px;
	border-bottom: solid 1px #1a222d;
}

.AIW2-Search {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 42px;
	padding: 0 14px;
	border: solid 1px #1a222d;
	border-radius: 10px;
	background: #09111a;
	cursor: text;
}

.AIW2-Search:focus-within {
	border-color: #29323c;
}

.AIW2-SearchIcon {
	display: inline-flex;
	color: var(--aip-text-secondary);
}

.AIW2-SearchIcon svg {
	width: 18px;
	height: 18px;
}

.AIW2-Search input {
	all: unset;
	flex: 1;
	min-width: 0;
	font-size: 14px;
	color: var(--aip-text-primary);
}

.AIW2-Search input::placeholder {
	color: var(--aip-text-faint, #5a6270);
}

.AIW2-Cats {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.AIW2-Cat {
	all: unset;
	height: 28px;
	padding: 0 12px;
	border: solid 1px #1a222d;
	border-radius: 999px;
	font-size: 12px;
	line-height: 26px;
	color: var(--aip-text-secondary);
	cursor: pointer;
	box-sizing: border-box;
}

.AIW2-Cat:hover {
	border-color: #29323c;
	color: var(--aip-text-primary);
}

.AIW2-Cat.AIW2-CatOn {
	border-color: #2c323b;
	background: #2c323b;
	color: var(--aip-text-primary);
}

.AIW2-Body {
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	padding: 18px 24px 24px;
}

.AIW2-Grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 12px;
}

.AIW2-Card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 16px;
	border: solid 1px #1a222d;
	border-radius: 10px;
	background: linear-gradient(180deg, #0c1a2c 0%, #0a121c 100%);
	min-height: 156px;
	box-sizing: border-box;
}

.AIW2-Card:hover {
	border-color: #29323c;
}

.AIW2-CardHead {
	display: flex;
	align-items: center;
	gap: 10px;
}

.AIW2-CardIcon {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 8px;
	background: rgba(61, 139, 255, 0.1);
	color: #3d8bff;
}

.AIW2-CardIcon svg {
	width: 18px;
	height: 18px;
}

.AIW2-CardName {
	font-size: 16px;
	font-weight: 600;
	line-height: 20px;
	color: var(--aip-text-primary);
}

.AIW2-CardDesc {
	font-size: 12px;
	line-height: 17px;
	color: var(--aip-text-secondary);
}

.AIW2-CardBy {
	font-size: 11px;
	color: var(--aip-text-faint, #5a6270);
}

.AIW2-CardPic {
	height: 96px;
	margin: -4px -4px 2px;
	border-radius: 6px;
	overflow: hidden;
	background: #09111a;
}

.AIW2-CardPic img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.AIW2-CardBar {
	display: flex;
	gap: 8px;
	margin-top: auto;
	padding-top: 6px;
}

.AIW2-CardBar .AIP-Btn {
	flex: 1;
	min-width: 0;
	box-sizing: border-box;
	justify-content: center;
	height: 32px;
	padding: 0 8px;
	font-size: 12px;
	white-space: nowrap;
}

.AIW2-CardBar .AIW2-Float {
	flex: 1.25;
}

.AIW2-Empty {
	padding: 40px 0;
	text-align: center;
	color: var(--aip-text-secondary);
}

.AIW2-HubBar {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 24px;
	border-top: solid 1px #1a222d;
	background: #09111a;
}

.AIW2-HubIcon {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: #141c26;
	color: var(--aip-text-secondary);
}

.AIW2-HubIcon svg {
	width: 18px;
	height: 18px;
}

.AIW2-HubText {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.AIW2-HubText b {
	font-weight: 600;
	font-size: 14px;
	color: var(--aip-text-primary);
}

.AIW2-HubText span {
	font-size: 12px;
	color: var(--aip-text-secondary);
}

.AIW2-HubBtn {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.AIW2-HubBtn svg {
	width: 14px;
	height: 14px;
}

BODY.AIMobile .AIW-Modal.AIW2 {
	width: 100%;
	height: 100%;
}

BODY.AIMobile .AIW2-Grid {
	grid-template-columns: 1fr;
}

BODY.AIMobile .AIW2-HubText span {
	display: none;
}

/* ===========================================================================
A blank page you fill yourself (24 Nov 2026): the empty state in the middle of the page and the
"Add another widget" bar at its bottom
=========================================================================== */
#AIBlank {
	position: fixed;
	z-index: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	border: dashed 1px #29323c;
	border-radius: 8px;
	background:
		radial-gradient(60% 50% at 50% 40%, rgba(61, 139, 255, 0.06) 0%, rgba(61, 139, 255, 0) 70%),
		#0a121c;
}

.AIB-Center {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	max-width: 380px;
	padding: 24px;
	text-align: center;
}

.AIB-Big {
	all: unset;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 76px;
	height: 76px;
	margin-bottom: 10px;
	border: solid 1px #1a222d;
	border-radius: 18px;
	background: linear-gradient(180deg, #0f1f33 0%, #0b1520 100%);
	color: #3d8bff;
	cursor: pointer;
}

.AIB-Big svg {
	width: 30px;
	height: 30px;
}

.AIB-BigRing {
	position: absolute;
	inset: -9px;
	border: dashed 1px rgba(61, 139, 255, 0.35);
	border-radius: 24px;
	pointer-events: none;
}

.AIB-Big:hover {
	border-color: #29323c;
	background: linear-gradient(180deg, #12253d 0%, #0d1826 100%);
}

.AIB-Title {
	font-size: 20px;
	font-weight: 600;
	color: var(--aip-text-primary);
}

.AIB-Text {
	font-size: 13px;
	line-height: 19px;
	color: var(--aip-text-secondary);
}

.AIB-AddBtn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 8px;
	height: 38px;
	padding: 0 18px;
}

.AIB-AddBtn svg, .AIB-More svg {
	width: 16px;
	height: 16px;
}

#AIBlankBar {
	position: fixed;
	z-index: 760;
	left: 50%;
	bottom: 24px;
	transform: translate(-50%, -100%);
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 10px 10px 14px;
	border: solid 1px #29323c;
	border-radius: 12px;
	background: #0f1822;
	white-space: nowrap;
}

.AIB-BarIcon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(10, 219, 94, 0.12);
	color: #0adb5e;
}

.AIB-BarIcon svg {
	width: 16px;
	height: 16px;
}

.AIB-BarText {
	display: flex;
	flex-direction: column;
	gap: 1px;
	margin-right: 8px;
}

.AIB-BarText b {
	font-size: 13px;
	font-weight: 600;
	color: var(--aip-text-primary);
}

.AIB-BarText span {
	font-size: 12px;
	color: var(--aip-text-secondary);
}

.AIB-More {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

BODY.AIMobile #AIBlank {
	left: 0;
	right: 0;
	top: 56px;
	bottom: 64px;
	border-radius: 0;
	border: 0;
}

BODY.AIMobile #AIBlankBar {
	left: 8px;
	right: 8px;
	bottom: 72px;
	transform: none;
	flex-wrap: wrap;
	white-space: normal;
}

.AIB-Ready {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 6px;
	padding: 6px 12px 6px 8px;
	border: solid 1px #1a222d;
	border-radius: 999px;
	font-size: 12px;
	color: var(--aip-text-secondary);
}

.AIB-Ready svg {
	width: 16px;
	height: 16px;
	color: #0adb5e;
}

.AIO-FXCard.AIO-FXBusy {
	pointer-events: none;
}

/* ===========================================================================
Ready setups (24 Nov 2026): Default as one big card (a picture of the platform it makes, its
pages, Start right on it), the other setups under it as smaller cards in a row
=========================================================================== */
.AIRS {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
	max-width: 940px;
	align-self: center;
	text-align: left;
}

.AIRS-Hero {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	border: solid 1px #1a222d;
	border-radius: 14px;
	overflow: hidden;
	background: linear-gradient(180deg, #0d1b2d 0%, #0a131e 100%);
}

.AIRS-HeroPic {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 28px;
	border-right: solid 1px #1a222d;
	background:
		radial-gradient(90% 80% at 30% 20%, rgba(61, 139, 255, 0.10) 0%, rgba(61, 139, 255, 0) 70%),
		#09111b;
}

.AIRS-Screen {
	display: block;
	width: 100%;
	max-width: 400px;
	border-radius: 8px;
	border: solid 1px #29323c;
	overflow: hidden;
	line-height: 0;
}

.AIRS-Screen svg {
	display: block;
	width: 100%;
	height: auto;
}

.AIRS-HeroBody {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 28px 28px 24px;
}

.AIRS-Badge {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 24px;
	padding: 0 10px 0 8px;
	border-radius: 999px;
	background: rgba(7, 103, 246, 0.14);
	color: #3d8bff;
	font-size: 12px;
	font-weight: 500;
}

.AIRS-Badge svg {
	width: 14px;
	height: 14px;
}

.AIRS-HeroTitle {
	font-size: 28px;
	font-weight: 600;
	line-height: 34px;
	color: var(--aip-text-primary);
}

.AIRS-HeroText {
	font-size: 14px;
	line-height: 20px;
	color: var(--aip-text-secondary);
}

.AIRS-Pages {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 6px 0 4px;
}

.AIRS-Page {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 10px;
	border: solid 1px #1a222d;
	border-radius: 8px;
	background: rgba(9, 17, 27, 0.6);
}

.AIRS-PageIcon {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 7px;
	background: #141c26;
	color: var(--aip-text-primary);
	font-size: 13px;
}

.AIRS-PageIcon .AIM-IconFA {
	font-size: 14px;
}

.AIRS-PageText {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.AIRS-PageText b {
	font-size: 13px;
	font-weight: 600;
	color: var(--aip-text-primary);
}

.AIRS-PageText span {
	font-size: 12px;
	color: var(--aip-text-secondary);
}

.AIRS-HeroBar {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: auto;
	padding-top: 8px;
}

.AIRS-Start {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 42px;
	padding: 0 18px 0 20px;
	font-size: 14px;
}

.AIRS-Start svg {
	width: 16px;
	height: 16px;
}

.AIRS-See {
	font-size: 13px;
}

.AIRS-OrHead {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 8px;
	color: var(--aip-text-secondary);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.AIRS-OrHead i {
	flex: 1;
	height: 1px;
	background: #1a222d;
}

.AIRS-Small {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.AIRS-Small4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.AIRS-Small1 {
	grid-template-columns: minmax(0, 1fr);
}

.AIRS-Small2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.AIRS-Card {
	all: unset;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 14px;
	border: solid 1px #1a222d;
	border-radius: 10px;
	background: linear-gradient(180deg, #0c1a2c 0%, #0a121c 100%);
	cursor: pointer;
}

.AIRS-Card:hover {
	border-color: #29323c;
	background: linear-gradient(180deg, #0f1f33 0%, #0b1520 100%);
}

.AIRS-CardIcon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: rgba(61, 139, 255, 0.1);
	color: #3d8bff;
}

.AIRS-CardIcon svg {
	width: 18px;
	height: 18px;
}

.AIRS-CardText {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.AIRS-CardText b {
	font-size: 14px;
	font-weight: 600;
	color: var(--aip-text-primary);
}

.AIRS-CardText span {
	font-size: 12px;
	line-height: 16px;
	color: var(--aip-text-secondary);
}

.AIRS-CardFoot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
	color: var(--aip-text-secondary);
}

.AIRS-CardFoot svg {
	width: 16px;
	height: 16px;
}

BODY.AIMobile .AIRS-Hero {
	grid-template-columns: minmax(0, 1fr);
}

BODY.AIMobile .AIRS-HeroPic {
	border-right: 0;
	border-bottom: solid 1px #1a222d;
	padding: 16px;
}

BODY.AIMobile .AIRS-Screen {
	max-width: 160px;
}

BODY.AIMobile .AIRS-HeroBody {
	padding: 16px;
}

BODY.AIMobile .AIRS-HeroTitle {
	font-size: 22px;
}

BODY.AIMobile .AIRS-Small {
	grid-template-columns: minmax(0, 1fr);
}

/* After Straight to trading (24 Nov 2026): a page of your own, in the middle; a fine dashed line
   to + in the left menu and a soft ring around it */
#AINewPageMoment {
	position: fixed;
	inset: 0;
	z-index: 8800;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(4, 8, 14, 0.55);
}

.AINP-Line {
	position: absolute;
	left: 0;
	top: 0;
	pointer-events: none;
	overflow: visible;
}

.AINP-Line path {
	fill: none;
	stroke: rgba(61, 139, 255, 0.55);
	stroke-width: 1.2;
	stroke-dasharray: 4 5;
}

.AINP-Line circle {
	fill: #3d8bff;
}

.AINP-Ring {
	position: absolute;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	border: solid 1px rgba(61, 139, 255, 0.7);
	background: rgba(7, 103, 246, 0.12);
	pointer-events: none;
}

.AINP-Card {
	position: relative;
	width: 420px;
	max-width: calc(100vw - 32px);
	box-sizing: border-box;
	padding: 28px;
	border: solid 1px #1a222d;
	border-radius: 16px;
	background:
		radial-gradient(120% 70% at 50% 0%, rgba(61, 139, 255, 0.08) 0%, rgba(61, 139, 255, 0) 70%),
		linear-gradient(180deg, #0f1c2c 0%, #0a131e 100%);
	text-align: center;
}

.AINP-Pic {
	position: relative;
	height: 110px;
	margin: 0 auto 18px;
	width: 220px;
}

.AINP-Sheet {
	position: absolute;
	top: 14px;
	width: 70px;
	height: 88px;
	box-sizing: border-box;
	padding: 10px 8px;
	border: solid 1px #29323c;
	border-radius: 8px;
	background: #0c1622;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.AINP-Sheet i {
	display: block;
	height: 18px;
	border-radius: 3px;
	background: rgba(138, 148, 168, 0.18);
}

.AINP-Sheet i + i {
	height: 30px;
}

.AINP-Sheet1 {
	left: 10px;
	transform: rotate(-6deg);
}

.AINP-Sheet2 {
	left: 64px;
	top: 8px;
}

.AINP-SheetNew {
	left: 132px;
	top: 4px;
	width: 78px;
	height: 98px;
	align-items: center;
	justify-content: center;
	border: dashed 1px rgba(61, 139, 255, 0.7);
	background: rgba(7, 103, 246, 0.08);
	color: #3d8bff;
}

.AINP-SheetNew svg {
	width: 26px;
	height: 26px;
}

.AINP-Title {
	font-size: 22px;
	font-weight: 600;
	color: var(--aip-text-primary);
}

.AINP-Text {
	margin-top: 8px;
	font-size: 14px;
	line-height: 20px;
	color: var(--aip-text-secondary);
}

.AINP-Text b {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 5px;
	background: #141c26;
	color: var(--aip-text-primary);
	font-weight: 600;
}

.AINP-Bar {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 22px;
}

.AINP-Bar .AIP-Btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 38px;
	padding: 0 16px;
}

.AINP-Add svg {
	width: 16px;
	height: 16px;
}

/* Ready setups: tighter, so everything fits without scrolling; smaller setups as rows */
.AIRS-HeroPic {
	padding: 20px;
}

.AIRS-HeroBody {
	gap: 8px;
	padding: 22px 24px 20px;
}

.AIRS-HeroTitle {
	font-size: 26px;
	line-height: 30px;
}

.AIRS-Pages {
	gap: 4px;
	margin: 4px 0 2px;
}

.AIRS-Page {
	padding: 6px 10px;
}

.AIRS-PageIcon {
	width: 26px;
	height: 26px;
}

.AIRS-HeroBar {
	padding-top: 6px;
}

.AIRS-See,
.AIRS-See:hover {
	color: var(--aip-text-secondary) !important;
}

.AIRS-See:hover {
	color: var(--aip-text-primary) !important;
}

.AIRS-Card {
	flex-direction: row;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
}

.AIRS-CardIcon {
	flex: none;
}

.AIRS-CardText {
	flex: 1;
	min-width: 0;
}

.AIRS-CardFoot {
	flex: none;
	flex-direction: column;
	align-items: flex-end;
	gap: 6px;
	margin-top: 0;
}

.AIO-FXReady .AIRS-OrHead {
	margin-top: 4px;
}

/* ===========================================================================
Build it with AI as a chat with the FX Blue assistant (24 Nov 2026)
=========================================================================== */
#AIWelcome .AIBC {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 780px;
	min-height: 100%;
	margin: 0 auto;
	padding: 72px 24px 0;
	box-sizing: border-box;
	text-align: left;
}

.AIBC-Head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-bottom: 18px;
	margin-bottom: 8px;
	border-bottom: solid 1px #1a222d;
}

.AIBC-Avatar {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: solid 1px rgba(61, 139, 255, 0.35);
	background: linear-gradient(180deg, #10233b 0%, #0b1726 100%);
	color: #3d8bff;
}

.AIBC-Avatar svg {
	width: 18px;
	height: 18px;
}

.AIBC-Head .AIBC-Avatar {
	width: 42px;
	height: 42px;
}

.AIBC-Head .AIBC-Avatar svg {
	width: 22px;
	height: 22px;
}

.AIBC-HeadText {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.AIBC-HeadText b {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	font-weight: 600;
	color: var(--aip-text-primary);
}

.AIBC-HeadText > span {
	font-size: 12px;
	color: var(--aip-text-secondary);
}

.AIBC-Thread {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 20px 0 28px;
}

.AIBC-Row {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	animation: AIBC-In 0.25s ease-out;
}

@keyframes AIBC-In {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: none; }
}

.AIBC-You {
	justify-content: flex-end;
}

.AIBC-Bubble {
	max-width: 70%;
	padding: 10px 14px;
	border-radius: 14px 14px 4px 14px;
	background: #1a2433;
	color: var(--aip-text-primary);
	font-size: 14px;
	line-height: 20px;
}

.AIBC-Msg {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
	max-width: 620px;
	padding-top: 6px;
	color: var(--aip-text-primary);
	font-size: 14px;
	line-height: 21px;
}

.AIBC-MsgWide {
	flex: 1;
	max-width: none;
}

.AIBC-Text b {
	font-weight: 600;
}

.AIBC-Text svg {
	width: 16px;
	height: 16px;
	vertical-align: -3px;
	color: #0adb5e;
}

.AIBC-Dim {
	color: var(--aip-text-secondary);
}

.AIBC-Typing {
	display: inline-flex;
	gap: 4px;
	padding: 10px 0;
}

.AIBC-Typing i {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #5a6270;
	animation: AIBC-Dot 1s infinite ease-in-out;
}

.AIBC-Typing i:nth-child(2) { animation-delay: 0.15s; }
.AIBC-Typing i:nth-child(3) { animation-delay: 0.3s; }

@keyframes AIBC-Dot {
	0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
	40% { opacity: 1; transform: translateY(-3px); }
}

/* The two big buttons */
.AIBC-Choices {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.AIBC-Choice {
	all: unset;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 18px;
	min-height: 188px;
	border: solid 1px #1a222d;
	border-radius: 14px;
	background: linear-gradient(180deg, #0d1b2d 0%, #0a131e 100%);
	cursor: pointer;
	transition: border-color 0.15s, background 0.15s, opacity 0.2s;
}

.AIBC-Choice:hover {
	border-color: #29323c;
	background: linear-gradient(180deg, #10213a 0%, #0b1622 100%);
}

.AIBC-Choice[disabled] {
	cursor: default;
}

.AIBC-ChoicePicked,
.AIBC-ChoicePicked:hover {
	border-color: #0767f6;
}

.AIBC-ChoiceOff {
	opacity: 0.45;
}

.AIBC-ChoiceOff:hover {
	border-color: #1a222d;
	background: linear-gradient(180deg, #0d1b2d 0%, #0a131e 100%);
}

.AIBC-ChoiceIcon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin-bottom: 4px;
	border-radius: 10px;
	background: rgba(61, 139, 255, 0.1);
	color: #3d8bff;
}

.AIBC-ChoiceIcon svg {
	width: 22px;
	height: 22px;
}

.AIBC-ChoiceTitle {
	font-size: 17px;
	font-weight: 600;
	color: var(--aip-text-primary);
}

.AIBC-ChoiceText {
	font-size: 13px;
	line-height: 19px;
	color: var(--aip-text-secondary);
}

.AIBC-ChoiceFoot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 6px;
	color: var(--aip-text-secondary);
}

.AIBC-ChoiceFoot > svg {
	width: 18px;
	height: 18px;
}

.AIBC-Tag {
	display: inline-flex;
	align-items: center;
	height: 22px;
	padding: 0 9px;
	border-radius: 999px;
	background: #141c26;
	font-size: 11px;
	color: var(--aip-text-secondary);
}

.AIBC-Picked {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	font-weight: 500;
	color: #0adb5e;
}

.AIBC-Picked svg {
	width: 14px;
	height: 14px;
}

/* Default platform: the pages as they are made */
.AIBC-Steps {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 8px;
	border: solid 1px #1a222d;
	border-radius: 12px;
	background: #09111a;
}

.AIBC-Step {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 10px;
	border-radius: 8px;
	opacity: 0.45;
	transition: opacity 0.2s;
}

.AIBC-StepDone, .AIBC-StepNow {
	opacity: 1;
}

.AIBC-StepNow {
	background: rgba(255, 255, 255, 0.03);
}

.AIBC-StepMark {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: solid 1px #29323c;
	color: #0adb5e;
}

.AIBC-StepDone .AIBC-StepMark {
	border-color: rgba(10, 219, 94, 0.4);
	background: rgba(10, 219, 94, 0.12);
}

.AIBC-StepNow .AIBC-StepMark {
	border: 0;
}

.AIBC-StepMark svg {
	width: 12px;
	height: 12px;
}

.AIBC-StepMark .AIM-Spinner {
	width: 16px;
	height: 16px;
}

.AIBC-StepIcon {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 7px;
	background: #141c26;
	color: var(--aip-text-primary);
}

.AIBC-StepIcon .AIM-IconFA {
	font-size: 14px;
}

.AIBC-StepText {
	display: flex;
	flex-direction: column;
	line-height: 17px;
}

.AIBC-StepText b {
	font-size: 13px;
	font-weight: 600;
}

.AIBC-StepText span {
	font-size: 12px;
	color: var(--aip-text-secondary);
}

/* Connect */
.AIBC-Connect {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	border: solid 1px #1a222d;
	border-radius: 12px;
	background: linear-gradient(180deg, #0d1b2d 0%, #0a131e 100%);
}

.AIBC-ConnectIcon {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: #141c26;
	color: var(--aip-text-primary);
}

.AIBC-ConnectIcon svg {
	width: 20px;
	height: 20px;
}

.AIBC-ConnectText {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.AIBC-ConnectText b {
	font-weight: 600;
}

.AIBC-ConnectText span {
	font-size: 12px;
	color: var(--aip-text-secondary);
}

.AIBC-Try {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.AIBC-Msg .AIO-AIFound {
	margin: 0;
	width: 100%;
}

/* The composer, at the bottom of the window */
.AIBC-Composer {
	position: sticky;
	bottom: 20px;
	display: flex;
	align-items: flex-end;
	gap: 10px;
	margin: 0 -8px 20px;
	padding: 12px 12px 12px 16px;
	border: solid 1px #29323c;
	border-radius: 14px;
	background: #0c1622;
}

.AIBC-ComposerOff {
	border-color: #1a222d;
	background: #0a121c;
}

.AIBC-Composer textarea {
	all: unset;
	flex: 1;
	min-height: 22px;
	max-height: 120px;
	padding: 6px 0;
	font-size: 14px;
	line-height: 20px;
	color: var(--aip-text-primary);
	white-space: pre-wrap;
}

.AIBC-Composer textarea::placeholder {
	color: var(--aip-text-faint, #5a6270);
}

.AIBC-ComposerOff .AIP-Send {
	opacity: 0.35;
	pointer-events: none;
}

BODY.AIMobile #AIWelcome .AIBC {
	padding: 64px 14px 0;
}

BODY.AIMobile .AIBC-Choices {
	grid-template-columns: minmax(0, 1fr);
}

BODY.AIMobile .AIBC-Choice {
	min-height: 0;
}

.AIBC-Head {
	justify-content: flex-start;
}

.AIBC-HeadText {
	flex: 1;
	align-items: flex-start;
	text-align: left;
}

/* ===========================================================================
Building pages yourself (25 Nov 2026): the empty state (no dashed ring, an Add widget icon),
the bar at the bottom of the page (like the edit bar: icon and word per tool, the main action
blue at the end) and the layout choice above it
=========================================================================== */
.AIB-BigRing {
	display: none;
}

.AIB-Big {
	width: 72px;
	height: 72px;
	margin-bottom: 14px;
	border-radius: 16px;
	color: var(--aip-text-primary);
}

.AIB-Big svg {
	width: 30px;
	height: 30px;
}

#AIBuildBar {
	position: fixed;
	z-index: 760;
	left: 50%;
	bottom: 24px;
	transform: translate(-50%, -100%);
	display: flex;
	align-items: center;
	gap: 6px;
	min-height: 64px;
	box-sizing: border-box;
	padding: 10px 10px 10px 18px;
	border: solid 1px #29323c;
	border-radius: 14px;
	background: #0f1822;
	white-space: nowrap;
}

.AIBB-Info {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-right: 6px;
}

.AIBB-Count {
	height: 22px;
	padding: 0 8px;
	border-radius: 6px;
	background: #1a2433;
	color: var(--aip-text-secondary);
	font-size: 12px;
	font-weight: 500;
	line-height: 22px;
	font-variant-numeric: tabular-nums;
}

.AIBB-Title {
	font-size: 15px;
	font-weight: 600;
	color: var(--aip-text-primary);
}

.AIBB-Sub {
	font-size: 13px;
	color: var(--aip-text-secondary);
}

.AIBB-Tools {
	display: flex;
	align-items: center;
	gap: 2px;
}

.AIBB-Tool {
	all: unset;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 40px;
	padding: 0 12px;
	border-radius: 8px;
	font-size: 13px;
	color: var(--aip-text-primary);
	cursor: pointer;
}

.AIBB-Tool:hover {
	background: rgba(255, 255, 255, 0.05);
}

.AIBB-Tool svg {
	width: 18px;
	height: 18px;
	color: var(--aip-text-secondary);
}

.AIBB-Sep {
	width: 1px;
	align-self: stretch;
	margin: 4px 8px;
	background: #29323c;
}

.AIBB-SepInfo {
	margin: 4px 10px 4px 8px;
}

#AIBuildBar .AIP-BtnPrimary {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 40px;
	padding: 0 16px 0 18px;
	font-size: 13px;
}

#AIBuildBar .AIP-BtnPrimary svg {
	width: 16px;
	height: 16px;
}

/* The layout choice, above the bar */
#AIBuildLayout {
	position: fixed;
	z-index: 770;
	transform: translate(-50%, -100%);
	width: 520px;
	max-width: calc(100vw - 32px);
	box-sizing: border-box;
	padding: 18px;
	border: solid 1px #29323c;
	border-radius: 14px;
	background: linear-gradient(180deg, #0f1c2c 0%, #0a131e 100%);
}

.AIBL-Head {
	display: flex;
	flex-direction: column;
	gap: 3px;
	margin-bottom: 14px;
}

.AIBL-Head b {
	font-size: 15px;
	font-weight: 600;
	color: var(--aip-text-primary);
}

.AIBL-Head span {
	font-size: 12px;
	color: var(--aip-text-secondary);
}

.AIBL-Grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}

.AIBL-Opt {
	all: unset;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 10px;
	border: solid 1px #1a222d;
	border-radius: 10px;
	background: linear-gradient(180deg, #0c1a2c 0%, #0a121c 100%);
	cursor: pointer;
	text-align: center;
	font-size: 11px;
	color: var(--aip-text-secondary);
}

.AIBL-Opt:hover {
	border-color: #29323c;
}

.AIBL-Opt .FXBAI-Thumb {
	height: 54px;
}

.AIBL-Opt .FXBAI-ThumbCell {
	border-radius: 3px;
	background-color: rgba(138, 148, 168, 0.22);
}

.AIBL-OptOn,
.AIBL-OptOn:hover {
	border-color: #0767f6;
	color: var(--aip-text-primary);
}

.AIBL-OptOn .FXBAI-ThumbCell {
	background-color: rgba(7, 103, 246, 0.6);
}

.AIBL-Bar {
	display: flex;
	justify-content: flex-end;
	margin-top: 14px;
}

BODY.AIMobile #AIBuildBar {
	left: 8px;
	right: 8px;
	bottom: 72px;
	transform: none;
	flex-wrap: wrap;
	white-space: normal;
}

BODY.AIMobile .AIBB-Tool span {
	display: none;
}

BODY.AIMobile #AIBuildLayout {
	left: 8px !important;
	right: 8px;
	top: auto !important;
	bottom: 150px;
	transform: none;
}

#AIBuildLayout {
	width: auto;
	min-width: 380px;
}

.AIBL-Grid {
	grid-template-columns: repeat(auto-fit, minmax(110px, 140px));
}

/* Ready setups (25 Nov 2026): the other setups as rows that open right here (their pages as
   small layouts, Start in it), one at a time */
.AIRS-List {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.AIRS-Item {
	border: solid 1px #1a222d;
	border-radius: 12px;
	background: linear-gradient(180deg, #0c1a2c 0%, #0a121c 100%);
	overflow: hidden;
}

.AIRS-Item:hover {
	border-color: #29323c;
}

.AIRS-ItemOpen,
.AIRS-ItemOpen:hover {
	border-color: #29323c;
}

.AIRS-Row {
	all: unset;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	padding: 12px 16px 12px 14px;
	cursor: pointer;
}

.AIRS-Row .AIRS-CardText {
	flex: 1;
	min-width: 0;
	flex-direction: row;
	align-items: baseline;
	gap: 10px;
}

.AIRS-Chevron {
	display: inline-flex;
	color: var(--aip-text-secondary);
	transition: transform 0.2s;
}

.AIRS-Chevron svg {
	width: 18px;
	height: 18px;
}

.AIRS-ItemOpen .AIRS-Chevron {
	transform: rotate(180deg);
}

.AIRS-Drop {
	padding: 4px 16px 16px;
	border-top: solid 1px #1a222d;
	animation: AIBC-In 0.2s ease-out;
}

.AIRS-DropPages {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin-top: 14px;
}

.AIRS-DropPage {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.AIRS-DropPage .AIR-Lay {
	display: block;
	height: 104px;
	border-radius: 8px;
	background: #09121c;
	border: solid 1px #1a222d;
}

.AIRS-DropBar {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 16px;
}

.AIRS-DropNote {
	flex: 1;
	font-size: 12px;
	color: var(--aip-text-secondary);
}

.AIRS-DropBar .AIRS-Start {
	height: 38px;
}

BODY.AIMobile .AIRS-DropPages {
	grid-template-columns: minmax(0, 1fr);
}

BODY.AIMobile .AIRS-Row .AIRS-CardText {
	flex-direction: column;
	gap: 2px;
}

/* The picture on the "page of your own" card: four page cards in one neat row, the last one new */
.AINP-Pic {
	display: flex;
	justify-content: center;
	align-items: flex-end;
	gap: 8px;
	width: auto;
	height: auto;
	margin: 0 auto 22px;
}

.AINP-Sheet,
.AINP-Sheet1,
.AINP-Sheet2,
.AINP-SheetNew {
	position: static;
	transform: none;
	width: 58px;
	height: 74px;
	padding: 7px;
	gap: 5px;
	border-radius: 8px;
}

.AINP-Sheet i {
	height: auto;
	flex: 1;
}

.AINP-Sheet i.AINP-L1 { flex: 2.4; }
.AINP-Sheet i.AINP-L2 { flex: 1; }
.AINP-Sheet i.AINP-L3 { flex: 1; }
.AINP-Sheet i.AINP-L4 { flex: 1; }

.AINP-SheetNew {
	width: 58px;
	height: 74px;
	padding: 0;
}

.AINP-SheetNew svg {
	width: 22px;
	height: 22px;
}

/* ===========================================================================
Widgets window, polished (25 Nov 2026): one rhythm (24 px edges, 12 px between cards), smaller
buttons, the name first, a quiet label above the grid, the Creations Hub bar with its widgets'
pictures, Hub screenshots whole (not cut)
=========================================================================== */
.AIW-Modal.AIW2 {
	width: min(1080px, calc(100vw - 48px));
	height: min(800px, calc(100vh - 48px));
	border-radius: 16px;
}

.AIW2-Head {
	gap: 12px;
	padding: 22px 24px 16px;
}

.AIW2-Title {
	font-size: 20px;
	line-height: 26px;
}

.AIW2-Back {
	width: 34px;
	height: 34px;
	padding: 0;
	justify-content: center;
}

.AIW2-Tools {
	gap: 12px;
	padding: 0 24px 16px;
}

.AIW2-Search {
	height: 44px;
	padding: 0 8px 0 14px;
	border-radius: 10px;
	border-color: #29323c;
	background: #09111a;
}

.AIW2-Search:focus-within {
	border-color: #3a4452;
}

.AIW2-Clear {
	all: unset;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 6px;
	color: var(--aip-text-secondary);
	cursor: pointer;
}

.AIW2-Clear:hover {
	background: rgba(255, 255, 255, 0.05);
	color: var(--aip-text-primary);
}

.AIW2-Clear svg {
	width: 14px;
	height: 14px;
}

.AIW2-Cats {
	flex-wrap: nowrap;
	overflow-x: auto;
	scrollbar-width: none;
}

.AIW2-Cats::-webkit-scrollbar {
	display: none;
}

.AIW2-Cat {
	flex: none;
	height: 30px;
	line-height: 28px;
	padding: 0 14px;
}

.AIW2-Body {
	padding: 18px 24px 24px;
}

.AIW2-Label {
	margin-bottom: 12px;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--aip-text-secondary);
}

.AIW2-Grid {
	grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
	gap: 12px;
}

.AIW2-Card {
	gap: 6px;
	min-height: 0;
	padding: 16px 16px 14px;
	border-radius: 12px;
}

.AIW2-CardHead {
	gap: 12px;
	margin-bottom: 2px;
}

.AIW2-CardIcon {
	width: 36px;
	height: 36px;
	border-radius: 9px;
}

.AIW2-CardName {
	font-size: 15px;
	line-height: 20px;
}

.AIW2-CardDesc {
	font-size: 13px;
	line-height: 18px;
	min-height: 36px;
}

.AIW2-CardBar {
	align-items: center;
	gap: 4px;
	padding-top: 10px;
}

.AIW2-CardBar .AIP-Btn,
.AIW2-CardBar .AIW2-Float {
	flex: none;
}

.AIW2-CardBar .AIW2-Add {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 30px;
	padding: 0 12px 0 10px;
	border-radius: 7px;
	font-size: 12px;
	font-weight: 500;
}

.AIW2-Add svg {
	width: 14px;
	height: 14px;
}

.AIW2-Float {
	all: unset;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 30px;
	padding: 0 10px;
	border-radius: 7px;
	font-size: 12px;
	color: var(--aip-text-secondary);
	cursor: pointer;
	white-space: nowrap;
}

.AIW2-Float:hover {
	background: rgba(255, 255, 255, 0.05);
	color: var(--aip-text-primary);
}

.AIW2-Float svg {
	width: 14px;
	height: 14px;
}

/* Creations Hub: its screenshots whole, as they were taken */
.AIW2-GridHub {
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.AIW2-CardPic {
	height: auto;
	margin: 0 0 8px;
	border-radius: 8px;
	border: solid 1px #1a222d;
	background: #09111a;
}

.AIW2-CardPic img {
	height: auto;
	object-fit: contain;
}

.AIW2-CardBy {
	margin-top: 2px;
}

/* Nothing found */
.AIW2-Empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 56px 0;
}

.AIW2-EmptyIcon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-bottom: 6px;
	border-radius: 12px;
	border: solid 1px #1a222d;
	color: var(--aip-text-secondary);
}

.AIW2-EmptyIcon svg {
	width: 20px;
	height: 20px;
}

.AIW2-Empty b {
	font-size: 15px;
	font-weight: 600;
	color: var(--aip-text-primary);
}

.AIW2-Empty span {
	font-size: 13px;
}

/* The Creations Hub bar: one big button with its widgets' pictures */
.AIW2-HubBar {
	all: unset;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 0 16px 16px;
	padding: 14px 18px 14px 14px;
	border: solid 1px #29323c;
	border-radius: 12px;
	background:
		radial-gradient(80% 140% at 0% 50%, rgba(61, 139, 255, 0.12) 0%, rgba(61, 139, 255, 0) 70%),
		linear-gradient(180deg, #0f1c2c 0%, #0b141f 100%);
	cursor: pointer;
}

.AIW2-HubBar:hover {
	border-color: #3a4452;
}

.AIW2-HubPics {
	position: relative;
	flex: none;
	width: 128px;
	height: 56px;
}

.AIW2-HubPics img {
	position: absolute;
	top: 6px;
	width: 74px;
	height: 46px;
	object-fit: cover;
	object-position: top left;
	border-radius: 6px;
	border: solid 1px #29323c;
	background: #09111a;
}

.AIW2-HubPics img:nth-child(1) { left: 0; transform: rotate(-5deg); }
.AIW2-HubPics img:nth-child(2) { left: 27px; top: 2px; z-index: 1; }
.AIW2-HubPics img:nth-child(3) { left: 54px; transform: rotate(5deg); z-index: 2; }

.AIW2-HubText {
	gap: 3px;
}

.AIW2-HubText b {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
}

.AIW2-HubCount {
	height: 20px;
	padding: 0 8px;
	border-radius: 999px;
	background: rgba(7, 103, 246, 0.16);
	color: #3d8bff;
	font-size: 11px;
	font-weight: 500;
	line-height: 20px;
}

.AIW2-HubText > span {
	font-size: 13px;
}

.AIW2-HubBtn {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 36px;
	padding: 0 12px 0 16px;
	border-radius: 8px;
	background: #eef1fa;
	color: #0a121c;
	font-size: 13px;
	font-weight: 600;
}

.AIW2-HubBtn svg {
	width: 16px;
	height: 16px;
}

.AIW2-HubBar:hover .AIW2-HubBtn {
	background: #ffffff;
}

BODY.AIMobile .AIW2-HubPics {
	display: none;
}

BODY.AIMobile .AIW2-HubBtn {
	display: none;
}

/* ===========================================================================
Build it with AI, the conversation (25 Nov 2026): the feel of a chat with Claude in the
platform's colours. One calm column; the assistant writes plain text (its mark once per turn),
you write in a bubble; options as quiet rows; a big round field at the bottom.
=========================================================================== */
#AIWelcome.AIO-Chat {
	background: #0a121c;
}

#AIWelcome .AICH {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 720px;
	min-height: 100%;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
	text-align: left;
}

.AICH-Top {
	position: sticky;
	top: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 64px;
	margin: 0 -24px;
	background: linear-gradient(180deg, #0a121c 60%, rgba(10, 18, 28, 0));
	color: var(--aip-text-secondary);
	font-size: 13px;
	font-weight: 500;
}

.AICH-Beta {
	height: 18px;
	padding: 0 6px;
	border: solid 1px #29323c;
	border-radius: 5px;
	font-size: 10px;
	line-height: 16px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.AICH-Thread {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 28px;
	padding: 24px 0 40px;
}

/* You: a bubble on the right */
.AICH-You {
	display: flex;
	justify-content: flex-end;
	animation: AICH-In 0.25s ease-out;
}

.AICH-Bubble {
	max-width: 78%;
	padding: 11px 16px;
	border-radius: 18px;
	background: #1c2635;
	color: var(--aip-text-primary);
	font-size: 15px;
	line-height: 22px;
	white-space: pre-wrap;
}

/* The assistant: plain text, its mark once per turn */
.AICH-Bot {
	display: flex;
	flex-direction: column;
	gap: 14px;
	animation: AICH-In 0.25s ease-out;
}

@keyframes AICH-In {
	from { opacity: 0; transform: translateY(4px); }
	to { opacity: 1; transform: none; }
}

.AICH-Mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 8px;
	background: rgba(61, 139, 255, 0.12);
	color: #3d8bff;
}

.AICH-Mark svg {
	width: 16px;
	height: 16px;
}

.AICH-Thinking {
	animation: AICH-Pulse 1.2s ease-in-out infinite;
}

@keyframes AICH-Pulse {
	0%, 100% { opacity: 0.35; transform: scale(0.94); }
	50% { opacity: 1; transform: scale(1); }
}

.AICH-Say {
	color: #e6eaf2;
	font-size: 15.5px;
	line-height: 1.7;
}

.AICH-Say p {
	margin: 0 0 12px;
}

.AICH-Say p:last-child {
	margin-bottom: 0;
}

.AICH-Say b {
	font-weight: 600;
	color: #ffffff;
}

/* Options: quiet rows, as suggestions in a chat */
.AICH-Options {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 4px;
	animation: AICH-In 0.3s ease-out;
}

.AICH-Option {
	all: unset;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px 16px 14px 18px;
	border: solid 1px #1f2a37;
	border-radius: 14px;
	background: #0e1824;
	cursor: pointer;
	transition: border-color 0.15s, background 0.15s;
}

.AICH-Option:hover {
	border-color: #344050;
	background: #111d2b;
}

.AICH-OptText {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.AICH-OptText b {
	font-size: 15px;
	font-weight: 600;
	color: var(--aip-text-primary);
}

.AICH-OptText span {
	font-size: 13px;
	line-height: 19px;
	color: var(--aip-text-secondary);
}

.AICH-Option > svg {
	flex: none;
	width: 18px;
	height: 18px;
	color: var(--aip-text-secondary);
	transition: transform 0.15s;
}

.AICH-Option:hover > svg {
	transform: translateX(2px);
	color: var(--aip-text-primary);
}

/* The pages as they are made: a plain checklist */
.AICH-Steps {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding-left: 2px;
}

.AICH-Step {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 34px;
	font-size: 14px;
	color: var(--aip-text-secondary);
	opacity: 0.5;
	transition: opacity 0.2s;
}

.AICH-Step b {
	font-weight: 600;
	color: var(--aip-text-primary);
	min-width: 80px;
}

.AICH-StepDone, .AICH-StepNow {
	opacity: 1;
}

.AICH-StepMark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: solid 1px #29323c;
	color: #0adb5e;
}

.AICH-StepDone .AICH-StepMark {
	border-color: rgba(10, 219, 94, 0.45);
	background: rgba(10, 219, 94, 0.12);
}

.AICH-StepNow .AICH-StepMark {
	border: 0;
}

.AICH-StepMark svg {
	width: 11px;
	height: 11px;
}

.AICH-StepMark .AIM-Spinner {
	width: 16px;
	height: 16px;
}

/* A tool in the conversation: Connect */
.AICH-Tool {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 14px 14px 16px;
	border: solid 1px #1f2a37;
	border-radius: 14px;
	background: #0e1824;
}

.AICH-ToolIcon {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: #16212f;
	color: var(--aip-text-primary);
}

.AICH-ToolIcon svg {
	width: 18px;
	height: 18px;
}

.AICH-ToolText {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.AICH-ToolText b {
	font-size: 14px;
	font-weight: 600;
	color: var(--aip-text-primary);
}

.AICH-ToolText span, .AICH-ToolNote {
	font-size: 13px;
	color: var(--aip-text-secondary);
}

.AICH-ToolOk {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: #0adb5e;
}

.AICH-ToolOk svg {
	width: 14px;
	height: 14px;
}

/* Starters: what you could ask */
.AICH-Starters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.AICH-Starter {
	all: unset;
	padding: 8px 14px;
	border: solid 1px #1f2a37;
	border-radius: 999px;
	font-size: 13px;
	color: var(--aip-text-primary);
	cursor: pointer;
}

.AICH-Starter:hover {
	border-color: #344050;
	background: #0e1824;
}

.AICH-Found .AIO-AIFound {
	margin: 0;
	width: 100%;
}

.AICH-Found .AIO-AIFoundHead {
	display: none;
}

/* The field at the bottom: big and round, the send arrow inside */
.AICH-Dock {
	position: sticky;
	bottom: 0;
	z-index: 2;
	margin: 0 -24px;
	padding: 18px 24px 14px;
	background: linear-gradient(180deg, rgba(10, 18, 28, 0) 0%, #0a121c 28%);
}

.AICH-Input {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 14px 12px 10px 18px;
	border: solid 1px #29323c;
	border-radius: 20px;
	background: #111b27;
	transition: border-color 0.15s;
}

.AICH-Input:focus-within {
	border-color: #3a4656;
}

.AICH-InputOff {
	background: #0d1620;
	border-color: #1a222d;
}

.AICH-Input textarea {
	all: unset;
	display: block;
	width: 100%;
	min-height: 24px;
	max-height: 200px;
	font-size: 15px;
	line-height: 24px;
	color: var(--aip-text-primary);
	white-space: pre-wrap;
	overflow-y: auto;
}

.AICH-Input textarea::placeholder {
	color: #5a6270;
}

.AICH-InputBar {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 32px;
}

.AICH-Via {
	flex: 1;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: var(--aip-text-secondary);
}

.AICH-Via svg {
	width: 14px;
	height: 14px;
}

.AICH-Send {
	all: unset;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 10px;
	background: #0767f6;
	color: #ffffff;
	cursor: pointer;
}

.AICH-Send:hover {
	background: #2a7dff;
}

.AICH-Send[disabled] {
	background: #1a2433;
	color: #5a6270;
	cursor: default;
}

.AICH-Send svg {
	width: 16px;
	height: 16px;
}

.AICH-Fine {
	margin-top: 8px;
	text-align: center;
	font-size: 11px;
	color: #5a6270;
}

BODY.AIMobile #AIWelcome .AICH {
	padding: 0 14px;
}

BODY.AIMobile .AICH-Top, BODY.AIMobile .AICH-Dock {
	margin: 0 -14px;
}

BODY.AIMobile .AICH-Dock {
	padding: 14px 14px 10px;
}

/* In the conversation the matches are calm: no badges or AI marks, blue only on the closest one */
.AICH-Found .AIW-Badge,
.AICH-Found .AIO-AIMatchBar .AIP-Btn svg:not(:only-child) {
	display: none;
}

.AICH-Found .AIO-AIMatchBar .AIP-Btn:not(.AIO-AIMatchPrev) svg {
	display: none;
}

.AICH-Found .AIO-AIMatch {
	border-color: #1f2a37;
	border-radius: 14px;
	background: #0e1824;
}

.AICH-Found .AIO-AIMatch:not(.AIO-AIMatchBest) .AIP-BtnPrimary {
	border: solid 1px #29323c;
	background: transparent;
	color: var(--aip-text-primary);
}

.AICH-Found .AIO-AIScratch {
	border-style: solid;
	border-color: #1f2a37;
	border-radius: 14px;
}

/* Pick it step by step while its pages are made (25 Nov 2026): a short checklist on the card */
.AIO-FXCard.AIO-FXBusy,
.AIO-FXCard.AIO-FXBusy:disabled {
	opacity: 1;
	border-color: #29323c;
}

.AIO-FXCardsBusy .AIO-FXCard:not(.AIO-FXBusy) {
	opacity: 0.45;
	pointer-events: none;
}

.AIO-FXCard .AIO-FXText:has(.AIO-FXMaking) {
	max-width: none;
}

.AIO-FXMaking {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	margin-top: 2px;
	text-align: left;
}

.AIO-FXMake {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	line-height: 18px;
	color: var(--aip-text-secondary);
	transition: color 0.2s, opacity 0.2s;
}

.AIO-FXMakeWait {
	opacity: 0.5;
}

.AIO-FXMakeNow,
.AIO-FXMakeDone {
	color: var(--aip-text-primary);
}

.AIO-FXMakeMark {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	box-sizing: border-box;
	border-radius: 50%;
	border: solid 1px #29323c;
	color: #0adb5e;
}

.AIO-FXMakeDone .AIO-FXMakeMark {
	border-color: rgba(10, 219, 94, 0.45);
	background: rgba(10, 219, 94, 0.12);
}

.AIO-FXMakeNow .AIO-FXMakeMark {
	border: 0;
}

.AIO-FXMakeMark svg {
	width: 10px;
	height: 10px;
}

.AIO-FXMakeMark .AIM-Spinner {
	display: block;
	width: 12px;
	height: 12px;
	box-sizing: border-box;
}

/* Build it with AI, the motion (25 Nov 2026): only what is new moves, once; the answer's words
fade in where they stand; "Thinking" shimmers; the options come one after the other */
#AIWelcome .AICH-You,
#AIWelcome .AICH-Bot,
#AIWelcome .AICH-Options {
	animation: none;
}

#AIWelcome .AICH-New {
	animation: AICH-Rise 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes AICH-Rise {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: none; }
}

.AICH-Extra {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

#AIWelcome .AICH-Extra.AICH-New {
	animation: none;
}

.AICH-Extra.AICH-New .AICH-Option,
.AICH-Extra.AICH-New .AICH-Starter,
.AICH-Extra.AICH-New .AICH-Tool,
.AICH-Extra.AICH-New .AICH-Step,
.AICH-Extra.AICH-New .AICH-Found {
	animation: AICH-Rise 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.AICH-Extra.AICH-New :nth-child(2) { animation-delay: 0.08s; }
.AICH-Extra.AICH-New :nth-child(3) { animation-delay: 0.16s; }
.AICH-Extra.AICH-New :nth-child(4) { animation-delay: 0.24s; }
.AICH-Extra.AICH-New :nth-child(5) { animation-delay: 0.32s; }
.AICH-Extra.AICH-New :nth-child(6) { animation-delay: 0.4s; }

/* The words of an answer being written */
.AICH-W {
	opacity: 0;
	filter: blur(3px);
	transition: opacity 0.45s ease-out, filter 0.45s ease-out;
}

.AICH-W.AICH-WOn {
	opacity: 1;
	filter: none;
}

.AICH-W.AICH-WNow {
	transition: none;
}

/* Thinking: the mark breathes, the word shimmers */
#AIWelcome .AICH-ThinkRow {
	flex-direction: row;
	align-items: center;
	gap: 12px;
}

.AICH-Mark.AICH-Thinking {
	animation: AICH-Breathe 1.8s ease-in-out infinite;
}

@keyframes AICH-Breathe {
	0%, 100% { opacity: 0.55; }
	50% { opacity: 1; }
}

.AICH-ThinkText {
	font-size: 14px;
	background: linear-gradient(90deg, #5a6270 0%, #5a6270 35%, #e6eaf2 50%, #5a6270 65%, #5a6270 100%);
	background-size: 250% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: AICH-Shimmer 1.8s linear infinite;
}

@keyframes AICH-Shimmer {
	from { background-position: 100% 0; }
	to { background-position: -150% 0; }
}

/* A page made: its tick pops in */
.AICH-StepDone .AICH-StepMark svg {
	animation: AICH-Tick 0.35s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes AICH-Tick {
	from { opacity: 0; transform: scale(0.4); }
	to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	#AIWelcome .AICH-New,
	.AICH-Extra.AICH-New > *,
	.AICH-ThinkText,
	.AICH-Mark.AICH-Thinking { animation: none; }
	.AICH-W { opacity: 1; filter: none; transition: none; }
}

/* Ready setups (25 Nov 2026): the other setups side by side; the one you open shows its pages
in a box under the row */
.AIRS-List.AIRS-Side {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.AIRS-Side .AIRS-Row {
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	height: 100%;
	padding: 16px;
}

.AIRS-Side .AIRS-Row .AIRS-CardText {
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	gap: 3px;
}

.AIRS-RowEnd {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

.AIRS-Side .AIRS-ItemOpen,
.AIRS-Side .AIRS-ItemOpen:hover {
	border-color: #0767f6;
}

.AIRS-DropBox {
	margin-top: -6px;
}

.AIRS-DropBox .AIRS-Drop {
	border-top: 0;
}

BODY.AIMobile .AIRS-List.AIRS-Side {
	grid-template-columns: minmax(0, 1fr);
}

/* Pick it step by step while its pages are made: plain words and a thin line (no checklist) */
.AIO-FXCard .AIO-FXMaking {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	width: 180px;
	margin: 2px auto 0;
}

.AIO-FXMakeText {
	font-size: 12px;
	color: var(--aip-text-secondary);
}

.AIO-FXMakeBar {
	display: block;
	width: 100%;
	height: 2px;
	border-radius: 2px;
	background: #1a222d;
	overflow: hidden;
}

.AIO-FXMakeBar i {
	display: block;
	height: 100%;
	border-radius: 2px;
	background: #0767f6;
	transition: width 0.5s ease-out;
}

/* An opened setup lists its pages like Default does, side by side */
.AIRS-Pages.AIRS-DropList {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin: 14px 0 4px;
}

BODY.AIMobile .AIRS-Pages.AIRS-DropList {
	grid-template-columns: minmax(0, 1fr);
}

/* The other setups, compact: the page count and the arrow in the top right corner */
.AIRS-Side .AIRS-Item {
	position: relative;
}

.AIRS-Side .AIRS-Row {
	padding: 14px 16px;
}

.AIRS-Side .AIRS-RowEnd {
	position: absolute;
	top: 14px;
	right: 14px;
	width: auto;
	gap: 6px;
}

/* Pick it step by step in the edit mode (25 Nov 2026): a small bar at the top of the page, which
page it is, what you can do, Next (the platform's edit bar stays at the bottom) */
#AIStepPill {
	position: fixed;
	z-index: 760;
	left: 50%;
	top: 82px;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: 10px;
	height: 52px;
	box-sizing: border-box;
	padding: 0 8px 0 14px;
	border: solid 1px #29323c;
	border-radius: 12px;
	background: #0f1822;
	white-space: nowrap;
	animation: AISP-In 0.3s ease-out both;
}

@keyframes AISP-In {
	from { opacity: 0; }
	to { opacity: 1; }
}

#AIStepPill .AIBB-Sep {
	height: 22px;
	align-self: center;
	margin: 0 2px;
}

.AISP-Hint {
	font-size: 13px;
	color: var(--aip-text-secondary);
	margin-right: 6px;
}

#AIStepPill .AIP-BtnPrimary {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	height: 36px;
	padding: 0 12px 0 16px;
}

#AIStepPill .AIP-BtnPrimary svg {
	width: 16px;
	height: 16px;
}

BODY.AIMobile #AIStepPill {
	left: 8px !important;
	right: 8px;
	transform: none;
}

BODY.AIMobile .AISP-Hint {
	display: none;
}

/* ===========================================================================
Ready setups on a laptop (25 Nov 2026): a MacBook's window is about 780 px high, so everything
is smaller there and an opened setup still fits: smaller headings, the picture of Default
smaller, the setups one row each (icon beside the name), the opened one's pages one line each
=========================================================================== */
@media (max-height: 920px) {
	BODY:not(.AIMobile) #AIWelcome .AIO-FXReady {
		padding-top: 22px;
	}

	BODY:not(.AIMobile) #AIWelcome .AIO-FXReady > .AIO-TitleBig {
		font-size: 28px;
		line-height: 34px;
	}

	BODY:not(.AIMobile) #AIWelcome .AIO-FXReady > .AIO-Text {
		margin-bottom: 12px;
	}

	BODY:not(.AIMobile) .AIRS {
		gap: 12px;
	}

	BODY:not(.AIMobile) .AIRS-HeroPic {
		padding: 14px;
	}

	BODY:not(.AIMobile) .AIRS-Screen {
		max-width: 330px;
	}

	BODY:not(.AIMobile) .AIRS-HeroBody {
		padding: 16px 20px;
		gap: 8px;
	}

	BODY:not(.AIMobile) .AIRS-HeroTitle {
		font-size: 22px;
		line-height: 26px;
	}

	BODY:not(.AIMobile) .AIRS-HeroText {
		font-size: 13px;
		line-height: 18px;
	}

	BODY:not(.AIMobile) .AIRS-Page {
		padding: 4px 10px;
	}

	BODY:not(.AIMobile) .AIRS-PageIcon {
		width: 24px;
		height: 24px;
	}

	BODY:not(.AIMobile) .AIRS-Pages {
		margin: 2px 0;
	}

	BODY:not(.AIMobile) .AIRS-HeroBar .AIP-Btn {
		height: 36px;
	}

	/* the setups: one row each */
	BODY:not(.AIMobile) .AIRS-Side .AIRS-Row {
		flex-direction: row;
		align-items: center;
		gap: 12px;
		padding: 12px 14px;
		padding-right: 96px;
	}

	BODY:not(.AIMobile) .AIRS-Side .AIRS-RowEnd {
		top: 50%;
		right: 12px;
		transform: translateY(-50%);
	}

	BODY:not(.AIMobile) .AIRS-Side .AIRS-Row .AIRS-CardText span {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		max-width: 100%;
	}

	/* the opened setup: its pages one line each */
	BODY:not(.AIMobile) .AIRS-DropBox .AIRS-Drop {
		padding: 2px 14px 12px;
	}

	BODY:not(.AIMobile) .AIRS-Pages.AIRS-DropList {
		margin: 10px 0 2px;
	}

	BODY:not(.AIMobile) .AIRS-DropList .AIRS-PageText span {
		display: block;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	BODY:not(.AIMobile) .AIRS-DropList .AIRS-PageText {
		min-width: 0;
	}

	BODY:not(.AIMobile) .AIRS-DropBar {
		margin-top: 10px;
	}

	BODY:not(.AIMobile) .AIRS-DropBar .AIP-Btn {
		height: 36px;
	}
}

/* The Page layout window on a laptop (25 Nov 2026): wider and lower, seven layouts in a row
(four rows instead of five), smaller tiles, so it fits a MacBook's window without scrolling */
@media (max-height: 920px) {
	BODY:not(.AIMobile) .AIM-Modal:has(.AIM-Grid) {
		width: min(780px, calc(100vw - 32px));
		padding: 18px 22px;
	}

	BODY:not(.AIMobile) .AIM-Modal:has(.AIM-Grid) .AIM-Grid {
		grid-template-columns: repeat(7, minmax(0, 1fr));
		gap: 8px;
	}

	BODY:not(.AIMobile) .AIM-Modal:has(.AIM-Grid) .AIM-Layout,
	BODY:not(.AIMobile) .AIM-Modal:has(.AIM-Grid) .AIM-LayoutCurrent {
		height: 62px;
		padding: 8px;
	}

	BODY:not(.AIMobile) .AIM-Modal:has(.AIM-Grid) .AIM-Intro {
		margin-top: 8px;
		margin-bottom: 10px;
	}

	BODY:not(.AIMobile) .AIM-Modal:has(.AIM-Grid) .AIM-FreeRow {
		margin-top: 10px;
		padding: 8px 14px 8px 10px;
	}

	BODY:not(.AIMobile) .AIM-Modal:has(.AIM-Grid) .AIM-Footer {
		margin-top: 10px;
	}
}

/* Ready setups, Default (25 Nov 2026, colleague): one card, not two halves. No line in the middle,
   one background over the whole card (the soft light from the top left), the picture and the text
   sit on it together */
.AIRS-Hero {
	background:
		radial-gradient(70% 90% at 18% 15%, rgba(61, 139, 255, 0.08) 0%, rgba(61, 139, 255, 0) 70%),
		linear-gradient(180deg, #0d1b2d 0%, #0a131e 100%);
}

.AIRS-HeroPic,
BODY.AIMobile .AIRS-HeroPic {
	border: 0;
	background: transparent;
}

BODY:not(.AIMobile) .AIRS-HeroBody {
	padding-left: 4px;
}

/* ===========================================================================
What to do here (25 Nov 2026): one plain window after Pick it step by step makes its pages, and the
first time AI Creator opens (Ask | Create side by side)
=========================================================================== */
.AIM-Modal.AIN-Modal {
	width: 520px;
	padding: 24px;
	border-color: #1a222d;
	background: #0a121c;
}

.AIM-Modal.AIN-Modal.AIN-Cols {
	width: 640px;
}

.AIN-Head {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 20px;
}

.AIN-Titles {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.AIN-Title {
	font-size: 20px;
	font-weight: 600;
	line-height: 26px;
	color: #eef1fa;
}

.AIN-Sub {
	font-size: 13px;
	line-height: 19px;
	color: #8a94a8;
}

.AIN-Sub b, .AIN-ItemText b {
	font-weight: 600;
	color: #eef1fa;
}

.AIN-Items {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: 24px;
}

.AIN-Cols .AIN-Items {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.AIN-Item {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.AIN-Cols .AIN-Item {
	flex-direction: column;
	gap: 12px;
	padding: 18px;
	border: solid 1px #1a222d;
	border-radius: 12px;
	background: #0c1622;
}

.AIN-Icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 9px;
	background: #111d2b;
	color: #8a94a8;
}

.AIN-Icon svg {
	width: 18px;
	height: 18px;
}

.AIN-Body {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.AIN-ItemTitle {
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	color: #eef1fa;
}

.AIN-ItemText {
	font-size: 13px;
	line-height: 19px;
	color: #8a94a8;
}

.AIN-Eg {
	margin-top: 8px;
	padding: 8px 10px;
	border-radius: 8px;
	background: #0a121c;
	border: solid 1px #1a222d;
	font-size: 12px;
	line-height: 17px;
	color: #b9c1d1;
}

.AIN-Buttons {
	gap: 12px;
}

.AIN-Note {
	font-size: 12px;
	color: #6b7588;
}

.AIN-Go {
	height: 38px;
	padding: 0 18px;
}

@media (max-width: 640px) {
	.AIN-Cols .AIN-Items {
		grid-template-columns: 1fr;
	}
}

@media (max-height: 920px) {
	.AIM-Modal.AIN-Modal {
		padding: 20px;
	}
	.AIN-Head {
		margin-bottom: 16px;
	}
	.AIN-Items {
		gap: 12px;
		margin-bottom: 18px;
	}
}

/* Widgets window (25 Nov 2026, colleague): the list on the left again - By FX Blue, the Creations
   Hub under it, the categories; Add to page quiet (not a blue button on every card) */
.AIW2-Main {
	flex: 1;
	min-height: 0;
	display: flex;
	border-top: solid 1px #1a222d;
}

.AIW2-Nav {
	flex: 0 0 208px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 16px 12px;
	border-right: solid 1px #1a222d;
	overflow-y: auto;
	box-sizing: border-box;
}

.AIW2-NavItem {
	all: unset;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	min-height: 36px;
	padding: 0 10px 0 12px;
	border-radius: 8px;
	font-family: var(--font-family);
	font-size: 14px;
	font-weight: 500;
	color: #b9c1d1;
	cursor: pointer;
}

.AIW2-NavItem.AIW2-NavSub {
	min-height: 32px;
	font-size: 13px;
	font-weight: 400;
	color: #8a94a8;
}

.AIW2-NavItem:hover {
	background: rgba(255, 255, 255, 0.04);
	color: #eef1fa;
}

.AIW2-NavItem.AIW2-NavOn {
	background: #16243a;
	color: #eef1fa;
}

.AIW2-NavCount {
	font-size: 12px;
	font-weight: 400;
	color: #6b7588;
	font-variant-numeric: tabular-nums;
}

.AIW2-NavHead {
	margin: 18px 12px 6px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #6b7588;
}

.AIW2-Main .AIW2-Body {
	flex: 1;
	min-width: 0;
	overflow-y: auto;
	border-top: 0;
}

.AIW2-Tools {
	border-bottom: 0;
}

.AIW2-CardBar .AIW2-Add.AIP-Btn,
.AIW2-CardBar .AIW2-Add.AIP-BtnPrimary {
	border: solid 1px #29323c;
	background: transparent;
	color: #eef1fa;
}

.AIW2-CardBar .AIW2-Add.AIP-Btn:hover,
.AIW2-CardBar .AIW2-Add.AIP-BtnPrimary:hover {
	border-color: #3a4552;
	background: #111d2b;
	color: #eef1fa;
}

/* Phone: the list as one row above the cards */
BODY.AIMobile .AIW2-Main {
	flex-direction: column;
}

BODY.AIMobile .AIW2-Nav {
	flex: none;
	flex-direction: row;
	gap: 6px;
	padding: 10px 16px;
	border-right: 0;
	border-bottom: solid 1px #1a222d;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
}

BODY.AIMobile .AIW2-NavHead {
	display: none;
}

BODY.AIMobile .AIW2-NavItem {
	flex: none;
	min-height: 30px;
	white-space: nowrap;
}

/* The window after Pick it step by step (25 Nov 2026): three small tiles in a row, a line each */
.AIM-Modal.AIN-Modal.AIN-Compact {
	width: 600px;
}

.AIN-Compact .AIN-Items {
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}

.AIN-Compact .AIN-Item {
	gap: 10px;
	padding: 16px;
}

.AIN-Compact .AIN-ItemText {
	font-size: 12px;
	line-height: 17px;
}

.AIN-Compact .AIN-Buttons {
	justify-content: center;
}

.AIN-Compact .AIN-Go {
	min-width: 180px;
	justify-content: center;
}

@media (max-width: 640px) {
	.AIN-Compact .AIN-Items {
		grid-template-columns: 1fr;
	}
}

/* AI Creator's first window (25 Nov 2026): each card shows what it does - a question and its
   answer, a sentence that became an indicator */
.AIM-Modal.AIN-Modal.AIN-Creator {
	width: 620px;
}

.AIN-Creator .AIN-Head {
	text-align: center;
}

.AIN-Creator .AIN-Head .AIM-Close {
	position: absolute;
	top: 16px;
	right: 16px;
}

.AIM-Modal.AIN-Creator {
	position: relative;
	padding: 28px 24px 24px;
}

.AIN-Creator .AIN-Item {
	padding: 0;
	gap: 0;
	overflow: hidden;
}

.AIN-Creator .AIN-Body {
	padding: 14px 16px 16px;
	gap: 4px;
}

.AIN-Pic {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	height: 128px;
	padding: 16px;
	box-sizing: border-box;
	border-bottom: solid 1px #1a222d;
	background: linear-gradient(180deg, #0e1c2e 0%, #0b1520 100%);
	overflow: hidden;
}

.AIN-Bubble {
	max-width: 88%;
	padding: 8px 11px;
	border-radius: 10px;
	font-size: 12px;
	line-height: 16px;
}

.AIN-BubbleQ {
	align-self: flex-end;
	border-bottom-right-radius: 3px;
	background: #16243a;
	color: #eef1fa;
}

.AIN-BubbleA {
	align-self: flex-start;
	display: flex;
	align-items: baseline;
	gap: 8px;
	border: solid 1px #1f2a38;
	border-bottom-left-radius: 3px;
	background: #0a121c;
	color: #8a94a8;
}

.AIN-BubbleA b {
	font-size: 20px;
	line-height: 24px;
	font-weight: 600;
	color: #eef1fa;
}

.AIN-Chart {
	flex: 1;
	width: 100%;
	min-height: 0;
}

.AIN-Creator .AIN-ItemTitle {
	font-size: 15px;
}

.AIN-Creator .AIN-Buttons {
	justify-content: center;
}

.AIN-Creator .AIN-Go {
	min-width: 180px;
	justify-content: center;
}

@media (prefers-reduced-motion: no-preference) {
	.AIN-Creator .AIN-Bubble, .AIN-Creator .AIN-Chart {
		animation: ain-in 0.4s ease-out both;
	}
	.AIN-Creator .AIN-BubbleA, .AIN-Creator .AIN-Chart {
		animation-delay: 0.35s;
	}
	@keyframes ain-in {
		from { opacity: 0; transform: translateY(4px); }
		to { opacity: 1; transform: none; }
	}
}

.AIN-Creator .AIN-Item {
	align-items: stretch;
}

.AIN-Creator .AIN-Pic {
	align-self: stretch;
	height: 150px;
}

.AIN-Creator .AIN-Chart {
	flex: none;
	height: 72px;
	margin-top: 2px;
}

/* AI Creator's first steps (25 Nov 2026): the same card as Straight to trading's pages, under (or
   above) what it lights, the arrow pointing up (or down) at it */
#AISetupCoach.AISC-Below:before,
#AISetupCoach.AISC-Above:before {
	left: var(--aic-arrow-x, 50%);
	margin-left: -6px;
	margin-top: 0;
}

#AISetupCoach.AISC-Below:before {
	top: -7px;
	border-left: solid 1px #29323c;
	border-top: solid 1px #29323c;
	border-bottom: 0;
}

#AISetupCoach.AISC-Above:before {
	top: auto;
	bottom: -7px;
	border-right: solid 1px #29323c;
	border-bottom: solid 1px #29323c;
	border-left: 0;
}

.AISC-Back {
	border: 0 !important;
	background: none !important;
	color: var(--aip-text-secondary);
}

.AISC-Back:hover {
	color: var(--aip-text-primary);
}

/* Widgets window (25 Nov 2026, later): the Creations Hub bar back at the bottom, Upload your
   widget under the categories, the cards more compact */
.AIW2-HubBar {
	margin-top: 12px;
}

.AIW2-NavLine {
	height: 1px;
	margin: 12px 12px 8px;
	background: #1a222d;
}

.AIW2-NavUploadIn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.AIW2-NavUpload svg {
	width: 15px;
	height: 15px;
}

.AIW2-Grid {
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 8px;
}

.AIW2-Card {
	gap: 4px;
	padding: 12px 12px 10px 14px;
	border-radius: 10px;
}

.AIW2-CardHead {
	gap: 10px;
	margin-bottom: 0;
}

.AIW2-CardIcon {
	width: 28px;
	height: 28px;
	border-radius: 7px;
}

.AIW2-CardIcon svg {
	width: 15px;
	height: 15px;
}

.AIW2-CardName {
	font-size: 14px;
	line-height: 18px;
}

.AIW2-CardDesc {
	min-height: 0;
	font-size: 12px;
	line-height: 17px;
}

.AIW2-CardBar {
	padding-top: 6px;
	margin-top: auto;
}

.AIW2-CardBar .AIW2-Add {
	height: 26px;
	padding: 0 10px 0 8px;
}

.AIW2-Float {
	font-size: 12px;
}

.AIW2-Body {
	padding: 14px 18px 18px;
}

.AIW2-Label {
	margin-bottom: 10px;
}

/* ===========================================================================
ONE DESIGN SYSTEM (25 Nov 2026). Every button, field, window and card of the AI-first parts
follows these few rules; this layer comes last and wins over the older one-off styles.

Buttons, three kinds:
  primary    blue fill (the one main action of a place)
  secondary  outline (any other action)
  ghost      text only (Skip, Back, Cancel, links, Floating)
  danger     outline, red text (Remove)
Sizes: sm 28 px (inside cards and lists), md 32 px (default), lg 36 px (the main action of a
window or a page). Corners 8 px, text 13 px medium (sm 12 px), icons 15 px, 6 px gap.
Close: 28 px square outline. Send: 32 px square primary.
Fields 8-10 px corners, #09111a, #29323c line, focus #3a4452 (no blue focus).
Windows 16 px corners, #1a222d line; their titles 18-20 px semibold.
=========================================================================== */
:root {
	--ds-primary: #0767f6;
	--ds-primary-hover: #2a7dff;
	--ds-text: #eef1fa;
	--ds-text-2: #8a94a8;
	--ds-line: #1a222d;
	--ds-line-strong: #29323c;
	--ds-line-hover: #3a4552;
	--ds-hover: rgba(255, 255, 255, 0.04);
	--ds-danger: #ff2e05;
}

/* --- every button: shape and type */
:is(.AIP-Btn, .SH-Btn, .AIW2-HubBtn, .AIO-FXBack, .AIR-Back):not([class*="Chip"]):not([class*="Card"]) {
	box-sizing: border-box !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 32px !important;
	min-height: 0 !important;
	padding: 0 14px !important;
	border-radius: 8px !important;
	border: solid 1px var(--ds-line-strong) !important;
	background: transparent !important;
	color: var(--ds-text) !important;
	font-family: var(--font-family) !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	line-height: 1 !important;
	filter: none !important;
	white-space: nowrap;
	cursor: pointer;
}

:is(.AIP-Btn, .SH-Btn, .AIW2-HubBtn, .AIO-FXBack, .AIR-Back):not([class*="Chip"]):not([class*="Card"]) svg {
	width: 15px;
	height: 15px;
	flex: none;
}

:is(.AIP-Btn, .SH-Btn, .AIO-FXBack, .AIR-Back):not([class*="Chip"]):not([class*="Card"]):hover,
.AIW2-HubBar:hover .AIW2-HubBtn {
	border-color: var(--ds-line-hover) !important;
	background: var(--ds-hover) !important;
}

/* --- primary (Add to page in the cards stays secondary: one blue per place) */
.AIP-Btn.AIP-BtnPrimary:not(.AIW2-Add),
.SH-Btn.SH-BtnPrimary {
	border-color: var(--ds-primary) !important;
	background: var(--ds-primary) !important;
	color: #ffffff !important;
}

.AIP-Btn.AIP-BtnPrimary:not(.AIW2-Add):hover,
.SH-Btn.SH-BtnPrimary:hover {
	border-color: var(--ds-primary-hover) !important;
	background: var(--ds-primary-hover) !important;
}

/* --- ghost: text only */
:is(.AISC-Skip, .AISC-Back, .AIT-Skip, .AIT-Back, .AIM-Cancel, .AIX-NotNow, .SH-Cancel, .AIPB-Back, .AIO-WBack, .AIO-PBBack):not(#ds) {
	border-color: transparent !important;
	background: transparent !important;
	color: var(--ds-text-2) !important;
	padding: 0 10px !important;
}

:is(.AISC-Skip, .AISC-Back, .AIT-Skip, .AIT-Back, .AIM-Cancel, .AIX-NotNow, .SH-Cancel, .AIPB-Back, .AIO-WBack, .AIO-PBBack):not(#ds):hover {
	border-color: transparent !important;
	background: var(--ds-hover) !important;
	color: var(--ds-text) !important;
}

.AIP-Link {
	font-size: 13px;
	font-weight: 500;
	color: var(--ds-text-2);
}

.AIP-Link:hover {
	color: var(--ds-text);
}

/* --- sizes: sm in cards and lists, lg for the main action of a window or a page */
:is(.AIP-BtnSmall, .AIW2-Add, .AIX-CopyCode):not(#ds) {
	height: 28px !important;
	padding: 0 10px !important;
	font-size: 12px !important;
}

:is(.AIRS-Start, .AIO-FXStart, .AIN-Go, .AIT-Next, .AINP-Go, .AIO-Done, .AIW2-HubBtn, .SH-Go):not(#ds) {
	height: 36px !important;
	padding: 0 18px !important;
}

/* Floating (a text action in the cards): ghost, small */
.AIW2-Float {
	height: 28px;
	padding: 0 8px;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 500;
	color: var(--ds-text-2);
}

.AIW2-Float:hover {
	background: var(--ds-hover);
	color: var(--ds-text);
}

/* --- close: one square outline everywhere */
.AIM-Close, .SH-Close, .AIR-Close {
	box-sizing: border-box !important;
	width: 28px !important;
	height: 28px !important;
	padding: 0 !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	border: solid 1px var(--ds-line-strong) !important;
	border-radius: 8px !important;
	background: transparent !important;
	color: var(--ds-text-2) !important;
}

.AIM-Close:hover, .SH-Close:hover, .AIR-Close:hover {
	border-color: var(--ds-line-hover) !important;
	color: var(--ds-text) !important;
}

.AIM-Close svg, .SH-Close svg, .AIR-Close svg {
	width: 14px !important;
	height: 14px !important;
}

/* --- send: a 32 px primary square */
.AIP-Send, .AIP-QSend, .FXBAI-Send {
	width: 32px;
	height: 32px;
	border-radius: 8px;
}

/* --- windows */
#AIModalOverlay .AIM-Modal {
	border-radius: 16px;
	border-color: var(--ds-line);
}

.AIM-Head {
	font-size: 18px;
	font-weight: 600;
	line-height: 24px;
	color: var(--ds-text);
}

/* --- segmented tabs */
.AIM-Tabs {
	padding: 3px;
	border: solid 1px var(--ds-line);
	border-radius: 8px;
	background: #09111a;
}

.AIM-Tab {
	height: 28px;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 500;
}

/* --- fields */
.AIM-Input {
	height: 36px;
	border-radius: 8px;
	border: solid 1px var(--ds-line-strong);
	background: #09111a;
}

.AIM-Input:focus {
	border-color: var(--ds-line-hover);
	outline: none;
}

/* Widgets window (26 Nov 2026): Favorites (a star on every card, the list on the left) and Open,
   which asks how - a floating panel, a dialog or a window of its own */
.AIW2-CardHead {
	position: relative;
	padding-right: 28px;
}

.AIW2-Star {
	all: unset;
	position: absolute;
	top: -4px;
	right: -6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 8px;
	color: #6b7588;
	cursor: pointer;
}

.AIW2-Star svg {
	width: 16px;
	height: 16px;
}

.AIW2-Star:hover {
	background: rgba(255, 255, 255, 0.04);
	color: #eef1fa;
}

.AIW2-Star.AIW2-StarOn {
	color: #fbb61b;
}

.AIW2-Star.AIW2-StarOn svg {
	fill: currentColor;
}

.AIW2-CardHub .AIW2-CardHead {
	padding-right: 28px;
}

.AIW2-Open {
	all: unset;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 28px;
	padding: 0 6px 0 8px;
	border-radius: 8px;
	color: #8a94a8;
	font-family: var(--font-family);
	font-size: 12px;
	font-weight: 500;
	cursor: pointer;
}

.AIW2-Open:hover {
	background: rgba(255, 255, 255, 0.04);
	color: #eef1fa;
}

.AIW2-Open svg {
	width: 14px;
	height: 14px;
}

.AIW2-Open .AIW2-OpenChev {
	width: 12px;
	height: 12px;
	margin-left: -2px;
}

#AIW2OpenMenu {
	position: fixed;
	z-index: 9600;
	width: 260px;
	box-sizing: border-box;
	padding: 4px;
	border: solid 1px #29323c;
	border-radius: 10px;
	background: #111b27;
	font-family: var(--font-family);
}

.AIW2-OpenItem {
	all: unset;
	box-sizing: border-box;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	width: 100%;
	padding: 8px 10px;
	border-radius: 7px;
	cursor: pointer;
}

.AIW2-OpenItem:hover {
	background: rgba(255, 255, 255, 0.05);
}

.AIW2-OpenIcon {
	flex: none;
	display: inline-flex;
	color: #8a94a8;
	padding-top: 1px;
}

.AIW2-OpenIcon svg {
	width: 16px;
	height: 16px;
}

.AIW2-OpenText {
	display: flex;
	flex-direction: column;
	gap: 1px;
}

.AIW2-OpenText b {
	font-size: 13px;
	font-weight: 500;
	color: #eef1fa;
}

.AIW2-OpenText span {
	font-size: 12px;
	line-height: 16px;
	color: #8a94a8;
}

.AIW2-NavFav .AIW2-NavCount:empty {
	display: none;
}

/* The window after Pick it step by step (26 Nov 2026): three cards, each with the bit of the
   page it is about drawn small (the same look as on the page), a title and one short line */
.AIM-Modal.AIN-Modal.AIN-Steps {
	position: relative;
	width: 680px;
	padding: 28px 24px 24px;
}

.AIN-Steps .AIN-Head {
	text-align: center;
	margin-bottom: 22px;
}

.AIN-Steps .AIN-Head .AIM-Close {
	position: absolute;
	top: 16px;
	right: 16px;
}

.AIN-Steps .AIN-Items {
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}

.AIN-Steps .AIN-Item {
	padding: 0;
	gap: 0;
	align-items: stretch;
	overflow: hidden;
}

.AIN-Steps .AIN-Pic {
	height: 104px;
	padding: 14px;
	align-items: center;
	justify-content: center;
}

.AIN-Steps .AIN-Body {
	padding: 12px 14px 14px;
	gap: 2px;
}

.AIN-Steps .AIN-ItemTitle {
	font-size: 14px;
}

.AIN-Steps .AIN-ItemText {
	font-size: 12px;
	line-height: 17px;
}

.AIN-Steps .AIN-Buttons {
	justify-content: center;
}

/* the small pictures */
.AINS-Btn {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	height: 22px;
	padding: 0 7px;
	border: solid 1px #29323c;
	border-radius: 6px;
	background: #0a121c;
	color: #eef1fa;
	font-size: 10px;
	font-weight: 500;
	white-space: nowrap;
}

.AINS-Btn svg {
	width: 11px;
	height: 11px;
}

.AINS-Red {
	color: #ff2e05;
}

.AINS-Widget {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	width: 100%;
	height: 100%;
	padding: 10px 12px;
	box-sizing: border-box;
	border: solid 1px #1a222d;
	border-radius: 8px;
	background: #0c1622;
}

.AINS-Widget i {
	display: block;
	height: 4px;
	border-radius: 2px;
	background: #1f2a38;
}

.AINS-Widget i:nth-child(2) { width: 70%; }
.AINS-Widget i:nth-child(3) { width: 45%; }

.AINS-Btns {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	border-radius: 8px;
	background: rgba(0, 8, 19, 0.72);
}

.AINS-Free {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	border: dashed 1px #3a4552;
	border-radius: 8px;
}

.AINS-Bar {
	display: flex;
	align-items: center;
	gap: 6px;
	width: 100%;
	height: 34px;
	padding: 0 5px 0 6px;
	box-sizing: border-box;
	border: solid 1px #29323c;
	border-radius: 8px;
	background: #0a121c;
	font-size: 10px;
	color: #eef1fa;
}

.AINS-Bar b {
	font-size: 11px;
	font-weight: 600;
}

.AINS-Count {
	height: 18px;
	padding: 0 5px;
	border-radius: 4px;
	background: #1a2433;
	color: #8a94a8;
	line-height: 18px;
}

.AINS-Gap {
	flex: 1;
}

.AINS-Next {
	height: 22px;
	padding: 0 7px;
	border-radius: 6px;
	background: #0767f6;
	color: #ffffff;
	font-weight: 500;
	line-height: 22px;
	white-space: nowrap;
}

@media (max-width: 640px) {
	.AIN-Steps .AIN-Items {
		grid-template-columns: 1fr;
	}
}
/* ---------------------------------------------------------------------------------
Fonts 
--------------------------------------------------------------------------------- */

@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 300;
    src: url("fonts/font.aspx?fonts/open-sans/Open_Sans-normal-300.woff") format("woff");
}

@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 400;
    src: url("fonts/font.aspx?fonts/open-sans/Open_Sans-normal-400.woff") format("woff");
}

@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 700;
    src: url("fonts/font.aspx?fonts/open-sans/Open_Sans-normal-700.woff") format("woff");
}

@font-face {
    font-family: "Jakarta";
    font-style: normal;
    font-weight: 300 400;
    src: url("fonts/jakarta/PlusJakartaSans-Regular.woff") format("woff");
}

@font-face {
    font-family: "Jakarta";
    font-style: normal;
    font-weight: 600 700;
    src: url("fonts/jakarta/PlusJakartaSans-SemiBold.woff") format("woff");
}


@font-face {
    font-family: "FontAwesome";
    font-style: normal;
    font-weight: 400;
    /*src: url("fonts/font.aspx?fonts/awesome/fa-solid-900.612.woff") format("woff");*/
	src: url("fonts/awesome/fa-light-300.woff2") format("woff2");
}

@font-face {
	font-family: "Strive";
	font-style: normal;
    font-weight: 300 400;
	src: url("fonts/strive/strive.woff?20260830") format("woff");
}

@font-face {
	font-family: "Arabic";
	font-style: normal;
    font-weight: 300 400;
	unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF;
	src: url("fonts/NotoSansArabic/NotoSansArabic-Regular.ttf?20260830") format("TrueType");
	ascent-override: 105%;
	descent-override: 35%;
	line-gap-override: 0%;
	size-adjust: 125%;
}

@font-face {
	font-family: "Arabic";
	font-style: normal;
    font-weight: 300 400;
	src: url("fonts/NotoSansArabic/NotoSansArabic-Regular.ttf?20260830") format("TrueType");
	unicode-range: U+0000-00FF; /* basic Latin */
	size-adjust: 100%;
}

.fa {
    font-family: "FontAwesome";
}

:root {
	--base-font-family: "Jakarta", "Open Sans", sans-serif, Verdana, Arial;
	--font-family: var(--base-font-family);
	--font-family-numeric: var(--base-font-family); /*"Open Sans", sans-serif, Verdana, Arial;*/
	--font-size-larger: 16px;
	--font-size-base: 13px;
	--font-size-small: 11px;

	/*
	--clr-base-window-background: radial-gradient(at top left, #122e52 0%, #161d46 50%, #18113f 100%);
	--clr-widget-background: linear-gradient(135deg, #32355B, #312B56);
	--clr-dialog-background: linear-gradient(180deg, rgba(76,110,146,1) 0%, rgba(52,67,112,1) 100%);
	--clr-loginbackground: linear-gradient(#161440, #181538);
	--clr-dialog-footer: #506088;
	--clr-dialog-dragbar: #4D6D90;
	--clr-scrollbar: #7c9fd5;
	--menu-background: rgba(76, 110, 146, 1);
	*/

	--clr-base-window-background: #000813;
	--clr-loginbackground: radial-gradient(#202020 0%, #181818 100%);
	--clr-widget-background: #09121C;
	/*--clr-dialog-background: linear-gradient(#35383e, #2e2d33);*/
	--clr-dialog-background: var(--clr-widget-background);
	--clr-dialog-footer: #131C26;
	--clr-dialog-dragbar: #09121C;
	--clr-scrollbar: var(--clr-faint-border);
	--clr-theme-color: var(--clr-dialog-footer);
	--dialog-border: solid 1px #404040;
	
	--clr-dialog-warning-section: #813e3e;
	--clr-dialog-warning-section-border: #c06070;
	--clr-dialog-confirmation-section: linear-gradient(45deg, #557284, #506A83);
	--clr-dialog-confirmation-section-border: #709870;

	--clr-text: #F0F0F0;
	--clr-highlight: white;
	--clr-lessbold: #E0E0E0;
	--clr-lowlight: #a0b0d0;
	--clr-lowlight-wash: rgba(160, 176, 208, 0.5);
	--clr-disabled: rgba(80, 80, 80);
	--clr-disabled-dark: #808080; /* Only used for pseudo-checkboxes*/
	--clr-gridline: #606060;  /* Low-contrast gridline, for tick chart. Google Charts require this not to have transparency */
	--clr-low-contrast-bar: #404040;  /* Low-contrast bar, for tick chart. Google Charts require this not to have transparency */
	--clr-gold: gold;

	--clr-option-background: var(--clr-toolbar);
	--clr-option-foreground: var(--clr-text);
	--clr-optgroup-foreground: var(--clr-lowlight);
	
	--widget-chrome-inset-horizontal: 40px;

	--clr-profit: #4FE07A;
	--clr-loss: #FF7166;
	--clr-profitbackground: #4FE07A;
	--clr-lossbackground: #FF7166;
	
	--clr-pendingorderbackground: darkgoldenrod; /*Colour of chart markers for pending order*/
	
	--clr-long: #0ADB5E;	/* AI-first vision: green up and Buy (was #0767F6) */
	--clr-short: #FF2E05;
	--clr-on-longshort-background: white; /* Generally always white; not the same as --clr-text */
	--clr-on-long-background: var(--clr-on-longshort-background);
	--clr-on-short-background: var(--clr-on-longshort-background);
	
	--clr-transparent-wash1: rgba(128, 128, 128, 0.5);
	--clr-transparent-wash2: rgba(128, 128, 128, 0.3);
	--clr-transparent-wash3: rgba(128, 128, 128, 0.05);
	--clr-transparent-wash-general: var(--clr-transparent-wash3);
	
	--clr-border1: rgba(192, 192, 192, 0.2);
	--clr-border-dark: #181A48;
	
	--clr-box-shadow1: rgba(0, 0, 0, 0.8);
	--clr-dialog-shadow: 0px 10px 20px 10px #080808;
	--clr-menu-shadow: 0px 20px 40px 8px var(--clr-box-shadow1);
	
	--clr-label: var(--clr-lowlight);
	--clr-dialog-overlay: var(--clr-transparent-wash3);
	--font-size-input: var(--font-size-base);
	
	--clr-input-border: #1A222D;
	--clr-input-border-active: #0767F6;

	--menu-background: var(--clr-toolbar);
	--menu-disabled-item: var(--clr-disabled);
	--menu-border: transparent;
	--menu-highlight: var(--clr-transparent-wash2);
	--menuitem-disabled: var(--clr-disabled);
	--menu-separator: #282828;
	--menu-selection: rgba(11, 71, 142, 0.55);
	--icon-menu-active: #1F2225;

	--tab-background: transparent;
	--tab-background-selected: #29323C;
	
	--dealticket-background: var(--clr-widget-background);
	--dealticket-border: var(--clr-faint-border);
	--dealticket-title-background: var(--clr-transparent-wash3);
	
	--clr-icon-inactive: #8A94A8;
	--clr-icon-active: white;
	/*
	--clr-icon-inactive: var(--clr-highlight);
	--clr-icon-active: var(--clr-lowlight);
	*/
	--clr-border-inactive: #1C222C;
	--clr-border-active: #29323C;
	--iconsize-medium: 16px;

	--clr-toolbar: #131C26;
	--toolbar-height: 35px;
	

	/* Controlling chart elements... */
	--chart-indicator-line: #FDC228;
	
	--clr-blue-highlight: #0768F6;
	--clr-blue-wash: #0D3678;
	--clr-blue-transparent-wash: rgba(7, 103, 246, 0.18);
	
	--clr-faint-border: #1A222D;
}

BODY.Lang-ar {
	--font-family: "Arabic", var(--base-font-family);
}

@media (hover: none) and (pointer: coarse) {
	:root {
		--clr-icon-inactive: #d0d0d0;
	}
}

HTML {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

BODY {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
	box-sizing: border-box;
    overflow: hidden;
    font-family: var(--font-family);
    font-size: var(--font-size-base);
	-webkit-text-size-adjust: 100%; /* Prevent iOS resizing any content */
	background: transparent;
	color: var(--clr-text);
	
	max-width: 100vw; /* Apparently required for Mobile Safari on iOS 12 */
}

BODY.Widget-external {
	overflow-y: auto;
}

a {
	color: var(--clr-text);
}



/* ---------------------------------------------------------------------------------
Body colour modifiers for different contexts 
--------------------------------------------------------------------------------- */

BODY.TopLevelWindow {
	--widget-background: var(--clr-base-window-background);
	background: var(--clr-base-window-background);
}

BODY.Widget, .WidgetBackground {
	--widget-background: var(--clr-widget-background);
	background: var(--clr-widget-background);
}

BODY.Widget.FloatingWindow, BODY.Widget.FloatingWindow .WidgetBackground, BODY.Widget.ParentIsFloatingWindow {
	--widget-background: var(--clr-dialog-background);
	background: var(--clr-dialog-background);
}

BODY.Dialog {
	--widget-background: var(--clr-dialog-background);
	background: var(--clr-dialog-background);
	box-sizing: border-box;
}

/* NO LONGER USED 
.iPhoneLandscapePadding {
	padding: 20px 0 0 0; 
}

BODY.iPhoneLandscapePadding .DialogOuterContainer.DialogFullScreen {
	margin: 20px 0 0 0;
	box-sizing: border-box;
	height: calc(100% - 20px) !important;
}
*/

.BrowserThemeColor {
	background-color: var(--clr-theme-color);
}

/* ---------------------------------------------------------------------------------
Global overrides of standard CSS 
--------------------------------------------------------------------------------- */


IFRAME {
	border: 0;
}

*,
*:focus {
    outline:0;
}

FORM {
    margin: 0;
}

/* Remove focus rectangle from links, particularly for the banner links when using Firefox */
A:focus {
    outline: 0;
}


/* ---------------------------------------------------------------------------------
Standard classes (some of them overwritten for RTL)
--------------------------------------------------------------------------------- */


.FLOATL {
	float: left;
}

.FLOATR {
	float: right;
}

.TEXTL {
	text-align: left;
}

.TEXTR {
	text-align: right;
}

/* Added through code, in HandleTheme() in fxb.standardmessagehandling.js */
.NoUserSelect {
	user-select: none;
	-ms-user-select: none;
	--webkit-touch-callout: none;
    -webkit-user-select: none;
	-moz-user-select: none;
}

.StrikeThrough {
	text-decoration: line-through;
}

.Capitalize {
	text-transform: capitalize;
}

/* ---------------------------------------------------------------------------------
Font Awesome and other fonts 
--------------------------------------------------------------------------------- */
.FA {
	font-family: FontAwesome;
}

.numeric-field {
	font-family: var(--font-family-numeric);
	font-variant-numeric: tabular-nums;
}

.standard-text {
	font-family: var(--font-family);
}

/* ---------------------------------------------------------------------------------
Button font 
--------------------------------------------------------------------------------- */

BUTTON {
	font-family: var(--font-family);
}

/* ---------------------------------------------------------------------------------
Simple responsiveness settings 
--------------------------------------------------------------------------------- */

@media screen and (max-width: 500px) {
	.HideOnPhonePortrait {display: none;}
}

BODY.NoActionIcon {
	--widget-chrome-inset-horizontal: 10px;
}

/* ---------------------------------------------------------------------------------
Scrollbar modification, where available
--------------------------------------------------------------------------------- */

::-webkit-scrollbar{height:2px;width:2px}
::-webkit-scrollbar-button:end:increment,::-webkit-scrollbar-button:start:decrement {background:0 0;display:none}
::-webkit-scrollbar-track-piece{background:transparent;}
::-webkit-scrollbar-track-piece:vertical:start{border-radius:5px}
::-webkit-scrollbar-track-piece:vertical:end{border-radius:5px}
::-webkit-scrollbar-track-piece:horizontal:start{border-radius:5px}
::-webkit-scrollbar-track-piece:horizontal:end{border-radius:5px}
::-webkit-scrollbar-thumb:horizontal,::-webkit-scrollbar-thumb:vertical{background: var(--clr-scrollbar);border-radius:5px;display:block;height:20px}


/* ---------------------------------------------------------------------------------
Helper selectors for hiding things on different device types
NO LONGER USED

BODY.BrowserDesktop_Yes     .BrowserOnlyDesktop        {display: initial;}
BODY.BrowserDesktop_No         .BrowserOnlyDesktop        {display: none;}

BODY.BrowserDesktop_Yes     .BrowserNotDesktop        {display: none;}
BODY.BrowserDesktop_No         .BrowserNotDesktop        {display: initial;}

BODY.BrowserTablet_Yes         .BrowserOnlyTablet        {display: initial;}
BODY.BrowserTablet_No         .BrowserOnlyTablet        {display: none;}

BODY.BrowserTablet_Yes         .BrowserNotTablet        {display: none;}
BODY.BrowserTablet_No         .BrowserNotTablet        {display: initial;}

BODY.BrowserMobile_Yes         .BrowserOnlyMobile        {display: initial;}
BODY.BrowserMobile_No         .BrowserOnlyMobile        {display: none;}

BODY.BrowserMobile_Yes         .BrowserNotMobile        {display: none;}
BODY.BrowserMobile_No         .BrowserNotMobile        {display: initial;}

BODY.BrowserTouch_Yes         .BrowserOnlyTouch        {display: initial;}
BODY.BrowserTouch_No         .BrowserOnlyTouch        {display: none;}

BODY.BrowserTouch_Yes         .BrowserNotTouch        {display: none;}
BODY.BrowserTouch_No         .BrowserNotTouch        {display: initial;}



BODY.SingleAccount            .MultipleAccountsOnly    {display: none;}
BODY.NoTradingAccount        .MultipleAccountsOnly    {display: none;}

BODY.NoTradingAccount        .NeedsTradingAccount    {display: none;}

BODY.DisplayMode_window		.HideIfInWindow 		{display:none;}


--------------------------------------------------------------------------------- */

/* ---------------------------------------------------------------------------------
Variables for charts, used in FXB.ChartX.prototype.ApplyDefaultColoursToTheme
--------------------------------------------------------------------------------- */

.ChartVariable-IndicatorLine {
	color: var(--chart-indicator-line);
}
/* ---------------------------------------------------------------------------------
Pop-up menu framework
--------------------------------------------------------------------------------- */

.FXBTouchOverlay {
    position: absolute;
    top: 0px;
    left: 0px;
    overflow: hidden;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 18999;
}


.FXBPopupMenuContainer {
	border-radius: 8px;
    position: absolute;
    top: 0px;
    left: 0px;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
	max-width: 75%;
    max-height: 80%;
    border: solid 1px var(--menu-border);
    background: var(--menu-background);
    box-shadow: var(--clr-menu-shadow);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    z-index: 19000;

	animation: anim-menu-fade-in 0.75s;
}

@keyframes anim-menu-fade-in {
	0% 		{opacity: 0;}
	100% 	{opacity: 1;}
}

.FXBPopupMenuContainer:focus {
    outline: none;
}

.FXBPopupMenuItem {
    display: block;
    min-width: 100px;
    cursor: pointer;
    white-space: nowrap;
	
	display: flex;
	flex-direction: row;
	align-items: center;
	
	color: var(--clr-icon-inactive);
}

.FXBPopupMenuItem_Indent {
    padding: 0 0 0 10px;
}

.FXBPopupMenuItem_Heading {
    font-weight: bold;
    font-size: 12px;
}
.FXBPopupMenuItem_Danger {
    color: crimson;
}


.FXBPopupMenuItem_Disabled {
    color: var(--menu-disabled-item);
	cursor: not-allowed;
}


.FXBPopupMenuItem_Unselectable {
	cursor: default;
	opacity: 0.5;
}

.FXBPopupMenuItem_Highlight {
	color: var(--clr-icon-active);
}

.FXBPopupMenuItem_Separator {
    border-top: solid 1px var(--menu-separator);
}

.FXBPopupMenuItem_Unchecked .FXBPopupMenuItemIcon {
	opacity: 0.25;
}

.FXBPopupMenuItemIcon.FXBPopupMenuItemCheckbox {
}

.FXBPopupMenuItem_Checked {
	color: var(--clr-icon-active);
}

.FXBPopupMenuItem_Checked .FXBPopupMenuItemIcon {
	color: var(--clr-blue-highlight);
}

.FXBPopupMenuItem_Unchecked .FXBPopupMenuSolidIcon.FXBPopupMenuItemIcon {
	opacity: 1;
}

.FXBPopupMenuItem input {
    margin: 3px;
}

.FXBPopupMenuItem:hover {
    background: var(--menu-highlight);
	color: var(--clr-icon-active);
}

.FXBPopupMenuItem_Danger:hover {
    color: crimson;
}

.FXBPopupMenuItem.FXBPopupMenuItem_Selected {
    background: var(--menu-selection);
	color: var(--clr-icon-active);
}


.FXBPopupMenuItem.FXBPopupMenuItem_Disabled:hover {
    background: initial;
    color: var(--menuitem-disabled);
}

.FXBPopupMenuItem.FXBPopupMenuItem_Unselectable:hover {
    background: initial;
    color: var(--clr-text);
}

.FXBPopupMenuContainer_HasIcons .FXBPopupMenuItemIcon {
    display: inline-block;
}

.FXBPopupMenuContainer_HasSubMenus .FXBPopupMenuItemSubMenuIcon {
    display: inline-block;
}

.FXBPopupMenuItemIcon {
    display: none;
    padding: 5px;
    width: 20px;
    height: 20px;
    vertical-align: middle;
    font-size: 16px;
    line-height: 20px;
    overflow: hidden;
	background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center center;
	box-sizing: content-box;
	text-align: center;
}

.FXBPopupMenuItemSubMenuIcon {
    display: none;
    padding: 5px;
    width: 20px;
    height: 20px;
    vertical-align: middle;
    font-size: 18px;
    line-height: 20px;
    overflow: hidden;
	box-sizing: content-box;
}

.FXBPopupMenuItemText {
    display: inline-block;
    white-space: nowrap;
    text-overflow: ellipsis;
	overflow: hidden;
    padding: 10px 20px 10px 10px;
    vertical-align: middle;
	flex-grow: 1;
	max-width: 50vw;
}

.FXBPopupMenuItem INPUT[type="number"] {
    display: inline-block;
}

.FXBPopupMenuItem INPUT[type="text"] {
    display: inline-block;
}

.FXBMenu_RedIconHighlight .FXBPopupMenuItemIcon:hover {
	color: crimson;
}

.FXBMenu_LineThrough {
	text-decoration: line-through;
}

.FXBPopupMenuItemSubIcon {
	display: inline-block;
	font-family: FontAwesome;
	vertical-align: middle;
	font-size: 16px;
	padding: 2px 10px 2px 10px !important;
}

/* ---------------------------------------------------------------------------------
"Tip text" on menu items
--------------------------------------------------------------------------------- */

.MenuItemTipText {
	opacity: 0.5;
	font-size: smaller;
	padding: 0 10px 0 10px;
}

/* ---------------------------------------------------------------------------------
Drag
--------------------------------------------------------------------------------- */

.FXBDragOverlay {
    position: absolute;
    top: 0px;
    left: 0px;
    overflow: hidden;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 19050;
}

.FXBInDrag {
    z-index: 19051;
}

.FXBResizeHandle {
    position: absolute;
    cursor: nwse-resize;
    left: calc(100% - 20px);
    top: calc(100% - 20px);
    height: 12px;
    width: 12px;
    z-index: 1;
	border-right: solid 3px var(--clr-lowlight);
	border-bottom: solid 3px var(--clr-lowlight);
	opacity: 0.1;
}

.FXBResizeHandle:hover {
	opacity: 1;
}

/* ---------------------------------------------------------------------------------
For FontAwesome menu choices 
--------------------------------------------------------------------------------- */

.MenuFontAwesomeList SPAN.FAMenuIcon {
	display: inline-block;
	width: 30px;
	height: 30px;
	font-size: 20px;
}

.MenuFontAwesomeList.FXBPopupMenuItem:hover {
    background: transparent;
}

/* ---------------------------------------------------------------------------------
Text direction 
--------------------------------------------------------------------------------- */
.LTR {
	direction: ltr;
}
.RTL {
	direction: rtl;
}

.TextDirection {
	direction: ltr;
}

BODY.RTL .TextDirection,
BODY.RTL .SettingsFormSection,
BODY.RTL .DialogContainer,
BODY.RTL #PaletteContainerInner,
BODY.RTL SELECT,
BODY.RTL INPUT,
BODY.RTL TEXTAREA
{
	direction: rtl;
}

.RTL .FLOATL {
	float: right;
}

.RTL .FLOATR {
	float: left;
}

.RTL .TEXTL {
	text-align: right;
}

.RTL .TEXTR {
	text-align: left;
}


BODY.RTL .DialogConfirmationSectionInner {
	background-position: right center;
	padding: 0 30px 0 0;
}

BODY.RTL .DialogWarningSectionInner {
	background-position: right center;
	padding: 0 30px 0 0;
}

BODY.RTL .DialogClose {
	left: 15px;
}
BODY.RTL .DialogSecondActionIcon {
	left: 40px;
}
BODY.RTL .price-style-popup {
	padding: 10px 10px 10px 90px;
}
BODY.RTL .FXBResizeHandle {
	left: 3px;
	cursor: nesw-resize;
	border-right: 0;
	border-left: solid 3px var(--clr-lowlight);
}



/* ---------------------------------------------------------------------------------
Base definition of input fields 
--------------------------------------------------------------------------------- */

SELECT, 
INPUT[type="text"], 
INPUT[type="number"], 
INPUT[type="password"], 
INPUT[type="date"], 
INPUT[type="time"], 
INPUT[type="email"], 
INPUT[type="datetime-local"], 
TEXTAREA  {
    font-family: var(--font-family);
	font-size: var(--font-size-input);
	background: transparent;
	border-radius: 8px;
	border: solid 1px var(--clr-input-border);
	padding: 3px 6px;
	color: var(--clr-text);
	box-sizing: border-box;
}

INPUT[type="number"] {
	font-family: var(--font-family-numeric);
	font-variant-numeric: tabular-nums;
}

SELECT:disabled {
	color: var(--clr-disabled-dark);
	border-color: var(--clr-disabled-dark);
	cursor: not-allowed;
}

SELECT:hover, INPUT[type="text"]:hover, INPUT[type="number"]:hover, INPUT[type="password"]:hover, INPUT[type="date"]:hover, INPUT[type="time"]:hover, INPUT[type="email"]:hover, INPUT[type="datetime-local"]:hover,
SELECT:focus, INPUT[type="text"]:focus, INPUT[type="number"]:focus, INPUT[type="password"]:focus, INPUT[type="date"]:focus, INPUT[type="time"]:focus, INPUT[type="email"]:hover, INPUT[type="datetime-local"]:focus,
TEXTAREA:focus
{
    border-color: var(--clr-input-border-active);
}

OPTION {
	background: var(--clr-option-background);
	color: var(--clr-option-foreground);
}

OPTGROUP {
	font-weight: bold;
	background: var(--clr-option-background);
	color: var(--clr-optgroup-foreground);
}

BUTTON {
	position: relative;
	border: 0;
	cursor: pointer;
	color: var(--clr-text);
}


BUTTON.glass:after {
	content: '';
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background: linear-gradient(rgba(255,255,255,0.3), rgba(255,255,255,0.1), rgba(255,255,255,0.3));
}

BUTTON.glass:hover:after, BUTTON.glass:focus:after {
	background: linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0.2), rgba(255,255,255,0.5));
}

BUTTON.glass:active:after {
	background: linear-gradient(rgba(192,192,192,0.5), rgba(192,192,192,0.2), rgba(192,192,192,0.5));
}


/* ---------------------------------------------------------------------------------
Standard "loading..." image for widgets to use
--------------------------------------------------------------------------------- */

#WidgetWait {
    position: fixed;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    z-index: 19999;
}

#WidgetWaitInline {
    height: 100%;
    width: 100%;
}

#WidgetWaitInner {
    position: relative;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    top: calc(50% - 50px);
    left: calc(50% - 50px);
    height: 100px;
    width: 100px;
    background-repeat: no-repeat;
    background-size: initial;
    background-position: center center;
    z-index: 20001;
}


#WidgetReadyContent {visibility: hidden;height: 100%; width: 100%;}


.InlineWaitImage, #InlineLoader, #WidgetWaitInner, .waiting-animation {
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='64' viewBox='0 0 15 16' fill='%23FFFFFF' role='img' aria-label='Načítání'%3E %3Cstyle%3E path { transform-box: fill-box; } .bar { transform-origin: 50%25 100%25; animation: g 2000ms infinite both; } .cap { animation: d 2000ms 180ms infinite both; } .a { animation-delay: 0ms; } .b { animation-delay: 90ms; } .d { animation-delay: 270ms; } .e { animation-delay: 360ms; } @keyframes g { 0%25 { opacity: 0; transform: scaleY(0.2); animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); } 28%25 { opacity: 1; transform: scaleY(1); } 70%25 { opacity: 1; transform: scaleY(1); animation-timing-function: cubic-bezier(0.77, 0, 0.175, 1); } 90%25, 100%25 { opacity: 0; transform: scaleY(0.2); } } @keyframes d { 0%25 { opacity: 0; transform: translateY(-60%25); animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); } 28%25 { opacity: 1; transform: translateY(0); } 70%25 { opacity: 1; transform: translateY(0); animation-timing-function: cubic-bezier(0.77, 0, 0.175, 1); } 90%25, 100%25 { opacity: 0; transform: translateY(-60%25); } } @media (prefers-reduced-motion: reduce) { .bar, .cap { animation: p 1600ms ease-in-out infinite; } @keyframes p { 0%25, 100%25 { opacity: 0.35; transform: none; } 50%25 { opacity: 1; transform: none; } } } %3C/style%3E %3Cpath class='bar e' d='M15.0001 9.06691L12.4138 11.7335V2.66705L15.0001 0.000732422V9.06691Z'/%3E %3Cpath class='bar d' d='M10.8622 13.3333L8.27588 15.9999V6.93341L10.8622 4.26709V13.3333Z'/%3E %3Cpath class='bar a' d='M2.95746e-05 9.06691L2.5863 11.7335L2.5863 2.66705L2.95746e-05 0.000732422L2.95746e-05 9.06691Z'/%3E %3Cpath class='bar b' d='M4.13772 13.3333L6.724 15.9999L6.724 6.93341L4.13772 4.26709V13.3333Z'/%3E %3Cpath class='cap' d='M7.34387 2.81836L7.50012 2.97949L7.6554 2.81934L9.86926 0.536133V2.5791L7.50012 5.02246L5.13 2.57812V0.535156L7.34387 2.81836Z' stroke='%23FFFFFF' stroke-width='0.434189'/%3E %3C/svg%3E");
	background-position: center center;
	background-size: 60px 64px;
	background-repeat: no-repeat;
}

.InlineWaitImage {
	display: inline-block;
	vertical-align: middle;
	margin: 0 5px 0 5px;
}

#InlineLoader {
	display: none; /* Not currently used */
}

.RunningIcon {
	background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='UTF-8' standalone='no'?%3E%3Csvg xmlns:svg='http://www.w3.org/2000/svg' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.0' viewBox='0 0 128 128' xml:space='preserve'%3E%3Crect x='0' y='0' width='100%25' height='100%25' fill='transparent' /%3E%3Cg%3E%3Cpath d='M.6 57.54c5.73-6.23 17.33-15.5 33.66-12.35C55.4 48.5 64 63.95 64 63.95S42.42 65 30.28 83.63a38.63 38.63 0 0 0-3.4 32.15 64.47 64.47 0 0 1-5.52-4.44A63.64 63.64 0 0 1 .6 57.54z' fill='%23ffcb02'/%3E%3Cpath d='M65.32 29.05c7.65 19.98-1.44 35.18-1.44 35.18S52.2 46.05 30.03 44.85A38.6 38.6 0 0 0 .56 57.93 63.8 63.8 0 0 1 37.56 6c8.2 1.8 22.26 7.16 27.76 23.05z' fill='%23ff9e02'/%3E%3Cpath d='M94.92 47.7c-13.48 16.63-31.2 16.36-31.2 16.36s9.92-19.2-.13-39a38.6 38.6 0 0 0-26.18-19 63.78 63.78 0 0 1 63.52 6.03c2.56 8 4.98 22.85-6.05 35.6z' fill='%23ff4b42'/%3E%3Cpath d='M93.52 82.53C72.38 79.17 63.75 63.7 63.75 63.7s21.6-1.02 33.7-19.63a38.6 38.6 0 0 0 3.43-32.04 64.33 64.33 0 0 1 5.74 4.6 63.63 63.63 0 0 1 20.82 53.26c-5.62 6.2-17.34 15.8-33.94 12.6z' fill='%23c063d6'/%3E%3Cpath d='M62.5 99c-7.65-19.98 1.44-35.17 1.44-35.17S75.56 81.6 97.74 82.8a39.1 39.1 0 0 0 29.73-13.03 63.8 63.8 0 0 1-37.16 52.3c-8.2-1.8-22.25-7.15-27.8-23.06z' fill='%2317a4f6'/%3E%3Cpath d='M26.64 115.63C24 107.6 21.6 93.06 32.5 80.5c13.48-16.62 31.58-16.55 31.58-16.55s-9.6 19.06.44 38.86a38.82 38.82 0 0 0 26.05 19.17 63.78 63.78 0 0 1-63.93-6.3z' fill='%234fca24'/%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 64 64' to='360 64 64' dur='2400ms' repeatCount='indefinite'%3E%3C/animateTransform%3E%3C/g%3E%3C/svg%3E");
	background-repeat: no-repeat;
}
/* The small inline loader scales the MyTrader loader into its box */
.InlineWaitImage {
	background-size: contain;
	background-position: center center;
}


/* ---------------------------------------------------------------------------------
Standard price formatting
--------------------------------------------------------------------------------- */

.icon, .icon-strive {
	display: inline-block;
	cursor: pointer;
	color: var(--clr-icon-inactive);
	font-family: FontAwesome;
	text-align: center;
}

BUTTON.icon, BUTTON.icon-strive {
	background-color: transparent;
	border: 0;
	padding: 0;
}

.icon:hover, .icon-strive:hover {
	color: var(--clr-icon-active);
}

.icon-no-hover.icon, .icon-no-hover.icon:hover {
	color: var(--clr-text);
	cursor: default;
}

.icon-strive {
	font-family: "Strive";
}

.icon-active-state {
    background-color: var(--icon-menu-active) !important;
    color: var(--clr-icon-active) !important;
	opacity: 1 !important;
	border-radius: 8px;
}

.icon-disabled {
	color: var(--clr-disabled);
	cursor: not-allowed;
}

.icon-disabled:hover {
	color: var(--clr-disabled);
}

.iconsize-medium {
	width: var(--iconsize-medium);
	height: var(--iconsize-medium);
	font-size: var(--iconsize-medium);
	line-height: var(--iconsize-medium);
}

.icon-cog:after {
	font-family: "FontAwesome";
	content: "\f013";
}

.icon-toolbox:after {
	font-family: "Strive";
	content: "\e90f";
}

.icon-hamburger:after {
	content: "\f0c9";
}

.icon-widgetactionicon:after, .icon-action:after {
	content: "\f142";
}

.icon-dealticket:after {
	font-family: "Strive";
	content: "\e915";
}

.icon-add:after, .icon-choosewidget:after {
	content: "\f067";
}

.icon-close:after {
	content: "\f00d";
}
.icon-close:hover:after {
	color: crimson;
	font-weight: bold;
}

.icon-delete:after {
	content: "\f057";
}
.icon-delete:hover:after {
	color: crimson;
	font-weight: bold;
}

.icon-heart:after {
	content: "\f004";
}

.icon-favourite:after {
	content: "\f005";
}

.icon-bin:after {
	font-family: "FontAwesome";
	content: "\f1f8";
}

.icon-undo:after {
	content: "\f0e2";
}

.icon-move:after {
	content: "\f0b2";
}

.icon-pin:after {
	content: "\f08d";
}

.icon-indicator:after {
	font-family: "Strive";
	content: "\e900";
}

.icon-chart:after {
	font-family: "Strive";
	content: "\e903";
}

.icon-cursor:after {
	font-family: "Strive";
	content: "\e906";
}

.icon-pencil:after {
	content: "\f303";
}

.icon-drawing:after, .icon-pencil:after {
	font-family: "Strive";
	content: "\e908";
}

.icon-chartview:after {
	content: "\f013";
}

.icon-chartmobile:after {
	content: "\e411";
}

.icon-edit:after {
	content: "\f14b";
}

.icon-page:after {
	content: "\f65e";
}

.icon-sort:after {
	content: "\f0dc";
}

.icon-logout:after {
	font-family: "Strive";
	content: "\e90d";
}

.icon-systemsettings:after {
	font-family: "Strive";
	content: "\e90b";
}

.icon-bell:after {
	content: "\f0f3";
}

.icon-bookmark:after {
	content: "\f02e";
}

.icon-wifi:after {
	content: "\f1eb";
}

.icon-barred:after {
	content: "\f05e";
}

.icon-ellipsis:after {
	content: "\f141";
}

.icon-angle-right:after {
	content: "\f105";
}

.icon-angle-left:after {
	content: "\f104";
}

.icon-dollar:after {
	content: "\f155";
}

.icon-pound:after {
	content: "\f154";
}

.icon-euro:after {
	content: "\f153";
}

.icon-yen:after {
	content: "\f157";
}

.icon-mail:after {
	content: "\f658";
}

.icon-magic:after {
	content: "\f72b";
}

.icon-send-mail:after {
	content: "\f1d8";
}

.icon-paperclip:after {
	content: "\f0c6";
}

.icon-bullet:after {
	content: "\f111";
}

.icon-signal:after {
	content: "\f8dd";
}

.icon-search:after {
	content: "\f002";
}

.icon-marketlist:after {
	content: "\f03a";
}

.icon-tradelist:after {
	font-family: "FontAwesome";
	content: "\e5e6";
}

.icon-info:after {
	content: "\f05a";
}

.icon-submenu:after {
	content: "\f105";
}

.icon-roundedsquare:after {
	content: "\f0c8";
}

.icon-alert:after {
	content: "\f071";
}

BODY.RTL .icon-submenu:after {
	content: "\f104";
}

/*Can't use icon-full-screen because it's defined by SCX*/
.icon-full-screen-mode:after {
	content: "\f065";
}

.icon-chart-preset:after {
	font-family: "FontAwesome";
	content: "\f3a5";
}

.icon-price-support:after {
	content: "\f346";
}

.icon-price-resistance:after {
	content: "\f349";
}

.icon-save:after {
	content: "\f019";
}

.icon-load:after {
	content: "\f093";
}

.icon-price-high:after {
	content: "\f35b";
}

.icon-price-low:after {
	content: "\f358";
}

.icon-speech-bubble:after {
	content: "\f075";
}

.icon-filter:after {
	content: "\f0b0";
}

.icon-calendar:after {
	content: "\f073";
}

.icon-pricealert:after {
	font-family: "FontAwesome";
	content: "\f849";
}

.icon-zzzz:after {
	content: "\f880";
}

.icon-login:after {
	content: "\f2f6";
}

.icon-trophy:after {
	content: "\f091";
}

.icon-cross-circle:after {
	content: "\f057";
}

.icon-tick-circle:after {
	content: "\f058";
}

.icon-person-circle:after {
	content: "\f2bd";
}

.icon-arrow-circle-left:after {
	content: "\f0a8";
}

.icon-arrow-left:after {
	content: "\f060";
}

.icon-arrow-right:after {
	content: "\f061";
}

.icon-tick:after {
	content: "\f00c";
}


.icon-share:after {
	font-family: "FontAwesome";
	content: "\e09c";
}

.icon-trades:after {
	content: "\e529";
}

.icon-strive-layout:after {
	font-family: "FontAwesome";
	content: "\e290";
}

.icon-strive-widgets:after {
	font-family: "FontAwesome";
	content: "\f61f";
}
.icon-replacewidget:after {
	font-family: "FontAwesome";
	content: "\f61f";
}



.icon-strive-script:after {
	font-family: "FontAwesome";
	content: "\f121";
}

.icon-paw-filled:after {
	font-family: "Strive";
	content: "\e911";
}

.icon-square-filled:after, .icon-filledsquare:after {
	font-family: "Strive";
	content: "\e910";
}

.icon-marketlist-dropdown:after {
	content: "\f0d7";
}
.icon-marketlist-dropdown.icon-marketlist-dropdown-active:after {
	content: "\f0d8";
}

.icon-ai:after {
	content: "\f890";
}

/* Widgets (25 Nov 2026): the same mark everywhere, widget tiles with a plus (not the shapes) */
.icon-strive-widgets:after,
.icon-replacewidget:after,
.AIWidgetsGlyph:after {
	content: "";
	display: inline-block;
	width: 1em;
	height: 1em;
	vertical-align: -0.125em;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='8' height='8' rx='2'/%3E%3Crect x='13' y='3' width='8' height='8' rx='2'/%3E%3Crect x='3' y='13' width='8' height='8' rx='2'/%3E%3Cpath d='M17 14v6M14 17h6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='8' height='8' rx='2'/%3E%3Crect x='13' y='3' width='8' height='8' rx='2'/%3E%3Crect x='3' y='13' width='8' height='8' rx='2'/%3E%3Cpath d='M17 14v6M14 17h6'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* General overlay which sits behind a dialog or palette, preventing the stuff behind it being clicked */
.Overlay {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	overflow: hidden;
	z-index: 10001; /* Matches DialogOuterContainer; has the effect that successive dialogs become modal on top of each other, with the previous dialog hidden behind the new one's overlay */
}

.PaletteOverlay {
	background: transparent;
}

.DialogOverlay {
	/*background: var(--clr-dialog-overlay);*/
	backdrop-filter: sepia(50%);
}

BODY.Theme_light .DialogOverlay {
	/*background: var(--clr-dialog-overlay);*/
	backdrop-filter: grayscale(70%);
}

.PaletteIframeContainer {
	position: absolute;
	z-index: 10002;
	border: 0px;
	overflow: hidden;
}

/* Container for normal dialogs (not floating windows) */
.DialogOuterContainer {
	position: absolute;
	z-index: 10050;
	box-shadow: var(--clr-dialog-shadow);
	overflow: hidden;
	border: solid 1px var(--clr-border-faint);
	
	max-width: 100%;
	max-height: 100%;

	border-radius: 8px;
	/*backdrop-filter: blur(10px);*/
}

.DialogOuterContainer.DialogFullScreen {
	box-shadow: none;
}

/* On mobile, force dialogs to be 100% of screen size */
.DialogOuterContainer.DialogFullScreen {
	height: 100% !important;
	top: 0px !important;
}
.DialogOuterContainer.DialogFullScreen.AnimatedDialog, .DialogFloatingTool.DialogFullScreen.AnimatedDialog {
	left: -100% !important;
}
.DialogOuterContainer.DialogFullScreen.AnimatedDialog.AnimatedVisible, .DialogFloatingTool.DialogFullScreen.AnimatedDialog.AnimatedVisible {
	left: 0% !important;
}
.DialogOuterContainer.DialogFullScreen.AnimatedDialog.AnimatedHide, .DialogFloatingTool.DialogFullScreen.AnimatedDialog.AnimatedHide {
	left: -100% !important;
}


.DialogOuterContainer.DialogDragBar {
	cursor: pointer;
}

/* Container for floating windows. Currently selected item is promoted through js code to z-index: 9999 */
.DialogFloatingTool {
	position: absolute;
	cursor: pointer;

	z-index: 9000;
	border: 0px;
	overflow: hidden;

	max-width: 100%;
	max-height: 100%;

	border-radius: 5px;
	box-shadow: var(--clr-dialog-shadow);
}

/* Inner container for dialogs. Different definition if the draggable title is to be hidden */
.DialogInnerIframe {
	position: absolute;
	left: 0px;
	top: 15px;
	width: 100%;
	height: calc(100% - 15px);
}


.DialogInnerIframe.NoDialogDragBar {
	top: 0;
	height: 100%;
}
 

.DragBarElement {
	position: absolute;
	top: 0;
	left: 0;
	height: 15px;
	width: 100%;
	background: var(--clr-dialog-dragbar);
	z-index: 10000;
}

.DialogFullScreen .DragBarElement {
	display: none;
}


/* Style for temporary background overlay, behind the topmost dialog, which is unhidden while a dialog is being moved or sized */
#FloatingToolBackground {
	position: absolute;
	display: none;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	z-index: 9998; /* Below the topmost floating tool */
}

/* Style for inner overlay, inside a dialog, which is unhidden while the dialog is being moved or sized */
.DialogInnerOverlay {
	position: absolute;
	visibility: hidden;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	z-index: 10010;
}


/*
Required by the colour entries in the pop-up menu for a drawing on a chart
*/

.FAImp {
	font-family: FontAwesome !important;
}

.MenuColourEntry {
	min-width: 60px;
	text-align: center;
	float: left;
}

/* **************************************************************************
Animated entry on small screens
************************************************************************** */

.AnimatedDialog {
	transition: left 0.3s ease;
}


/* **************************************************************************
Slide up, rather slide right 
************************************************************************** */

.DialogOuterContainer.DialogFullScreen.AnimatedDialogUpDown, .DialogFloatingTool.DialogFullScreen.AnimatedDialogUpDown {
	top: 100% !important;
	height: calc(100% - 10px) !important;
	border-top-left-radius: 8px !important;
	border-top-right-radius: 8px !important;
	overflow: hidden !important;

}
.DialogOuterContainer.DialogFullScreen.AnimatedDialogUpDown.AnimatedHide, .DialogFloatingTool.DialogFullScreen.AnimatedDialogUpDown.AnimatedHide {
	top: 100% !important;
}

.DialogOuterContainer.DialogFullScreen.AnimatedDialogUpDown.AnimatedVisible,
.DialogFloatingTool.DialogFullScreen.AnimatedDialogUpDown.AnimatedVisible {
	--dialog-top: 10px;
	top: var(--dialog-top) !important;
	height: calc(100% - var(--dialog-top)) !important;
}

.iOSStandalone .DialogOuterContainer.DialogFullScreen.AnimatedDialogUpDown.AnimatedVisible,
.iOSStandalone .DialogFloatingTool.DialogFullScreen.AnimatedDialogUpDown.AnimatedVisible {
	height: calc(100% - var(--dialog-top) - 15px) !important;
}

.DialogOuterContainer.DialogFullScreen.AnimatedDialogUpDown.AnimatedVisible.DialogCount1, .DialogFloatingTool.DialogFullScreen.AnimatedDialogUpDown.AnimatedVisible.DialogCount1 {
	--dialog-top: 20px;
}

.DialogOuterContainer.DialogFullScreen.AnimatedDialogUpDown.AnimatedVisible.DialogCount2, .DialogFloatingTool.DialogFullScreen.AnimatedDialogUpDown.AnimatedVisible.DialogCount2 {
	--dialog-top: 30px;
}

.DialogOuterContainer.DialogFullScreen.AnimatedDialogUpDown.AnimatedVisible.DialogCount3, .DialogFloatingTool.DialogFullScreen.AnimatedDialogUpDown.AnimatedVisible.DialogCount3 {
	--dialog-top: 40px;
}

.AnimatedDialogUpDown {
	transition: top 0.3s ease;
}




.DialogOuterContainer {
	animation: dialogfadein 0.75s;
}
.DialogOuterContainer.AnimatedDialog, .DialogOuterContainer.AnimatedDialogUpDown {
	animation: none;
}

@keyframes dialogfadein {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}



.LinkingPopupMenuItem {
	min-height: 20px;
}

.LinkButton {
	margin: 2px 3px 0 3px;
	display: inline-block;
	cursor: pointer;
	border-radius: 4px;
	width: 12px;
	height: 12px;
	vertical-align: text-bottom;
	overflow: hidden;
	xborder: solid 1px var(--clr-transparent-wash1);
}

.LinkButton:after {
	font-family: "FontAwesome";
	content: "\f0c1";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 12px;
	height: 12px;
	font-size: 10px;
	color: var(--clr-icon-inactive);
}

.LinkButtonHasLink.LinkButton:after {
	display: none;
}

BODY.NoLinking .LinkButton {
	display: none;
}


.LinkButton_red {
	background: crimson;
}
.LinkButtonIcon_red {
	color: crimson;
}

.LinkButton_blue {
	background: #6995EF;
}
.LinkButtonIcon_blue {
	color: #6995EF;
}

.LinkButton_green {
	background: #008000;
}
.LinkButtonIcon_green {
	color: #008000;
}

.LinkButton_orange {
	background: orange;
}
.LinkButtonIcon_orange {
	color: orange;
}

.LinkButton_purple {
	background: #800080;
}
.LinkButtonIcon_purple {
	color: #800080;
}

.LinkButton_gold  {
	background: #808000;
}
.LinkButtonIcon_gold {
	color: #808000;
}

/**/
.InstrumentSelectFlags {
	display: flex;
	position: relative;
	margin: 0px 0px 0px 10px;
	height: 17px;
	overflow: hidden;
}

.InstrumentSelectFlags .InstrumentSelectFlag {
	position: relative;
	display: inline-block;
	width: 20px;
	height: 15px;
	border-radius: 50%;
	box-shadow: none;
	background-repeat: no-repeat;
	background-position: center center;
	border: solid 1px var(--clr-border-inactive);
}

.InstrumentSelectFlags .InstrumentSelectFlag2 {
	margin: 0 0 0 -3px;
}
.ToastOuter {
	padding: 10px 0 10px 0;
	animation-duration: 1s;
	animation-iteration-count: 1;
	animation-fill-mode: both;
	box-sizing: border-box;
	
	opacity: 0;
	animation-name: ToastShow;
}

.Toast {
	border-radius: .25rem;
	min-height: 70px;
	width: 100%;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	pointer-events: all;
	border: solid 1px rgba(224,224,224,1);
	background: rgba(255,255,255,.95);
	box-shadow: 0 0.25rem 0.75rem rgb(0, 0, 0, 0.3);
	color: black;
	overflow: hidden;
	cursor: pointer;
}


.ToastTitle {
	padding: 10px 10px;
	background: rgba(224,225,226,0.95);
}

.ToastIcon {
	color: navy;
	font-family: FontAwesome;
}

.ToastTitle.ToastHasIcon .ToastTitleText {
	padding: 0 5px 0 5px;
}

.ToastBody {
	padding: 10px 10px;
	flex-grow: 1;
	flex-shrink: 1;
	line-height: 150%;
}

@keyframes ToastShow {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes ToastHide {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }

  100% {
    opacity: 0;
	height: 0px;
	padding-top: 0px;
	padding-bottom: 0px;
  }
}

.Toast.ToastError .ToastIcon,
.Toast.ToastSuccess .ToastIcon,
.Toast.ToastProfit .ToastIcon,
.Toast.ToastLoss .ToastIcon
{
	color: white;
}

.Toast.ToastError .ToastTitle, .Toast.ToastLoss .ToastTitle {
	background: crimson;
	color: white;
}
.Toast.ToastError, .Toast.ToastLoss {
	border-color: crimson;
}

.Toast.ToastSuccess, .Toast.ToastProfit {
	border-color: #008000;
}

.Toast.ToastSuccess .ToastTitle, .Toast.ToastProfit .ToastTitle {
	background: #008000;
	color: white;
}

.ToastProfit .ToastBody, .ToastLoss  .ToastBody {
	text-align: center;
	font-size: 20px;
	height: 40px;
	line-height: 40px;
}

.ToastProfit .ToastBody {
	color: #008000;
}

.ToastLoss .ToastBody {
	color: crimson;
}
/* IE only, but can't be inside the IE-conditional block below.
Unused outside of IE because nothing refers to it*/

@keyframes waiting-animation {
  0% {
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}


/*
	Placeholder for CSS which specifically targets Internet Explorer (not Edge).
	For example: we start using CSS variables, which IE doesn't support, and 
	we then use this file to restore some of the colours, in the standard theme only,
	on Internet Explorer.
*/

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
	.InlineWaitImage, #InlineLoader, #WidgetWaitInner,.waiting-animation {
	  -moz-animation: waiting-animation 1250ms infinite linear;
	  -webkit-animation: waiting-animation 1250ms infinite linear;
	  animation: waiting-animation 1250ms infinite linear;
	  border: 10px solid #38e;
	  background: transparent !important;
	  border-right-color: transparent;
	  border-radius: 50%;
	  box-sizing: border-box;
	  display: inline-block;
	  position: relative;
	  overflow: hidden;
	  text-indent: -9999px;
	  width: 100%;
	  height: 100%;
	}
}
