@import url('./fonts.css');
:root {
	color-scheme: dark;
	--bg: #07080D;
	--panel: #0E1018;
	--raised: #161A26;
	--border: #23293A;
	--text: #F5F2EB;
	--muted: #9499AB;
	--lime: #E8C468;
	--coral: #2DD4BF;
	--display: 'Space Grotesk', sans-serif;
	--body: 'DM Sans', sans-serif;
}
* {
	box-sizing: border-box;
}
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--body);
	font-size: 14px;
	-webkit-font-smoothing: antialiased;
}
button,
input,
textarea,
select {
	font: inherit;
}
button,
a,
input,
select,
textarea {
	-webkit-tap-highlight-color: transparent;
}
button,
a {
	touch-action: manipulation;
}
button {
	cursor: pointer;
}
a {
	color: inherit;
	text-decoration: none;
}
button:disabled {
	cursor: wait;
	opacity: 0.5;
}
button,
input,
textarea,
select {
	color: inherit;
}
button {
	border: 0;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 2px solid var(--lime);
	outline-offset: 5px;
}
::selection {
	background: #E8C468;
	color: #07080D;
}
[hidden] {
	display: none !important;
}
svg.icon {
	width: 19px;
	height: 19px;
	stroke: currentColor;
	stroke-width: 1.6;
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
	vertical-align: middle;
	flex-shrink: 0;
}
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}
.skip-link {
	position: fixed;
	left: 15px;
	top: -80px;
	z-index: 100;
	background: var(--lime);
	color: var(--bg);
	padding: 15px;
}
.skip-link:focus {
	top: 15px;
}
.sidebar {
	position: fixed;
	inset: 0 auto 0 0;
	width: 232px;
	border-right: 1px solid var(--border);
	padding: 35px 20px 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	display: flex;
	flex-direction: column;
	background: #0B0D14;
	z-index: 20;
}
.brand {
	display: flex;
	align-items: center;
	font-family: var(--display);
	font-size: 32px;
	font-weight: 600;
	letter-spacing: -1.4px;
	margin: 0 13px 49px;
}
.brand img {
	width: 34px;
	height: 34px;
}
.brand-dot {
	color: var(--lime);
}
.workspace-label {
	font-size: 9px;
	font-weight: 600;
	color: #757C91;
	letter-spacing: 1.6px;
	margin: 0 13px 17px;
}
.sidebar nav {
	display: grid;
	gap: 6px;
}
.nav-link {
	display: flex;
	gap: 11px;
	align-items: center;
	min-height: 46px;
	padding: 0 13px;
	color: #ADB2C2;
	font-size: 12px;
	border-radius: 8px;
	transition:
		background 0.18s,
		color 0.18s;
}
.nav-link:hover {
	background: #1B2030;
	color: var(--text);
}
.nav-link.active {
	background: #231F14;
	color: var(--lime);
}
.nav-key,
.count {
	margin-left: auto;
	font-size: 10px;
}
.nav-key {
	opacity: 0.6;
}
.count {
	border: 1px solid #2B2F3C;
	padding: 2px 6px;
	border-radius: 4px;
}
.sidebar-note {
	margin: 57px 12px 20px;
	color: #787D90;
}
.tiny-cross {
	font-size: 25px;
	color: var(--lime);
	display: block;
	margin-bottom: 13px;
}
.sidebar-note p {
	font-family: var(--display);
	font-size: 19px;
	line-height: 1.45;
	color: #DEDCD6;
	letter-spacing: -0.4px;
	margin: 0 0 12px;
}
.sidebar-note > span:last-of-type {
	font-size: 10px;
}
.sidebar-note svg {
	width: 100%;
	margin-top: 20px;
	stroke: #3A435F;
	stroke-width: 1;
	fill: none;
}
.sidebar > * {
	flex-shrink: 0;
}
.sidebar-bottom {
	margin-top: auto;
}
.sidebar-bottom > .nav-link {
	justify-content: flex-start;
	margin-bottom: 20px;
}
.sidebar-bottom > .nav-link > span:last-child {
	margin-left: auto;
}
.local-profile {
	display: flex;
	align-items: center;
	gap: 10px;
	border-top: 1px solid var(--border);
	padding: 21px 4px;
}
.avatar {
	background: #222633;
	color: var(--lime);
	width: 32px;
	height: 32px;
	border: 1px solid #383F54;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-family: var(--display);
	font-weight: 600;
}
.local-profile strong {
	display: block;
	font-size: 11px;
	font-weight: 500;
}
.local-profile div > span {
	display: block;
	color: var(--muted);
	font-size: 9px;
	margin-top: 4px;
}
.local-dot {
	margin-left: auto;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--lime);
}
.app-shell {
	margin-left: 232px;
}
.topbar {
	height: 79px;
	border-bottom: 1px solid var(--border);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 42px;
}
.breadcrumb {
	font-size: 11px;
	color: #73798D;
	display: flex;
	gap: 16px;
	align-items: center;
}
.breadcrumb > span {
	color: #383C49;
}
.breadcrumb strong {
	font-weight: 450;
	color: #C0C3CD;
}
.top-actions {
	display: flex;
	align-items: center;
	gap: 20px;
}
.connection-badge {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 10px;
	color: #A4A8B5;
}
.connection-badge i {
	width: 5px;
	height: 5px;
	background: #757C91;
	border-radius: 50%;
}
.connection-badge.online i {
	background: var(--lime);
	box-shadow: 0 0 9px #E8C46840;
}
.icon-button {
	background: none;
	color: #9DA2B2;
	width: 35px;
	height: 35px;
	display: inline-grid;
	place-items: center;
	border-radius: 6px;
}
.icon-button:hover {
	background: #1E2436;
	color: var(--lime);
}
.source-link {
	display: flex;
	gap: 7px;
	align-items: center;
	font-size: 10px;
	border-left: 1px solid var(--border);
	padding-left: 20px;
}
.source-link .icon {
	width: 16px;
	height: 16px;
}
main {
	max-width: 1550px;
	margin: auto;
	padding: 30px 42px 0;
}
.page-intro {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.eyebrow {
	color: #979CAE;
	font-size: 9px;
	font-weight: 600;
	letter-spacing: 1.8px;
}
.mini-star {
	color: var(--lime);
	font-size: 16px;
	vertical-align: middle;
	margin-right: 8px;
}
.edition {
	font-size: 8px;
	color: #565B6A;
	letter-spacing: 1.4px;
}
.hero {
	position: relative;
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	min-height: 380px;
	margin-top: 20px;
	align-items: center;
	overflow: hidden;
}
.hero-copy {
	position: relative;
	z-index: 2;
	padding: 19px 0 30px;
}
.hero-kicker {
	font-size: 10px;
	color: #8D92A3;
	display: flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 18px;
}
.hero-kicker > span {
	width: 5px;
	height: 5px;
	border: 1px solid var(--lime);
	border-radius: 50%;
}
h1,
h2,
h3,
p {
	margin-top: 0;
}
.hero h1 {
	font-family: var(--display);
	font-size: clamp(35px, 3.5vw, 56px);
	line-height: 1.13;
	letter-spacing: -2.5px;
	font-weight: 500;
	margin-bottom: 20px;
}
.hero h1 > span {
	color: var(--lime);
}
.hero-copy > p {
	font-size: 12px;
	color: #969BAA;
	line-height: 1.85;
	margin-bottom: 24px;
}
.hero-actions {
	display: flex;
	align-items: center;
	gap: 14px;
}
.button {
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	padding: 0 19px;
	border-radius: 7px;
	font-size: 11px;
	font-weight: 650;
	white-space: nowrap;
	position: relative;
	overflow: hidden;
	transition:
		background 0.2s,
		transform 0.12s;
}
.button.primary {
	background: var(--lime);
	color: #07080D;
}
.button.primary:hover {
	background: #F7DF9C;
	color: #07080D;
}
.button.primary:before {
	content: '';
	position: absolute;
	inset: -50%;
	background: linear-gradient(
		110deg,
		transparent 42%,
		#fff8 50%,
		transparent 58%
	);
	transform: translateX(-100%);
	pointer-events: none;
}
.button.primary:hover:before {
	animation: gust 0.6s ease forwards;
}
.button.primary:hover .icon {
	transform: translateX(3px);
}
.button .icon {
	width: 16px;
	height: 16px;
	transition: transform 0.2s;
}
.button:active {
	transform: scale(0.98);
}
.button.text-button {
	background: none;
	color: #D9D6CF;
	font-size: 10px;
	gap: 8px;
	padding: 0 6px;
}
.play-icon {
	width: 23px;
	height: 23px;
	border: 1px solid #3F4455;
	display: grid;
	place-items: center;
	border-radius: 50%;
	font-size: 7px;
}
.hero-footnote {
	font-size: 9px;
	color: #6A6F81;
	margin-top: 21px;
	display: flex;
	gap: 8px;
	align-items: center;
}
.mini-path {
	font-size: 16px;
}
.hero-art {
	height: 360px;
	position: relative;
	isolation: isolate;
	transform: translateX(10px);
}
.art-grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(#E8C4680D 1px, transparent 1px),
		linear-gradient(90deg, #E8C4680D 1px, transparent 1px);
	background-size: 34px 34px;
	mask-image: radial-gradient(ellipse, #000, transparent 70%);
}
.orbit {
	position: absolute;
	border: 1px solid #E8C46824;
	width: 310px;
	height: 310px;
	border-radius: 50%;
	left: 20%;
	top: 20px;
	transform: rotate(-25deg) scaleY(0.75);
}
.orbit-two {
	width: 390px;
	height: 390px;
	top: -20px;
	left: 10%;
}
.wind-path {
	position: absolute;
	width: 125%;
	height: 100%;
	left: -10%;
	top: 0;
	overflow: visible;
}
.wind-path path {
	fill: none;
}
.wind-shadow {
	stroke: #E8C468;
	stroke-width: 13;
	opacity: 0.08;
	filter: blur(8px);
}
.wind-line {
	stroke: var(--lime);
	stroke-width: 2;
	stroke-dasharray: 1200;
	stroke-dashoffset: 1200;
	animation: draw 1.8s ease 0.2s forwards;
}
.wind-thread {
	stroke: #B89543;
	stroke-width: 0.6;
}
.floating-tab {
	position: absolute;
	border: 1px solid #3E4765;
	background: #181D2B;
	border-radius: 10px;
	box-shadow: 0 25px 50px #0007;
	transform: perspective(800px) rotateY(-13deg) rotateX(9deg) rotate(-8deg);
}
.tab-back {
	width: 245px;
	height: 156px;
	left: 17%;
	top: 27px;
	opacity: 0.65;
	transform: perspective(800px) rotateY(-13deg) rotateX(9deg) rotate(-12deg);
	animation: float-in-back 1.4s ease both;
}
.tab-front {
	width: 330px;
	height: 191px;
	left: 20%;
	top: 113px;
	background: linear-gradient(130deg, #202432, #141824);
	animation: float-in 1.4s ease both;
}
.art-browser-bar {
	height: 31px;
	display: flex;
	gap: 4px;
	align-items: center;
	padding: 0 12px;
	border-bottom: 1px solid #2E354A66;
}
.art-browser-bar i {
	display: block;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #6E7489;
}
.art-browser-bar i:first-child {
	background: var(--lime);
}
.art-browser-bar span {
	font-size: 7px;
	color: #8993B1;
	margin-left: 9px;
}
.art-browser-bar b {
	margin-left: auto;
	color: #8591B8;
	font-weight: 400;
}
.skeleton-line {
	width: 70%;
	height: 5px;
	background: #9499AB35;
	border-radius: 2px;
	margin: 12px 16px;
}
.skeleton-line.wide {
	width: 80%;
	margin-top: 20px;
}
.art-thumbnails {
	display: flex;
	gap: 8px;
	margin: 16px;
}
.art-thumbnails i {
	width: 55px;
	height: 40px;
	border-radius: 3px;
	background: #9499AB28;
}
.mini-search {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 15px 16px;
	background: #0B0D1488;
	border: 1px solid #2E354A66;
	border-radius: 5px;
	padding: 8px;
	color: #A2A9C1;
	font-size: 8px;
}
.mini-search > span {
	font-size: 16px;
	color: var(--lime);
}
.mini-search b {
	margin-left: auto;
	color: #646C88;
}
.art-result {
	display: flex;
	gap: 11px;
	align-items: center;
	margin: 0 18px;
}
.result-symbol {
	width: 35px;
	height: 35px;
	border-radius: 7px;
	background: var(--lime);
	color: #07080D;
	display: grid;
	place-items: center;
	font-size: 23px;
}
.art-result > div:last-child {
	flex: 1;
}
.art-result span {
	font-size: 6px;
	letter-spacing: 1.4px;
	color: #808AAB;
}
.art-result strong {
	display: block;
	font-size: 11px;
	letter-spacing: -0.1px;
	margin-top: 5px;
	font-weight: 500;
}
.art-result .skeleton-line {
	margin: 8px 0;
	width: 75%;
	height: 3px;
}
.art-progress {
	display: flex;
	gap: 4px;
	align-items: center;
	margin: 17px 19px;
}
.art-progress > span {
	width: 20%;
	height: 3px;
	background: #E8C468;
	border-radius: 2px;
}
.art-progress > span:nth-child(2) {
	background: #CFA952;
}
.art-progress > span:nth-child(3) {
	background: #8A7034;
}
.art-progress i {
	font-style: normal;
	font-size: 7px;
	color: #767F9D;
	margin-left: auto;
}
.floating-chip {
	position: absolute;
	display: flex;
	gap: 7px;
	align-items: center;
	font-size: 8px;
	color: #E3E0D7;
	background: #191E2D;
	border: 1px solid #3A4462;
	border-radius: 6px;
	box-shadow: 0 10px 20px #0003;
	padding: 9px 12px;
	white-space: nowrap;
	animation: chip-in 1s ease 0.6s both;
}
.chip-top {
	top: 56px;
	right: 0;
	transform: rotate(4deg);
}
.chip-top > span {
	color: var(--lime);
	font-size: 15px;
}
.chip-bottom {
	bottom: 33px;
	left: 9%;
	transform: rotate(-5deg);
}
.check-circle {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--lime);
	color: #07080D;
	font-size: 10px;
}
.art-coordinate {
	position: absolute;
	right: 25px;
	bottom: 5px;
	font-size: 6px;
	letter-spacing: 1.5px;
	color: #515973;
}
.composer-section {
	margin-top: 17px;
}
.section-heading {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 17px;
	gap: 16px;
}
.section-heading > div {
	display: flex;
	align-items: center;
	gap: 12px;
}
.section-index {
	color: #687089;
	font-size: 10px;
	font-family: var(--display);
}
.section-heading h2 {
	font-family: var(--display);
	font-weight: 500;
	font-size: 17px;
	letter-spacing: -0.5px;
	margin: 0;
}
.small-label {
	color: #676C7D;
	font-size: 8px;
	letter-spacing: 1.5px;
}
.composer {
	background: linear-gradient(120deg, #171B28, #111520);
	border: 1px solid #323B56;
	border-radius: 12px;
	padding: 19px 20px 15px;
	box-shadow: 0 0 0 4px #E8C46818;
	transition: border-color 0.2s;
}
.composer:focus-within {
	border-color: #DFBA61;
}
.composer textarea {
	width: 100%;
	resize: vertical;
	min-height: 60px;
	max-height: 220px;
	background: none;
	border: 0;
	outline: 0 !important;
	padding: 2px;
	color: var(--text);
	font-size: 13px;
	line-height: 1.65;
}
.composer textarea::placeholder {
	color: #7D8395;
}
.composer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 15px;
	margin-top: 13px;
}
.composer-options {
	display: flex;
	gap: 13px;
	align-items: center;
}
.mode-select {
	display: flex;
	align-items: center;
	gap: 7px;
	color: #DBD6CC;
	font-size: 9px;
}
.mode-select .icon {
	width: 14px;
	height: 14px;
	color: #D3BE88;
}
.mode-select > span:last-child {
	color: #646C88;
}
.mode-select select {
	appearance: none;
	background: transparent;
	border: 0;
	cursor: pointer;
	padding: 5px 0;
	font-size: 10px;
}
.mode-select select option {
	background: var(--raised);
	color: var(--text);
}
.composer-hint {
	font-size: 9px;
	color: #707689;
	border-left: 1px solid #2C3142;
	padding-left: 13px;
}
.composer .button {
	height: 37px;
	font-size: 10px;
}
.suggestions {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-top: 14px;
	flex-wrap: wrap;
}
.suggestions > span {
	font-size: 9px;
	color: #6F7588;
	margin-right: 3px;
}
.suggestions button {
	background: none;
	color: #9A9FAF;
	font-size: 9px;
	border: 1px solid #242836;
	padding: 7px 10px;
	border-radius: 5px;
	transition:
		border-color 0.2s,
		color 0.2s;
}
.suggestions button:hover {
	border-color: #B89543;
	color: var(--lime);
}
.recent-section {
	margin-top: 37px;
}
.inline-link {
	font-size: 10px;
	color: #A0A7BC;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.inline-link:hover {
	color: var(--lime);
}
.empty-state {
	border: 1px dashed #292D3B;
	border-radius: 9px;
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 23px 24px;
	background: #0E101850;
}
.empty-symbol {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	border: 1px solid #2A2F41;
	color: #7E8AB1;
	display: grid;
	place-items: center;
}
.empty-state strong {
	font-size: 11px;
	display: block;
	font-weight: 500;
	margin-bottom: 4px;
}
.empty-state p {
	font-size: 10px;
	color: #6F7487;
	margin: 0;
	line-height: 1.6;
}
.empty-state .inline-link {
	margin-left: auto;
	white-space: nowrap;
}
.principles {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	margin-top: 35px;
	padding: 24px 0 25px;
	border-top: 1px solid var(--border);
	gap: 24px;
}
.principles > div {
	display: grid;
	grid-template-columns: 22px 1fr;
	gap: 7px 9px;
}
.principles .icon {
	width: 18px;
	height: 18px;
	color: #6D7695;
	grid-row: span 2;
}
.principles strong {
	font-size: 10px;
	font-weight: 500;
}
.principles p {
	font-size: 9px;
	line-height: 1.6;
	color: #6D7385;
	margin: 0;
	max-width: 210px;
}
footer {
	border-top: 1px solid var(--border);
	padding: 20px 0;
	display: flex;
	justify-content: space-between;
	gap: 20px;
	color: #5C6172;
	font-size: 8px;
}
footer > span:first-child {
	font-family: var(--display);
	font-weight: 600;
	font-size: 15px;
	color: #989DAF;
}
.footer-tag {
	font-family: var(--body);
	font-weight: 400;
	letter-spacing: 1px;
	font-size: 6px;
	margin-left: 13px;
	color: #5B6173;
}
.view {
	animation: reveal 0.3s ease;
}
.view-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	margin: 25px 0 35px;
}
.view-title h1 {
	font-family: var(--display);
	font-size: 36px;
	font-weight: 500;
	letter-spacing: -1.6px;
	margin: 15px 0;
}
.view-title h1 > span {
	color: var(--lime);
}
.view-title p {
	font-size: 12px;
	color: var(--muted);
	line-height: 1.7;
}
.history-toolbar {
	display: flex;
	align-items: center;
	gap: 15px;
	justify-content: space-between;
	margin-bottom: 20px;
}
.search-field {
	display: flex;
	align-items: center;
	gap: 10px;
	background: var(--panel);
	padding: 0 13px;
	border: 1px solid var(--border);
	border-radius: 7px;
	max-width: 400px;
	flex: 1;
}
.search-field .icon {
	color: var(--muted);
	width: 16px;
	height: 16px;
}
.search-field input {
	height: 42px;
	border: 0;
	background: none;
	outline: 0;
	width: 100%;
	font-size: 12px;
}
.history-toolbar > select {
	height: 42px;
	border-radius: 7px;
	background: var(--panel);
	border: 1px solid var(--border);
	padding: 0 12px;
	font-size: 11px;
}
.mission-list {
	border: 1px solid var(--border);
	border-radius: 9px;
	overflow: hidden;
}
.mission-row {
	display: flex;
	align-items: center;
	gap: 13px;
	width: 100%;
	padding: 17px 19px;
	text-align: left;
	background: #0F121B;
	transition: background 0.2s;
}
.mission-row + .mission-row {
	border-top: 1px solid var(--border);
}
.mission-row:hover {
	background: #191E2D;
}
.mission-symbol {
	width: 33px;
	height: 33px;
	border: 1px solid #2A3042;
	border-radius: 7px;
	color: var(--lime);
	display: grid;
	place-items: center;
	flex-shrink: 0;
}
.mission-symbol .icon {
	width: 16px;
	height: 16px;
}
.mission-info {
	flex: 1;
	min-width: 0;
}
.mission-info strong {
	font-size: 11px;
	font-weight: 500;
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.mission-info small {
	font-size: 9px;
	color: #787E93;
	display: block;
	margin-top: 5px;
}
.status-pill {
	font-size: 8px;
	white-space: nowrap;
	padding: 5px 8px;
	border-radius: 5px;
	background: #1D212E;
	color: #D9C082;
}
.status-pill.running,
.status-pill.queued {
	background: #282214;
	color: #F7DF9C;
}
.status-pill.failed {
	background: #0E2A2A;
	color: #5EEAD4;
}
.status-pill.cancelled {
	background: #25272D;
	color: #A0A4B1;
}
.row-arrow {
	color: #5B637D;
}
.settings-grid,
.guide-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 40px;
}
.settings-card,
.guide-card {
	padding: 27px;
	background: var(--panel);
	border: 1px solid var(--border);
	border-radius: 11px;
}
.card-number {
	font-size: 9px;
	color: #82889E;
	letter-spacing: 1.4px;
}
.settings-card h2,
.guide-card h2 {
	font-family: var(--display);
	font-weight: 500;
	font-size: 22px;
	letter-spacing: -0.6px;
	margin: 23px 0 14px;
}
.settings-card p,
.guide-card p {
	font-size: 12px;
	color: #9095A5;
	line-height: 1.9;
}
.settings-card label {
	font-size: 11px;
	display: block;
	margin: 23px 0 10px;
}
.settings-card input {
	display: block;
	width: 100%;
	background: #090B11;
	border: 1px solid #2D3244;
	padding: 13px;
	border-radius: 6px;
	font-size: 12px;
}
.settings-card p.field-hint {
	font-size: 10px;
	margin: 10px 0 22px;
}
.connection-row {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 15px 0;
	border-bottom: 1px solid var(--border);
	font-size: 11px;
}
.connection-row:last-child {
	margin-bottom: 20px;
}
.connection-row span:first-child {
	flex: 1;
}
.connection-row small {
	font-size: 9px;
	color: var(--muted);
}
.connection-row .ready,
#solana-verify-status.ready {
	color: var(--lime);
}
.solana-card {
	grid-column: 1/-1;
	border-color: #363F5D;
	background: linear-gradient(135deg, #131723, #0C0E16);
}
.solana-wallet-box {
	background: #0A0C12;
	border: 1px solid #262B3E;
	border-radius: 9px;
	padding: 18px;
	margin: 18px 0;
}
.solana-wallet-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 10px;
}
#solana-wallet-address {
	display: block;
	font-size: 13px;
	color: var(--lime);
	background: #10131D;
	border: 1px solid #293046;
	border-radius: 6px;
	padding: 12px 14px;
	margin-bottom: 14px;
	overflow-wrap: anywhere;
	user-select: all;
}
.privacy-card {
	grid-column: 1/-1;
	display: flex;
	gap: 20px;
}
.privacy-card > .icon {
	color: var(--lime);
	margin-top: 20px;
}
.privacy-card h2 {
	margin-top: 13px;
}
.privacy-card p {
	margin-bottom: 0;
}
.guide-card pre {
	font-size: 10px;
	background: #090B11;
	padding: 15px;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
	color: #D0BC8B;
	border-radius: 6px;
	line-height: 1.8;
}
.guide-card strong {
	color: #E0DDD6;
}
.guide-card code {
	background: #212431;
	padding: 2px 5px;
	border-radius: 3px;
}
dialog {
	width: min(660px, calc(100vw - 32px));
	max-height: 85vh;
	overflow: auto;
	border: 1px solid #353C53;
	border-radius: 15px;
	background: #111520;
	color: var(--text);
	padding: 27px;
	box-shadow: 0 40px 160px #000b;
}
dialog::backdrop {
	background: #05060Ab5;
	backdrop-filter: blur(7px);
}
.detail-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
dialog h2 {
	font-family: var(--display);
	font-size: 24px;
	font-weight: 500;
	letter-spacing: -0.5px;
	line-height: 1.4;
	margin: 15px 0;
}
.detail-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 10px;
	color: var(--muted);
}
.timeline {
	margin: 26px 0;
}
.timeline-step {
	position: relative;
	display: flex;
	gap: 13px;
	padding-bottom: 21px;
	align-items: flex-start;
}
.timeline-step:before {
	content: '';
	position: absolute;
	left: 10px;
	top: 23px;
	bottom: 0;
	width: 1px;
	background: #333C58;
}
.timeline-step:last-child:before {
	display: none;
}
.timeline-dot {
	display: grid;
	place-items: center;
	border: 1px solid #917638;
	border-radius: 50%;
	width: 22px;
	height: 22px;
	font-size: 9px;
	color: var(--lime);
	flex-shrink: 0;
}
.timeline-step strong {
	font-size: 11px;
	font-weight: 400;
	line-height: 1.8;
}
.timeline-step small {
	display: block;
	font-size: 9px;
	color: #767D93;
	margin-top: 3px;
}
.result-box {
	background: #0A0C12;
	border: 1px solid #675528;
	border-radius: 8px;
	padding: 20px;
	white-space: pre-wrap;
	font-size: 12px;
	line-height: 1.9;
	overflow-wrap: anywhere;
	max-height: 340px;
	overflow: auto;
}
.result-box.error {
	border-color: #1A5F5A;
	color: #7FF0DF;
}
.detail-actions {
	display: flex;
	gap: 9px;
	flex-wrap: wrap;
	margin-top: 22px;
}
.button.secondary {
	background: #1E2231;
	color: #DCD7CB;
	border: 1px solid #363F5D;
}
.button.danger {
	background: #0F2F2E;
	color: #99F6E4;
	border: 1px solid #164E4A;
}
.detail-actions .button {
	font-size: 10px;
	height: 36px;
	padding: 0 12px;
}
#toast {
	position: fixed;
	bottom: 28px;
	left: calc(50% + 116px);
	transform: translate(-50%, 20px);
	background: #E9E5DC;
	color: #0C0F17;
	padding: 13px 22px;
	border-radius: 8px;
	font-size: 12px;
	box-shadow: 0 10px 40px #0007;
	opacity: 0;
	pointer-events: none;
	transition:
		opacity 0.2s,
		transform 0.2s;
	z-index: 100;
	max-width: 90vw;
}
#toast.visible {
	opacity: 1;
	transform: translate(-50%, 0);
}
.mobile-only {
	display: none;
}
@keyframes draw {
	to {
		stroke-dashoffset: 0;
	}
}
@keyframes gust {
	to {
		transform: translateX(100%);
	}
}
@keyframes float-in {
	from {
		opacity: 0;
		transform: perspective(800px) rotateY(-20deg) rotateX(15deg) rotate(-15deg)
			translate(40px, 30px);
	}
	to {
		opacity: 1;
		transform: perspective(800px) rotateY(-13deg) rotateX(9deg) rotate(-8deg);
	}
}
@keyframes float-in-back {
	from {
		opacity: 0;
		translate: -20px -15px;
	}
	to {
		opacity: 0.65;
		translate: 0 0;
	}
}
@keyframes chip-in {
	from {
		opacity: 0;
		translate: 0 10px;
	}
	to {
		opacity: 1;
		translate: 0 0;
	}
}
@keyframes reveal {
	from {
		opacity: 0;
		translate: 0 7px;
	}
	to {
		opacity: 1;
		translate: 0 0;
	}
}
body.motion-paused *,
body.motion-paused *:before {
	animation: none !important;
	transition: none !important;
}
.motion-paused .wind-line {
	stroke-dashoffset: 0;
}
@media (min-width: 1500px) {
	main {
		padding: 40px 60px 0;
	}
	.hero {
		min-height: 450px;
	}
	.hero-art {
		height: 390px;
	}
	.tab-front {
		left: 24%;
		top: 120px;
		width: 370px;
		height: 210px;
	}
	.tab-back {
		left: 21%;
	}
	.hero h1 {
		font-size: 61px;
	}
	.hero-copy > p {
		font-size: 14px;
	}
	.composer-section {
		margin-top: 22px;
	}
}
@media (max-width: 1150px) {
	.sidebar {
		width: 200px;
		padding-left: 14px;
		padding-right: 14px;
	}
	.app-shell {
		margin-left: 200px;
	}
	.topbar {
		padding: 0 28px;
	}
	main {
		padding: 26px 28px 0;
	}
	.hero {
		grid-template-columns: 1.1fr 1fr;
	}
	.hero h1 {
		font-size: 38px;
		letter-spacing: -1.7px;
	}
	.hero-art {
		transform: translateX(0) scale(0.86);
		transform-origin: 30% 50%;
	}
	.tab-front {
		left: 6%;
	}
	.tab-back {
		left: 3%;
	}
	.chip-top {
		right: -10%;
	}
	.edition {
		font-size: 6px;
	}
	.composer-hint {
		display: none;
	}
	.hero-actions {
		gap: 7px;
	}
	.button {
		padding: 0 13px;
	}
	.footer-tag {
		display: none;
	}
	#toast {
		left: calc(50% + 100px);
	}
}
@media (max-width: 900px) {
	.sidebar {
		width: 180px;
		padding-left: 10px;
		padding-right: 10px;
	}
	.brand {
		font-size: 26px;
		margin-left: 5px;
	}
	.brand img {
		width: 30px;
		height: 30px;
	}
	.app-shell {
		margin-left: 180px;
	}
	.topbar {
		padding: 0 22px;
	}
	main {
		padding: 24px 22px 0;
	}
	.hero {
		grid-template-columns: 1fr;
		min-height: auto;
	}
	.hero-copy {
		padding-top: 24px;
	}
	.hero h1 {
		font-size: 48px;
	}
	.hero-art {
		position: absolute;
		right: -125px;
		top: 30px;
		width: 360px;
		opacity: 0.25;
		z-index: 0;
		transform: scale(0.9);
	}
	.hero-copy > p,
	.hero-kicker,
	.hero-footnote,
	.hero-actions {
		position: relative;
		z-index: 1;
	}
	.edition {
		display: none;
	}
	.hero-copy > p {
		color: #A4A9BB;
	}
	.principles {
		gap: 16px;
	}
	.principles > div {
		grid-template-columns: 1fr;
	}
	.principles .icon {
		grid-row: auto;
	}
	.source-link {
		display: none;
	}
	.settings-grid,
	.guide-grid {
		grid-template-columns: 1fr;
	}
	.privacy-card {
		grid-column: auto;
	}
	.view-title {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}
	.view-title h1 {
		font-size: 32px;
	}
	.small-label {
		display: none;
	}
	#toast {
		left: calc(50% + 90px);
	}
}
@media (max-width: 640px) {
	.sidebar {
		transform: translateX(-100%);
		width: 232px;
		transition: transform 0.2s;
		box-shadow: 20px 0 80px #0005;
	}
	.sidebar.open {
		transform: translateX(0);
	}
	.app-shell {
		margin-left: 0;
	}
	.mobile-only {
		display: inline-grid;
	}
	.topbar {
		height: 63px;
		padding: 0 16px;
		gap: 8px;
	}
	.breadcrumb {
		margin-right: auto;
		font-size: 10px;
		gap: 10px;
	}
	.top-actions {
		gap: 6px;
	}
	.connection-badge {
		font-size: 9px;
	}
	.top-actions .icon-button {
		width: 28px;
	}
	main {
		padding: 23px 19px 0;
	}
	.page-intro .eyebrow {
		font-size: 7px;
		letter-spacing: 1.3px;
	}
	.hero {
		margin-top: 10px;
	}
	.hero-copy {
		padding: 25px 0 30px;
	}
	.hero h1 {
		font-size: 43px;
		letter-spacing: -2px;
	}
	.hero-kicker {
		font-size: 9px;
	}
	.hero-copy > p {
		font-size: 12px;
	}
	.hero-art {
		right: -190px;
		top: 20px;
		opacity: 0.16;
	}
	.hero-actions {
		gap: 14px;
	}
	.hero .button {
		height: 44px;
	}
	.composer-section {
		margin-top: 10px;
	}
	.section-heading h2 {
		font-size: 15px;
	}
	.section-heading > div {
		gap: 8px;
	}
	.composer {
		padding: 15px;
	}
	.composer textarea {
		font-size: 12px;
		min-height: 83px;
	}
	.composer-bottom {
		gap: 6px;
	}
	.composer .button {
		font-size: 9px;
		padding: 0 10px;
		gap: 6px;
	}
	.mode-select {
		gap: 5px;
	}
	.mode-select select {
		font-size: 9px;
	}
	.suggestions {
		gap: 7px;
	}
	.suggestions > span {
		width: 100%;
		margin-bottom: 2px;
	}
	.suggestions button {
		font-size: 8px;
		padding: 7px;
	}
	.recent-section {
		margin-top: 30px;
	}
	.recent-section .inline-link {
		font-size: 8px;
	}
	.empty-state {
		padding: 18px 14px;
		gap: 10px;
		flex-wrap: wrap;
	}
	.empty-state .inline-link {
		margin-left: 45px;
	}
	.empty-state p {
		font-size: 9px;
	}
	.principles {
		grid-template-columns: 1fr;
		margin-top: 28px;
		padding: 23px 0;
		gap: 20px;
	}
	.principles > div {
		grid-template-columns: 23px 1fr;
	}
	.principles .icon {
		grid-row: span 2;
	}
	.principles p {
		max-width: none;
	}
	.principles strong {
		font-size: 11px;
	}
	.principles p {
		font-size: 10px;
	}
	footer {
		font-size: 7px;
		gap: 10px;
		align-items: center;
	}
	footer > span:last-child {
		text-align: right;
		max-width: 150px;
		line-height: 1.6;
	}
	.mission-row {
		padding: 14px 12px;
		gap: 9px;
	}
	.mission-info strong {
		font-size: 10px;
	}
	.mission-info small {
		font-size: 8px;
	}
	.status-pill {
		font-size: 7px;
		padding: 4px 6px;
	}
	.mission-symbol {
		width: 27px;
		height: 29px;
	}
	.row-arrow {
		display: none;
	}
	.history-toolbar {
		gap: 8px;
	}
	.history-toolbar > select {
		width: 130px;
		font-size: 10px;
	}
	.search-field {
		padding: 0 9px;
		gap: 6px;
	}
	.search-field input {
		font-size: 10px;
	}
	.view-title h1 {
		font-size: 31px;
	}
	.settings-card,
	.guide-card {
		padding: 22px;
	}
	.settings-card h2,
	.guide-card h2 {
		font-size: 21px;
	}
	dialog {
		padding: 20px;
	}
	dialog h2 {
		font-size: 21px;
	}
	#toast {
		left: 50%;
		width: max-content;
		font-size: 11px;
	}
	.privacy-card {
		gap: 12px;
	}
}
@media (prefers-reduced-motion: reduce) {
	*,
	*:before,
	*:after {
		animation-duration: 0.01ms !important;
		animation-delay: 0ms !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
	.wind-line {
		stroke-dashoffset: 0;
	}
}
/* Provider controls share the same geometry as the mission composer. */
.settings-card select {
	display: block;
	width: 100%;
	background: #090B11;
	border: 1px solid #2D3244;
	padding: 13px;
	border-radius: 6px;
	font-size: 12px;
	color: var(--text);
}
.settings-card form .button {
	margin-top: 8px;
}
.settings-card form .button + .button {
	margin-left: 8px;
}
.connection-checks {
	padding: 12px 0;
	font-size: 11px;
	line-height: 1.8;
	color: var(--muted);
}
.connection-checks p {
	font-size: 11px;
	margin: 8px 0;
}
.connection-checks ul {
	padding-left: 20px;
}
.connection-checks .ready {
	color: var(--lime);
}
.field-hint {
	color: var(--muted);
	font-size: 11px;
	line-height: 1.7;
}
.section-heading h2 {
	font-size: 18px;
}
.hero-copy > p {
	font-size: 13px;
}
.hero-footnote {
	font-size: 10px;
}
.composer-hint {
	font-size: 10px;
}
.mission-info strong {
	font-size: 12px;
}
.mission-info small {
	font-size: 10px;
}
.nav-link {
	font-size: 13px;
}
.principles strong {
	font-size: 11px;
}
.principles p {
	font-size: 10px;
}
.empty-state strong {
	font-size: 12px;
}
.empty-state p {
	font-size: 11px;
}
.status-pill {
	font-size: 10px;
}
.suggestions button {
	font-size: 10px;
}
.small-label {
	font-size: 9px;
}
.eyebrow {
	font-size: 10px;
}
.connection-row small {
	font-size: 10px;
}
@media (max-width: 640px) {
	.section-heading h2 {
		font-size: 15px;
	}
	.mission-info strong {
		font-size: 11px;
	}
	.mission-info small {
		font-size: 9px;
	}
	.status-pill {
		font-size: 9px;
	}
	.suggestions button {
		font-size: 9px;
	}
	.page-intro .eyebrow {
		font-size: 8px;
	}
	.settings-card form .button + .button {
		margin-left: 0;
	}
}
.settings-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 18px;
}
.settings-actions .button + .button {
	margin-left: 0;
}
.settings-actions .button {
	margin-top: 0;
}
#saved-connection {
	font-size: 11px;
	color: #B4BBD1;
	line-height: 1.8;
	overflow-wrap: anywhere;
	margin-top: 15px;
}
#connection-check {
	font-size: 11px;
	color: var(--muted);
	line-height: 1.8;
	margin-top: 15px;
}
#connection-check ul {
	padding-left: 19px;
}
#connection-check p {
	font-size: 11px;
	margin-bottom: 10px;
}
#connection-check .ready {
	color: var(--lime);
}
.workspace-label,
.small-label {
	color: #8C91A2;
}
.settings-card small,
.connection-row small {
	overflow-wrap: anywhere;
}
.connection-row {
	gap: 16px;
}
#connection-check .connection-row {
	align-items: flex-start;
}
.connection-row small {
	max-width: 65%;
	text-align: right;
}
.lang-toggle {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	height: 31px;
	padding: 0 10px;
	background: #121622;
	border: 1px solid var(--border);
	border-radius: 6px;
	color: #838899;
	font-family: var(--display);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.8px;
	transition:
		border-color 0.18s,
		background 0.18s,
		color 0.18s;
}
.lang-toggle:hover {
	background: #1B2131;
	border-color: #363E5A;
	color: var(--text);
}
.lang-opt {
	color: #707689;
	transition: color 0.18s;
}
.lang-opt.active {
	color: var(--lime);
}
.lang-sep {
	color: #3A3F4E;
	font-weight: 400;
}
@media (max-width: 640px) {
	.lang-toggle {
		height: 28px;
		padding: 0 7px;
		font-size: 9px;
		gap: 3px;
	}
}
@media (max-width: 380px) {
	.breadcrumb {
		font-size: 0;
		gap: 0;
	}
	.breadcrumb > span {
		display: none;
	}
	.breadcrumb strong {
		font-size: 10px;
	}
	.hero h1 {
		font-size: 37px;
	}
	.hero-actions {
		gap: 8px;
	}
}

