.pt-as { font-family: "Poppins", "Microsoft YaHei", sans-serif; }
.pt-as-fab {
	position: fixed;
	right: 18px;
	bottom: 88px;
	z-index: 2147483000;
	pointer-events: auto;
	border: 0;
	border-radius: 40px;
	padding: 10px 18px 10px 14px;
	background: #01007b;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 8px 22px rgba(1, 0, 123, 0.28);
}
.pt-as-fab-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-right: 8px;
	border-radius: 50%;
	background: #2ee59d;
	vertical-align: middle;
}
.pt-as-panel {
	position: fixed;
	right: 18px;
	bottom: 148px;
	z-index: 2147482999;
	width: min(380px, calc(100vw - 24px));
	height: min(520px, calc(100vh - 180px));
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
	display: none;
	flex-direction: column;
	overflow: hidden;
	pointer-events: none;
}
.pt-as-panel.is-open {
	display: flex !important;
	pointer-events: auto;
}
.pt-as-hd {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 14px;
	background: #01007b;
	color: #fff;
}
.pt-as-hd-actions {
	display: flex;
	align-items: center;
	gap: 2px;
}
.pt-as-min, .pt-as-x {
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	width: 32px;
	height: 32px;
	padding: 0;
}
.pt-as-min { font-size: 22px; font-weight: 700; }
.pt-as-bd {
	flex: 1;
	overflow-y: auto;
	padding: 12px;
	background: #f4f7fb;
}
.pt-as-msg {
	max-width: 88%;
	margin: 0 0 10px;
	padding: 8px 12px;
	border-radius: 12px;
	font-size: 14px;
	line-height: 1.55;
	white-space: pre-wrap;
	word-break: break-word;
}
.pt-as-msg.bot { background: #fff; color: #222; }
.pt-as-msg.bot.welcome { white-space: normal; max-width: 100%; }
.pt-as-msg.bot.welcome p { margin: 0 0 8px; }
.pt-as-msg.bot.welcome ul, .pt-as-msg.bot.welcome ol { margin: 6px 0 8px 18px; padding: 0; }
.pt-as-msg.bot.welcome li { margin: 0 0 4px; }
.pt-as-msg.bot a { color: #01007b; text-decoration: underline; word-break: break-word; }
.pt-as-msg.bot strong { font-weight: 700; }
.pt-as-cd { font-variant-numeric: tabular-nums; font-weight: 700; color: #01007b; }
.pt-as-msg.user { background: #00a4ff; color: #fff; margin-left: auto; }
.pt-as-qrs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 0 10px 10px;
	background: #f4f7fb;
	border-top: 0;
}
.pt-as-qr {
	border: 1px solid #c5d0dc;
	background: #fff;
	border-radius: 16px;
	padding: 5px 10px;
	font-size: 12px;
	line-height: 1.4;
	cursor: pointer;
	color: #01007b;
}
.pt-as-qr:hover { border-color: #01007b; background: #eef3ff; }
.pt-as-ft {
	display: flex;
	gap: 6px;
	padding: 10px;
	border-top: 1px solid #e6e6e6;
	background: #fff;
}
.pt-as-in {
	flex: 1;
	min-width: 0;
	border: 1px solid #cfd8e3;
	border-radius: 8px;
	padding: 8px 10px;
	font-size: 14px;
}
.pt-as-send, .pt-as-human {
	border: 0;
	border-radius: 8px;
	padding: 8px 10px;
	font-size: 13px;
	cursor: pointer;
	white-space: nowrap;
}
.pt-as-send { background: #01007b; color: #fff; }
.pt-as-human { background: #eef3f8; color: #01007b; }
.pt-as-hint { margin: 0; padding: 0 10px 8px; color: #c0392b; font-size: 12px; }
