html:has(.layout-ai-popup.show),
body:has(.layout-ai-popup.show) {
	overflow: hidden;
}

.layout-ai-button {
	display: flex;
	position: fixed;
	right: 30px;
	bottom: 80px;
	flex-direction: column;
	align-items: flex-end;
	z-index: 2002;
}
.layout-ai-button .tip {
	display: flex;
	position: relative;
	margin-bottom: 12px;
	padding: 10px;
	background-color: #fff;
	border: 1px solid #e6eef9;
	box-shadow: 0 18px 34px -18px rgba(16, 42, 80, .35), 0 4px 12px -6px rgba(16, 42, 80, .12);
	border-radius: 14px;
}
.layout-ai-button .tip::after {
	content: "";
	position: absolute;
	right: 26px;
	bottom: -6px;
	width: 11px;
	height: 11px;
	background: #fff;
	border-right: 1px solid #e6eef9;
	border-bottom: 1px solid #e6eef9;
	transform: rotate(45deg);
}
.layout-ai-button .tip .icon {
    display: flex;
	width: 26px;
	height: 26px;
	border-radius: 9px;
	background: linear-gradient(135deg,#fff1e6,#ffe3d1);
	color: #f97316;
    justify-content: center;
    align-items: center
}
.layout-ai-button .tip .text {
	display: flex;
	padding-left: 10px;
	padding-right: 40px;
	flex-direction: column;
}
.layout-ai-button .tip .text span,
.layout-ai-button .tip .text i {
	line-height: 1;
}
.layout-ai-button .tip .text span {
	font-size: 14px;
}
.layout-ai-button .tip .text i {
	margin-top: 6px;
	color: #999;
	font-size: 12px;
	font-style: normal;
}
.layout-ai-button .tip .close {
    display: flex;
	position: absolute;
	top: 7px;
	right: 7px;
	width: 20px;
	height: 20px;
	border-radius: 14px;
	color: #666;
    justify-content: center;
    align-items: center;
	cursor: pointer;
}
.layout-ai-button .tip .close:hover {
	background-color: #f1f1f1;
}
.layout-ai-button .button {
	display: flex;
	position: relative;
	padding: 0 18px 0 8px;
	height: 70px;
	border-radius: 70px;
	background-color: #fff;
	border: 1px solid #eee;
	box-shadow: 0 16px 32px -12px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .28);
	transition: transform .26s cubic-bezier(.22, 1, .36, 1), box-shadow .26s;
	align-items: center;
	cursor: pointer;
}
.layout-ai-button .button .icon {
	width: 52px;
	height: 52px;
	background: url('../images/ai-logo.png') no-repeat center center / 100%;
	border-radius: 100%;
}
.layout-ai-button .button .name {
	display: flex;
	padding-left: 10px;
	flex-direction: column;
}
.layout-ai-button .button .name span,
.layout-ai-button .button .name i {
	line-height: 1;
}
.layout-ai-button .button .name span {
	color: #333;
	font-size: 18px;
	font-weight: 600;
}
.layout-ai-button .button .name i {
	margin-top: 8px;
	color: #666;
	font-size: 14px;
	font-style: normal;
}
.layout-ai-button .button:hover {
	transform: translateY(-3px);
}
.layout-ai-popup {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2026;
}
.layout-ai-popup.show {
	display: block;
}
.layout-ai-mask {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.layout-ai-wrap {
	display: flex;
	position: absolute;
	top: 0;
	right: -780px;
	width: 750px;
	height: 100%;
	background-color: #fff;
	flex-direction: column;
	transition: right .3s cubic-bezier(.22, 1, .36, 1);
	z-index: 10;
}
.layout-ai-wrap.full {
	width: 100%;
	right: -100%;
}
.layout-ai-wrap.message {
	box-shadow: 0 32px 64px -24px rgba(16, 42, 80, .28), 0 12px 28px -14px rgba(16, 42, 80, .18);
}
.layout-ai-wrap.show {
	right: 0;
}
.layout-ai-header {
	display: flex;
	padding: 15px;
	height: 70px;
	border-bottom: 1px solid #e9eef5;
	justify-content: space-between;
    align-items: center;
}
.layout-ai-header .title {
	display: flex;
    align-items: center;
}
.layout-ai-header .title .icon {
	width: 40px;
	height: 40px;
	background: url('../images/ai-logo.png') no-repeat center center / 100%;
	border-radius: 10px;
}
.layout-ai-header .title .name {
	display: flex;
	padding-left: 10px;
	flex-direction: column;
}
.layout-ai-header .title .name span,
.layout-ai-header .title .name i {
	line-height: 1;
}
.layout-ai-header .title .name span {
	font-size: 16px;
	font-weight: 600;
}
.layout-ai-header .title .name i {
	position: relative;
	margin-top: 7px;
	padding-left: 12px;
	color: #999;
	font-size: 12px;
	font-style: normal;
}
.layout-ai-header .title .name i::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 7px;
	height: 7px;
	background-color: #07c160;
	border-radius: 100%;
    transform: translateY(-50%);
}
.layout-ai-header .tools {
	display: flex;
	height: 40px;
    align-items: center;
}
.layout-ai-header .tools .btn {
	display: flex;
	margin-left: 5px;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	color: #7b8798;
    justify-content: center;
    align-items: center;
	cursor: pointer;
}
.layout-ai-header .tools .btn:first-child {
	margin-left: 0;
}
.layout-ai-header .tools .btn:hover {
	background-color: #f5f6f7;
	color: #117ee7;
}
.layout-ai-header .tools .btn.hide {
	display: none;
}
.layout-ai-header .tools .name {
	margin-left: 10px;
	line-height: 1;
	font-weight: 600;
}
.layout-ai-content {
	display: flex;
	flex-direction: column;
	flex: 1;
	overflow-y: auto;
}
.layout-ai-chat {
	padding: 15px;
	width: 100%;
}
.layout-ai-wrap.full .layout-ai-chat {
	margin: 0 auto;
	width: 800px;
}
.layout-ai-message {
	--ai-message-width: 600px;
	display: flex;
	margin-top: 16px;
	align-items: flex-start;
}
.layout-ai-message:first-child {
	margin-top: 0;
}
.layout-ai-message .message__avatar {
	display: flex;
	width: 30px;
	height: 30px;
	border-radius: 10px;
	color: #fff;
    justify-content: center;
    align-items: center;
}
.layout-ai-message .message__box {
	max-width: var(--ai-message-width);
}
.layout-ai-message .message__end {
	margin-top: 10px;
}
.layout-ai-message .message__bubble {
	padding: 10px 14px;
	line-height: 1.7;
	border-radius: 14px;
	border-top-right-radius: 14px;
	font-size: 14px;
	word-break: break-word;
	white-space: pre-wrap;
	flex-shrink: 1;
}
.layout-ai-message.ai .message__avatar {
	margin-right: 10px;
	background: url('../images/ai-logo.png') no-repeat center center / 100%;
}
.layout-ai-message.ai .message__bubble {
	background-color: #f5f7fa;
	color: #1f2733;
	border-top-left-radius: 5px;
}
.layout-ai-message.user {
	justify-content: flex-end;
}
.layout-ai-message.user .message__avatar {
	margin-left: 10px;
	background: linear-gradient(135deg, #7c8ba1, #5a6b80);
	box-shadow: 0 6px 12px -6px rgba(90, 107, 128, .8);
}
.layout-ai-message.user .message__bubble {
	background: linear-gradient(135deg, #2b91ef, #117ee7);
	border-top-right-radius: 5px;
	box-shadow: 0 8px 18px -10px rgba(17, 126, 231, .95);
	color: #fff;
}
.layout-ai-message .message__typing {
    display: flex;
    padding: 14px 16px;
	background-color: #f5f7fa;
    border-radius: 14px;
	border-top-left-radius: 5px;
	align-items: center;
  }
.layout-ai-message .message__typing span {
	margin-left: 6px;
    width: 6px;
	height: 6px;
	background-color: #b9c4d2;
	border-radius: 50%;
    animation: ani-ai-blink 1.3s infinite ease-in-out;
}
.layout-ai-message .message__typing span:first-child {
	margin-left: 0;
}
.layout-ai-message .message__typing span:nth-child(2) {
	animation-delay:.18s;
}
.layout-ai-message .message__typing span:nth-child(3) {
	animation-delay:.36s;
}

@keyframes ani-ai-blink {
	0%, 60%, 100%{
		transform: translateY(0);
		opacity: .45;
	}
	30% {
		transform: translateY(-4px);
		opacity:1;
	}
}

.layout-ai-message .message__thinking {
	margin-bottom: 8px;
	background-color: #fafbfd;
	border: 1px solid #e6ebf2;
	border-radius: 12px;
	overflow: hidden;
}
.layout-ai-message .message__thinking .thinking-head {
	display: flex;
	padding: 8px 12px;
	line-height: 1.4;
	font-size: 13px;
	color: #6b7a90;
	align-items: center;
	user-select: none;
	cursor: pointer;
}
.layout-ai-message .message__thinking .thinking-head .ico {
	margin-right: 6px;
	color: #117ee7;
	flex: 0 0 auto;
}
.layout-ai-message .message__thinking.open .thinking-head .ico {
	animation: ani-ai-thinking 1.6s ease-in-out infinite;
}
.layout-ai-message .message__thinking .thinking-head .thinking-title {
	min-width: 0;
	flex: 1 1 auto;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}
.layout-ai-message .message__thinking .thinking-head .arrow {
	margin-left: 6px;
	color: #9aa8bc;
	flex: 0 0 auto;
	transition: transform .25s ease;
}
.layout-ai-message .message__thinking.open .thinking-head .arrow {
	transform: rotate(180deg);
}
.layout-ai-message .message__thinking .thinking-body {
	max-height: 0;
	transition: max-height .3s ease;
	overflow: hidden;
}
.layout-ai-message .message__thinking.open .thinking-body {
	max-height: 220px;
	overflow-x: hidden;
	overflow-y: auto;
}
.layout-ai-message .message__thinking .thinking-body .think-bubble {
	padding: 0 12px 10px;
	line-height: 1.75;
	color: #8b98aa;
	font-size: 13px;
	word-break: break-word;
}
.layout-ai-message .message__thinking .thinking-body .think-bubble > *:first-child {
	margin-top: 0;
}
.layout-ai-message .message__thinking .thinking-body .think-bubble > *:last-child {
	margin-bottom: 0;
}
.layout-ai-message  .message__thinking.thinking-body .think-bubble p {
	margin: 0 0 6px;
}
.layout-ai-message .message__thinking .thinking-body .think-bubble h1,
.layout-ai-message .message__thinking .thinking-body .think-bubble h2,
.layout-ai-message .message__thinking .thinking-body .think-bubble h3,
.layout-ai-message .message__thinking .thinking-body .think-bubble h4 {
	margin: 8px 0 4px;
	width: 100%;
	color: #6b7a90;
	font-size: 13px;
	font-weight: 600;
}

.layout-ai-message .message__thinking .thinking-body .think-bubble ul,
.layout-ai-message .message__thinking .thinking-body .think-bubble ol {
	margin: 0 0 6px;
	padding-left: 18px;
}
.layout-ai-message .message__thinking .thinking-body .think-bubble li { margin: 2px 0; }

.layout-ai-message .message__thinking .thinking-body .think-bubble blockquote {
	margin: 6px 0;
	padding: 4px 10px;
	background-color: rgba(0, 0, 0, .015);
	border-left: 3px solid #d5dee9;
	color: #8b98aa;
}

.layout-ai-message .message__thinking .thinking-body .think-bubble a {
	color: #117ee7;
	text-decoration: underline;
	word-break: break-all;
}

.layout-ai-message .message__thinking .thinking-body .think-bubble hr {
	margin: 8px 0;
	border: 0;
	border-top: 1px dashed #e0e6ee;
}
.layout-ai-message .message__thinking .thinking-body .think-bubble code {
	padding: 1px 4px;
	background-color: rgba(17, 126, 231, .08);
	border-radius: 4px;
	color: #5a7ca0;
	font-size: 12px;
	font-family: ui-monospace, Menlo, Consolas, "Courier New", monospace;
	word-break: break-all;
}
.layout-ai-message .message__thinking .thinking-body .think-bubble pre {
	margin: 6px 0;
	padding: 8px 10px;
	background-color: #eef2f7;
	border-radius: 8px;
	-webkit-overflow-scrolling: touch;
	overflow-x: auto;
}
.layout-ai-message .message__thinking .thinking-body .think-bubble pre code {
	padding: 0;
	line-height: 1.6;
	background-color: transparent;
	color: #5a6b80;
	font-size: 12px;
	white-space: pre;
	word-break: normal;
}
.layout-ai-message .message__thinking .thinking-body .think-bubble table {
	width: 100%;
	margin: 6px 0;
	border-collapse: collapse;
	font-size: 12px;
}
.layout-ai-message .message__thinking .thinking-body .think-bubble th,
.layout-ai-message .message__thinking .thinking-body .think-bubble td {
	padding: 4px 6px;
	border: 1px solid #e6ebf2;
	text-align: left;
	word-break: break-word;
}
.layout-ai-message .message__thinking .thinking-body .think-bubble th {
	background: #f0f3f8;
	font-weight: 600;
}

@keyframes ani-ai-thinking {
	0%, 100% {
		opacity: .45;
		transform: scale(.9);
	}
	50% {
		opacity: 1;
		transform: scale(1);
	}
}

.layout-ai-message .message__bubble.md {
	white-space: normal;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.layout-ai-message .message__bubble.md > * {
	margin: 0;
	min-width: 0; /* 防止 pre / table 撑破 flex 容器 */
}
.layout-ai-message .message__bubble.md > *:first-child {
	margin-top: 0;
}
.layout-ai-message .message__bubble.md > *:last-child {
	margin-bottom: 0;
}

/* 标题：实际间距 = gap 8 + margin-top 6 = 14px */
.layout-ai-message .message__bubble.md > h1,
.layout-ai-message .message__bubble.md > h2,
.layout-ai-message .message__bubble.md > h3,
.layout-ai-message .message__bubble.md > h4 {
	margin-top: 6px;
	width: 100%;
	line-height: 1.5;
	font-size: 15px;
	font-weight: 600;
}

.layout-ai-message .message__bubble.md p {
	margin: 0;
}

.layout-ai-message .message__bubble.md ul,
.layout-ai-message .message__bubble.md ol {
	margin: 0;
	padding-left: 20px;
}
.layout-ai-message .message__bubble.md li {
	margin: 3px 0;
}

.layout-ai-message .message__bubble.md blockquote {
	margin: 0;
	padding: 6px 12px;
	background-color: rgba(0, 0, 0, .02);
	border-left: 3px solid #d5dee9;
	color: #6b7a90;
}

.layout-ai-message .message__bubble.md a {
	color: #117ee7;
	text-decoration: underline;
	word-break: break-all;
}

/* hr 比普通间距稍宽松一点 */
.layout-ai-message .message__bubble.md hr {
	margin: 4px 0;
	border: 0;
	border-top: 1px solid #e6ebf2;
}

/* 行内 code：去掉垂直 padding，避免多行时上下重叠 */
.layout-ai-message .message__bubble.md code {
	padding: 0 5px;
	line-height: 1.45;
	background-color: rgba(17, 126, 231, .08);
	border-radius: 5px;
	color: #1f6fd0;
	font-size: 12.5px;
	font-family: ui-monospace, Menlo, Consolas, "Courier New", monospace;
	word-break: break-all;
}

.layout-ai-message .message__bubble.md pre {
	margin: 0;
	padding: 10px 12px;
	background-color: #1f2733;
	border-radius: 10px;
	-webkit-overflow-scrolling: touch;
	overflow-x: auto;
}
.layout-ai-message .message__bubble.md pre code {
	padding: 0;
	line-height: 1.65;
	background-color: transparent;
	color: #d8e2ef;
	font-size: 12.5px;
	white-space: pre;
	word-break: normal;
}

.layout-ai-message .message__bubble.md table {
	margin: 0;
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}
.layout-ai-message .message__bubble.md th,
.layout-ai-message .message__bubble.md td {
	padding: 6px 8px;
	border: 1px solid #e6ebf2;
	text-align: left;
	word-break: break-word;
}
.layout-ai-message .message__bubble.md th {
	background: #f5f7fa;
}

.layout-ai-message.user .message__bubble.md code {
	background-color: rgba(255, 255, 255, .18);
	color: #fff;
}
.layout-ai-message.user .message__bubble.md a {
	color: #cfe4ff;
}

.layout-ai-message .message__steps {
	margin-bottom: 20px;
	padding: 2px 0;
	background-color: #fafbfd;
	border: 1px solid #e6ebf2;
	border-radius: 12px;
	overflow: hidden;
}
.layout-ai-message .message__steps .step-item {
	display: flex;
	padding: 8px 12px;
	line-height: 1.4;
	border-bottom: 1px solid #eef2f7;
	color: #6b7a90;
	font-size: 13px;
	align-items: center;
}
.layout-ai-message .message__steps .step-item:last-child {
	border-bottom: 0;
}
.layout-ai-message .message__steps .step-item .step-icon {
	position: relative;
	margin-right: 8px;
	width: 14px;
	height: 14px;
	border: 2px solid #cfd8e3;
	border-radius: 50%;
	box-sizing: border-box;
	flex: 0 0 auto;
}
.layout-ai-message .message__steps .step-item.running .step-icon {
	border-color: #117ee7;
	border-right-color: transparent;
	animation: ani-ai-spin .8s linear infinite;
}
.layout-ai-message .message__steps .step-item.done .step-icon {
	background-color: #117ee7;
	border-color: #117ee7;
}
.layout-ai-message .message__steps .step-item.done .step-icon::after {
	content: "";
	position: absolute;
	left: 3px;
	top: 1px;
	width: 4px;
	height: 7px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	box-sizing: border-box;
	transform: rotate(45deg);
}
.layout-ai-message .message__steps .step-item .step-name {
	min-width: 0;
	flex: 1 1 auto;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}
.layout-ai-message .message__steps .step-item.running .step-name {
	color: #117ee7;
	font-weight: 500;
}

@keyframes ani-ai-spin {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

.layout-ai-list {
	width: var(--ai-message-width);
}

.layout-ai-list .ai-article-item {
	display: block;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #f3f3f3;
	overflow: hidden;
}
.layout-ai-list .ai-article-item:first-child {
	margin-top: 0;
	padding-top: 0;
	border-top: 0 none;
}
.layout-ai-list .ai-article-item .image,
.layout-ai-list .ai-article-item .info {
	float: left;
	height: 108px; 
}
.layout-ai-list .ai-article-item .image {
	width: 192px;
	background: #f9f9f9 no-repeat center center / cover
}
.layout-ai-list .ai-article-item .info {
	padding-left: 20px;
	width: calc(100% - 108px);
}
.layout-ai-list .ai-article-item .name {
	height: 23px;
	color: #333;
	font-size: 16px;
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden
}
.layout-ai-list .ai-article-item .text {
	margin: 10px 0;
	height: 42px;
	line-height: 21px;
	color: #666;
	overflow: hidden;
}
.layout-ai-list .ai-article-item .attr {
	float: left;
	font-size: 0;
}
.layout-ai-list .ai-article-item .attr span {
	display: inline-block;
	margin-right: 20px;
	color: #999;
	height: 23px;
	line-height: 23px;
	font-size: 14px;
}
.layout-ai-list .ai-article-item .attr span.view {
	padding-left: 20px;
	background: url('../images/icon_eye.png') no-repeat 0 4px;
}
.layout-ai-list .ai-article-item .category {
	float: right;
}
.layout-ai-list .ai-article-item .category span {
	display: block;
	padding: 0 10px;
	height: 23px;
	line-height: 23px;
	background-color: #f3f9ff;
	border-radius: 35px;
	color: #117ee7;
	font-size: 14px;
}
.layout-ai-list .ai-article-item .info.all {
	padding-left: 0;
	width: 100%;
	height: auto;
}
.layout-ai-list .ai-article-item .info.all .text {
	height: auto;
}
.layout-ai-list .ai-article-item:hover .name {
	color: #117ee7;
}

.layout-ai-list .ai-activity-item {
	display: block;
	margin-top: 20px;
	width: 100%;
	background-color: #fff;
	border: 1px solid #f7f7f7;
	border-radius: 5px;
	overflow: hidden;
}
.layout-ai-list .ai-activity-item:hover {
	border-color: #117ee7;
}
.layout-ai-list .ai-activity-item:first-child {
	margin-top: 0;
}
.layout-ai-list .ai-activity-item .image {
	position: relative;
	height: 239px;
	background: #f9f9f9 no-repeat center center / cover;
}
.layout-ai-list .ai-activity-item .image span {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	padding: 0 15px;
	height: 30px;
	line-height: 30px;
	background-color: rgba(0, 0, 0, .6);
	border-radius: 0 0 5px 0;
	color: #fff;
	font-size: 14px;
}
.layout-ai-list .ai-activity-item .info {
	position: relative;
	padding: 20px;
	border-bottom: 1px solid #f5f5f5;
}
.layout-ai-list .ai-activity-item .name {
	padding-right: 82px;
	height: 23px;
	color: #333;
	font-size: 16px;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}
.layout-ai-list .ai-activity-item .date {
	margin-top: 15px;
	height: 19px;
	color: #999;
	font-size: 14px;
}
.layout-ai-list .ai-activity-item .status {
	position: absolute;
	top: 0;
	right: 0;
	background-color: #bbb;
	overflow: hidden;
}
.layout-ai-list .ai-activity-item .status.style-1 {
	background-color: #ffba00;
}
.layout-ai-list .ai-activity-item .status i,
.layout-ai-list .ai-activity-item .status span {
	display: block;
	float: left;
	height: 30px;
}
.layout-ai-list .ai-activity-item .status i {
	width: 0;
	height: 0;
	border-top: 15px solid transparent;
	border-bottom: 15px solid transparent;
	border-left: 10px solid #fff;
}
.layout-ai-list .ai-activity-item .status span {
	padding: 0 15px;
	line-height: 30px;
	color: #fff;
	font-size: 14px;
}
.layout-ai-list .ai-activity-item .count {
	padding: 20px;
	overflow: hidden;
}
.layout-ai-list .ai-activity-item .count .time,
.layout-ai-list .ai-activity-item .count .number {
	overflow: hidden;
}
.layout-ai-list .ai-activity-item .count .time {
	float: left;
}
.layout-ai-list .ai-activity-item .count .number {
	float: right;
}
.layout-ai-list .ai-activity-item .count .view {
	float: left;
	margin-left: 20px;
	height: 18px;
	line-height: 18px;
	font-size: 0;
}
.layout-ai-list .ai-activity-item .count .view.first {
	margin-left: 0;
}
.layout-ai-list .ai-activity-item .count .view span,
.layout-ai-list .ai-activity-item .count .view i {
	display: inline-block;
	height: 18px;
	line-height: 18px;
	color: #999;
	font-size: 14px;
    vertical-align: middle;
}
.layout-ai-list .ai-activity-item .count .view i {
	margin-right: 5px;
	font-size: 14px;
}

.layout-ai-list .ai-goods-item {
	margin-top: 10px;
	padding: 20px;
	background-color: #fff;
	border: 1px solid #f5f5f5;
	border-left: 5px solid #e4f2ff;
	border-radius: 10px;
}
.layout-ai-list .ai-goods-item:first-child {
	margin-top: 0;
}
.layout-ai-list .ai-goods-item__name {
	display: flex;
	align-items: center;
}
.layout-ai-list .ai-goods-item__name a {
	display: flex;
	color: #333;
	font-size: 18px;
	font-weight: 600;
	vertical-align: middle;
}
.layout-ai-list .ai-goods-item__name i {
	display: flex;
	margin-left: 10px;
	padding: 3px 8px;
	background-color: #ff9812;
	border-radius: 5px;
	color: #fff;
	font-size: 12px;
	font-style: normal;
}
.layout-ai-list .ai-goods-item__text {
	margin-top: 15px;
}
.layout-ai-list .ai-goods-item__text .item {
	display: flex;
	margin-top: 5px;
}
.layout-ai-list .ai-goods-item__text .item:first-child {
	margin-top: 0;
}
.layout-ai-list .ai-goods-item__text .item span, .layout-ai-list .ai-goods-item__text .item a {
	line-height: 21px;
	font-size: 12px;
	vertical-align: middle;
}
.layout-ai-list .ai-goods-item__text .item span.n {
	width: 40px;
	color: #666;
}
.layout-ai-list .ai-goods-item__text .item span.v, .layout-ai-list .ai-goods-item__text .item a.v {
	width: calc(100% - 40px);
	color: #333;
}
.layout-ai-list .ai-goods-item__substitute {
	margin-top: 10px;
}
.layout-ai-list .ai-goods-item__substitute .button {
	display: flex;
}
.layout-ai-list .ai-goods-item__substitute .button span {
	display: flex;
	margin-right: 10px;
	padding: 0 10px;
	height: 25px;
	border: 1px solid #f3f3f3;
	border-radius: 5px;
	color: #999;
	font-size: 12px;
    align-items: center;
}
.layout-ai-list .ai-goods-item__substitute .button span.style-3 {
	border-color: #f1403c;
	color: #f1403c;
}
.layout-ai-list .ai-goods-item__substitute .link {
	display: flex;
	position: relative;
	height: 25px;
	flex: 1;
}
.layout-ai-list .ai-goods-item__substitute .link::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 2px;
	background-color: #e4f2ff;
    transform: translateY(-50%);
}
.layout-ai-list .ai-goods-item__substitute .box {
	margin-top: 10px;
}
.layout-ai-list .ai-goods-item__substitute .item {
	display: flex;
	margin-top: 5px;
}
.layout-ai-list .ai-goods-item__substitute .item:first-child {
	margin-top: 0; 
}
.layout-ai-list .ai-goods-item__substitute .item span,
.layout-ai-list .ai-goods-item__substitute .item a {
	line-height: 21px;
	font-size: 12px;
	vertical-align: middle;
}
.layout-ai-list .ai-goods-item__substitute .item span.n {
	color: #666;
}
.layout-ai-list .ai-goods-item__substitute .item span.n.mt {
	margin-left: 10px;
}
.layout-ai-list .ai-goods-item__substitute .item span.v {
	color: #333;
}

.layout-ai-list .ai-substitute-item {
	margin-top: 10px;
	padding: 8px 12px;
	border: 1px solid #eee;
	border-radius: 12px;
}
.layout-ai-list .ai-substitute-item:first-child {
	margin-top: 0;
}
.layout-ai-list .ai-substitute-item .item {
	display: flex;
	margin-top: 5px;
}
.layout-ai-list .ai-substitute-item .item:first-child {
	margin-top: 0; 
}
.layout-ai-list .ai-substitute-item .item span,
.layout-ai-list .ai-substitute-item .item a {
	line-height: 21px;
	font-size: 12px;
	vertical-align: middle;
}
.layout-ai-list .ai-substitute-item .item span.n {
	color: #666;
}
.layout-ai-list .ai-substitute-item .item span.n.mt {
	margin-left: 10px;
}
.layout-ai-list .ai-substitute-item .item span.v {
	color: #333;
}

.layout-ai-list .ai-shop-item {
	margin-top: 10px;
	padding: 20px;
	background: linear-gradient(to top, #fff, #fff, #ebf5ff, #a7cff4);
	border: 1px solid #eee;
	border-radius: 5px;
}
.layout-ai-list .ai-shop-item .box {
	overflow: hidden;
}
.layout-ai-list .ai-shop-item .box .image {
	float: left;
	width: 125px;
	height: 125px;
	background: #fff no-repeat center center / contain;
	border: 1px solid #f5f5f5;
	border-radius: 5px;
}
.layout-ai-list .ai-shop-item .box .info {
	float: left;
	position: relative;
	padding-left: 20px;
	width: calc(100% - 125px);
	min-height: 125px;
}
.layout-ai-list .ai-shop-item .box .image:hover {
	box-shadow: 0 0 5px rgba(0, 0, 0, .05);
}
.layout-ai-list .ai-shop-item .box .head {
	overflow: hidden;
}
.layout-ai-list .ai-shop-item .box .name {
	display: block;
	float: left;
	height: 29px;
	line-height: 29px;
	color: #333;
	font-size: 16px;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}
.layout-ai-list .ai-shop-item .box .name:hover {
	color: #117ee7;
}
.layout-ai-list .ai-shop-item .box .goto {
	display: block;
	float: left;
	margin-left: 20px;
	padding: 0 10px;
	height: 29px;
	line-height: 27px;
	background-color: #117ee7;
	border: 1px solid #117ee7;
	border-radius: 5px;
	color: #fff;
	font-size: 0;
	text-align: center;
}
.layout-ai-list .ai-shop-item .box .goto i,
.layout-ai-list .ai-shop-item .box .goto span {
	display: inline-block;
	font-size: 14px;
    vertical-align: middle;
}
.layout-ai-list .ai-shop-item .box .goto i {
	font-size: 16px;
}
.layout-ai-list .ai-shop-item .box .goto span {
	margin-left: 5px;
}
.layout-ai-list .ai-shop-item .box .goto:hover {
	background-color: #0770d4;
	border-color: #0770d4;
}
.layout-ai-list .ai-shop-item .box .text {
	margin-top: 10px;
	line-height: 20px;
	color: #666;
}

.layout-ai-list .ai-document-item {
	margin-top: 10px;
	padding: 8px 12px;
	border: 1px solid #eee;
	border-radius: 12px;
}
.layout-ai-list .ai-document-item:first-child {
	margin-top: 0;
}
.layout-ai-list .ai-document-item .item {
	display: flex;
	margin-top: 5px;
}
.layout-ai-list .ai-document-item .item:first-child {
	margin-top: 0; 
}
.layout-ai-list .ai-document-item .item span,
.layout-ai-list .ai-document-item .item a {
	line-height: 21px;
	font-size: 12px;
	vertical-align: middle;
}
.layout-ai-list .ai-document-item .item span.n {
	color: #666;
}
.layout-ai-list .ai-document-item .item span.n.mt {
	margin-left: 10px;
}
.layout-ai-list .ai-document-item .item span.v {
	color: #333;
}

.layout-ai-list .layout-ai-file {
	margin-top: 15px;
}
.layout-ai-list .ai-file-item {
	display: block;
	border-bottom: 1px solid #eee;
	overflow: hidden;
}
.layout-ai-list .ai-file-item span {
	display: block;
	float: left;
	height: 35px;
	line-height: 35px;
}
.layout-ai-list .ai-file-item span.name {
	padding-left: 25px;
	width: calc(100% - 100px);
	background: url('../images/icon_download.png') no-repeat 0 center / 15px;
	white-space: nowrap; 
	text-overflow: ellipsis;
	overflow: hidden;
}
.layout-ai-list .ai-file-item span.text {
	width: 100px;
	color: #117ee7;
	text-align: right;
}

.layout-ai-form {
    margin-top: 12px;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
}
.layout-ai-form .ai-form-head {
    padding: 12px 16px;
    background: linear-gradient(90deg, #f2f7ff, #fff);
    border-bottom: 1px solid #eef1f5;
    font-size: 14px;
    font-weight: 600;
    color: #1f2329;
}
.layout-ai-form .ai-form-body { padding: 14px 16px; }
.layout-ai-form .ai-form-field {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}
.layout-ai-form .ai-form-field > label {
    flex: 0 0 56px;
    line-height: 36px;
    font-size: 13px;
    color: #646a73;
}
.layout-ai-form .ai-form-field input,
.layout-ai-form .ai-form-field textarea {
    flex: 1 1 auto;
    width: 100%;
    box-sizing: border-box;
    padding: 8px 12px;
    border: 1px solid #dcdfe6;
    border-radius: 8px;
    font-size: 13px;
    line-height: 20px;
    font-family: inherit;
    outline: none;
    background: #fff;
    transition: border-color .2s;
}
.layout-ai-form .ai-form-field textarea {
    resize: vertical;
    min-height: 72px;
}
.layout-ai-form .ai-form-field input:focus,
.layout-ai-form .ai-form-field textarea:focus {
	border-color: #3370ff;
}
.layout-ai-form .ai-form-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}
.layout-ai-form .ai-form-submit {
	display: block;
    min-width: 96px;
    height: 36px;
	line-height: 36px;
    padding: 0 18px;
    border: none;
    border-radius: 8px;
    background: #3370ff;
    color: #fff;
    font-size: 14px;
	text-align: center;
}
.layout-ai-form .ai-form-submit:hover {
	background: #2b5fd9;
}
.layout-ai-form .ai-form-submit.disabled {
	opacity: .6;
	cursor: not-allowed;
}
.layout-ai-form .ai-form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 16px 24px;
    text-align: center;
}
.layout-ai-form .ai-form-success .title {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin-bottom: 6px;
}
.layout-ai-form .ai-form-success .desc {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
}

.layout-ai-footer {
	padding: 15px;
	height: 103px;
	border-top: 1px solid #e9eef5;
}
.layout-ai-footer .box {
	display: flex;
	padding: 0 8px 0 15px;
	height: 100%;
	background-color: #f5f7fa;
	border: 1px solid transparent;
	border-radius: 15px;
    align-items: center;
	transition: background .2s, border-color .2s, box-shadow .2s;
}
.layout-ai-footer .input {
	display: flex;
	height: 100%;
	flex: 1;
}
.layout-ai-footer .input input {
	display: block;
	width: 100%;
	height: 100%;
}
.layout-ai-footer .box:focus-within {
	background-color: #fff;
	border-color: #117ee7;
	box-shadow: 0 0 0 4px rgba(17, 126, 231, .16);
}
.layout-ai-footer .btn {
	display: flex;
	width: 56px;
	height: 56px;
	background-color: #117ee7;
	border-radius: 8px;
	box-shadow: 0 8px 16px -8px rgba(17, 126, 231, .95);
	color: #fff;
	transition: transform .18s, box-shadow .18s, background .2s;
    justify-content: center;
    align-items: center;
	cursor: pointer;
}
.layout-ai-footer .btn.loading,
.layout-ai-footer .btn.disabled {
	background-color: #d9e0ea;
	box-shadow: none;
	cursor: not-allowed;
}