/* Mission examples remain drafts until the user submits the composer. */
.example-library {
	margin-top: 18px;
	border: 1px solid var(--border);
	border-radius: 12px;
	background: var(--panel);
	padding: 18px;
}
.example-library summary {
	cursor: pointer;
	font-family: var(--display);
	font-weight: 600;
	color: var(--lime);
}
.example-library summary:focus-visible {
	outline: 2px solid var(--lime);
	outline-offset: 5px;
}
.example-library > p {
	color: var(--muted);
	font-size: 13px;
	line-height: 1.6;
	margin: 14px 0;
}
.example-library .example-mode-note {
	border-left: 2px solid var(--lime);
	padding-left: 12px;
}
.example-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
	gap: 10px;
}
.example-card {
	display: flex;
	flex-direction: column;
	gap: 9px;
	text-align: left;
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 16px;
	background: var(--raised);
	color: var(--text);
	cursor: pointer;
}
.example-card:hover {
	border-color: var(--lime);
}
.example-card strong {
	font-size: 14px;
	font-family: var(--display);
}
.example-card > span {
	color: var(--muted);
	font-size: 12px;
	line-height: 1.6;
	overflow-wrap: anywhere;
}

.example-card > small {
	color: var(--lime);
	font-size: 11px;
}


/* ─── Aurelia AI Full Sidebar Groups & Workspaces ─────────────────────────── */
.nav-group-label {
	font-size: 9px;
	font-weight: 700;
	color: #757C91;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	margin: 18px 13px 8px;
}
.sidebar > .nav-group-label:first-of-type {
	margin-top: 0;
}
.nav-pill {
	margin-left: auto;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.6px;
	padding: 2px 7px;
	border-radius: 999px;
	background: rgba(232, 196, 104, 0.14);
	color: #E8C468;
	border: 1px solid rgba(232, 196, 104, 0.32);
}
.nav-pill.teal {
	background: rgba(45, 212, 191, 0.14);
	color: #2DD4BF;
	border-color: rgba(45, 212, 191, 0.32);
}
.ws-section {
	margin-top: 14px;
	padding-top: 10px;
	border-top: 1px solid var(--border);
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 18px;
}
.ws-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 13px;
}
.ws-header .nav-group-label {
	margin: 0;
}
.ws-add-btn {
	width: 22px;
	height: 22px;
	border-radius: 6px;
	border: 1px solid var(--border);
	background: var(--raised);
	color: #E8C468;
	font-size: 14px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.18s, border-color 0.18s;
}
.ws-add-btn:hover {
	background: rgba(232, 196, 104, 0.16);
	border-color: #E8C468;
}
.ws-search {
	position: relative;
	display: flex;
	align-items: center;
	margin: 0 6px;
}
.ws-search .icon {
	position: absolute;
	left: 10px;
	width: 13px;
	height: 13px;
	color: #757C91;
	pointer-events: none;
}
.ws-search input {
	width: 100%;
	padding: 7px 10px 7px 28px;
	border-radius: 8px;
	border: 1px solid var(--border);
	background: #07080D;
	color: var(--text);
	font-size: 11px;
	outline: none;
}
.ws-search input:focus {
	border-color: #E8C468;
}
.ws-list {
	display: flex;
	flex-direction: column;
	gap: 3px;
}
.ws-item {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 8px 12px;
	border-radius: 8px;
	border: 1px solid transparent;
	background: transparent;
	color: #ADB2C2;
	font-size: 12px;
	text-align: left;
	cursor: pointer;
	transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.ws-item:hover {
	background: #141724;
	color: var(--text);
}
.ws-item.is-active {
	background: rgba(232, 196, 104, 0.1);
	border-color: rgba(232, 196, 104, 0.28);
	color: #E8C468;
	font-weight: 600;
}
.ws-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #4B5166;
	flex-shrink: 0;
}
.ws-item.is-active .ws-dot {
	background: #2DD4BF;
	box-shadow: 0 0 8px rgba(45, 212, 191, 0.7);
}
.ws-name {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.ws-badge {
	margin-left: auto;
	font-size: 10px;
	padding: 1px 6px;
	border-radius: 999px;
	background: rgba(45, 212, 191, 0.14);
	color: #2DD4BF;
}
.ws-threads {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 3px 0 6px 18px;
	padding-left: 10px;
	border-left: 1px solid var(--border);
}
.ws-thread {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 5px 8px;
	border-radius: 6px;
	border: none;
	background: transparent;
	color: #888EA2;
	font-size: 11px;
	text-align: left;
	cursor: pointer;
	transition: background 0.16s, color 0.16s;
}
.ws-thread:hover {
	background: #141724;
	color: var(--text);
}
.ws-thread.is-active {
	color: #2DD4BF;
	background: rgba(45, 212, 191, 0.08);
	font-weight: 600;
}
.ws-thread span {
	opacity: 0.65;
}

/* ─── AI Chat & Docs (RAG View) ───────────────────────────────────────────── */
.rag-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 290px;
	gap: 18px;
	align-items: start;
}
@media (max-width: 960px) {
	.rag-layout {
		grid-template-columns: 1fr;
	}
}
.rag-chat-panel,
.rag-docs-panel {
	background: var(--raised);
	border: 1px solid var(--border);
	border-radius: 14px;
	overflow: hidden;
}
.rag-messages {
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-height: 360px;
	max-height: 520px;
	overflow-y: auto;
}
.rag-msg {
	padding: 14px 16px;
	border-radius: 12px;
	font-size: 13px;
	line-height: 1.6;
}
.rag-msg.user {
	background: rgba(232, 196, 104, 0.1);
	border: 1px solid rgba(232, 196, 104, 0.25);
	color: var(--text);
	align-self: flex-end;
	max-width: 82%;
}
.rag-msg.assistant {
	background: #0B0D15;
	border: 1px solid var(--border);
	color: var(--text);
	max-width: 92%;
}
.rag-msg-role {
	display: block;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin-bottom: 6px;
	color: #E8C468;
}
.rag-msg.assistant .rag-msg-role {
	color: #2DD4BF;
}
.rag-citations {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 10px;
}
.rag-cite {
	font-size: 11px;
	padding: 3px 8px;
	border-radius: 6px;
	background: rgba(45, 212, 191, 0.1);
	border: 1px solid rgba(45, 212, 191, 0.28);
	color: #2DD4BF;
}
.rag-input-bar {
	display: flex;
	gap: 10px;
	padding: 14px 16px;
	border-top: 1px solid var(--border);
	background: #0A0C12;
}
.rag-input-bar input {
	flex: 1;
	padding: 11px 14px;
	border-radius: 10px;
	border: 1px solid var(--border);
	background: var(--raised);
	color: var(--text);
	font-size: 13px;
	outline: none;
}
.rag-input-bar input:focus {
	border-color: #E8C468;
}
.rag-docs-panel {
	padding: 18px;
}
.rag-docs-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
}
.rag-docs-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.rag-doc-item {
	padding: 12px;
	border-radius: 10px;
	background: #0B0D15;
	border: 1px solid var(--border);
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.rag-doc-item strong {
	font-size: 12px;
	color: var(--text);
}
.rag-doc-item small {
	font-size: 11px;
	color: var(--muted);
}

/* ─── CRM & Sales View ────────────────────────────────────────────────────── */
.crm-kpis {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 12px;
	margin-bottom: 20px;
}
.crm-kpi {
	background: var(--raised);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 16px 18px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.crm-kpi span {
	font-size: 11px;
	color: var(--muted);
	text-transform: uppercase;
	letter-spacing: 0.8px;
}
.crm-kpi strong {
	font-family: var(--display);
	font-size: 24px;
	color: #E8C468;
}
.crm-kpi strong.teal-text {
	color: #2DD4BF;
}
.crm-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 14px;
}
.crm-card {
	background: var(--raised);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 18px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.crm-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}
.crm-stage {
	font-size: 10px;
	font-weight: 700;
	padding: 3px 9px;
	border-radius: 999px;
	background: rgba(45, 212, 191, 0.12);
	color: #2DD4BF;
	border: 1px solid rgba(45, 212, 191, 0.28);
}
.crm-value {
	font-family: var(--display);
	font-size: 16px;
	color: #E8C468;
	font-weight: 600;
}
.crm-card h3 {
	font-family: var(--display);
	font-size: 18px;
	margin: 0;
}
.crm-card p {
	font-size: 12px;
	color: var(--muted);
	margin: 0;
	line-height: 1.5;
}
.crm-draft-box {
	margin-top: 20px;
	background: #0B0D15;
	border: 1px solid rgba(232, 196, 104, 0.32);
	border-radius: 14px;
	padding: 18px;
}
.crm-draft-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}
.crm-draft-box pre {
	white-space: pre-wrap;
	font-size: 12px;
	line-height: 1.6;
	color: var(--text);
	margin: 0;
}

/* ─── AI Agents & MCP Hub + Channels + 5-Node Pipeline ────────────────────── */
.agents-grid,
.channels-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 14px;
	margin-bottom: 24px;
}
.agent-card,
.channel-card {
	background: var(--raised);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 18px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.agent-card h3,
.channel-card h3 {
	font-family: var(--display);
	font-size: 17px;
	margin: 0;
}
.agent-card p,
.channel-card p {
	font-size: 12px;
	color: var(--muted);
	margin: 0;
	line-height: 1.5;
}
.policy-row {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: auto;
	padding-top: 6px;
}
.policy-btn {
	font-size: 10px;
	font-weight: 700;
	padding: 4px 9px;
	border-radius: 999px;
	border: 1px solid var(--border);
	background: #0B0D15;
	color: var(--muted);
	cursor: pointer;
}
.policy-btn.is-active {
	background: rgba(232, 196, 104, 0.16);
	border-color: #E8C468;
	color: #E8C468;
}
.policy-btn.is-active.teal {
	background: rgba(45, 212, 191, 0.16);
	border-color: #2DD4BF;
	color: #2DD4BF;
}
.pipeline-strip {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	padding: 18px;
	margin-bottom: 22px;
	border-radius: 14px;
	background: var(--raised);
	border: 1px solid var(--border);
}
.pipe-node {
	flex: 1 1 130px;
	padding: 12px 14px;
	border-radius: 10px;
	background: #0B0D15;
	border: 1px solid var(--border);
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.pipe-node.is-accent {
	border-color: rgba(232, 196, 104, 0.45);
	background: rgba(232, 196, 104, 0.08);
}
.pipe-step {
	font-size: 10px;
	font-weight: 700;
	color: #2DD4BF;
}
.pipe-node strong {
	font-size: 13px;
	color: var(--text);
}
.pipe-node small {
	font-size: 11px;
	color: var(--muted);
}
.pipe-arrow {
	color: #E8C468;
	font-weight: 700;
}
