.smc-launch {
	position: fixed;
	right: 16px;
	bottom: calc(88px + env(safe-area-inset-bottom, 0px));
	width: 52px;
	height: 52px;
	border-radius: 50%;
	border: none;
	background: #1a73e8;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	z-index: 99990;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	line-height: 1;
}
.smc-launch:hover {
	background: #1557b0;
}
.smc-panel {
	position: fixed;
	right: 16px;
	bottom: calc(148px + env(safe-area-inset-bottom, 0px));
	width: 360px;
	height: 480px;
	max-height: calc(100vh - 200px);
	background: #fff;
	border: 1px solid #d9d9d9;
	border-radius: 10px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
	z-index: 99991;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	font-family: inherit;
	color: #202124;
}
.smc-panel[hidden] {
	display: none;
}
.smc-head {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	background: #1a73e8;
	color: #fff;
	flex: 0 0 auto;
}
.smc-title {
	font-size: 15px;
	font-weight: 700;
	flex: 1 1 auto;
}
.smc-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #fbbc04;
	flex: 0 0 auto;
}
.smc-dot-ok {
	background: #34a853;
}
.smc-dot-warn {
	background: #fbbc04;
}
.smc-dot-down {
	background: #ea4335;
}
.smc-x {
	background: transparent;
	border: none;
	color: #fff;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	padding: 4px 6px;
	border-radius: 4px;
	flex: 0 0 auto;
}
.smc-x:hover {
	background: rgba(255, 255, 255, 0.2);
}
.smc-body {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
}
.smc-list {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 10px 12px;
	min-height: 0;
}
.smc-msg {
	margin-bottom: 10px;
}
.smc-meta {
	display: flex;
	gap: 8px;
	align-items: baseline;
	margin-bottom: 2px;
}
.smc-name {
	font-size: 12px;
	font-weight: 700;
	color: #1a73e8;
	overflow-wrap: anywhere;
}
.smc-time {
	font-size: 11px;
	color: #9aa0a6;
	flex: 0 0 auto;
}
.smc-text {
	font-size: 14px;
	line-height: 1.4;
	color: #202124;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}
.smc-empty {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	transform: translateY(-50%);
	text-align: center;
	color: #9aa0a6;
	font-size: 13px;
	pointer-events: none;
	padding: 0 16px;
}
.smc-empty[hidden] {
	display: none;
}
.smc-unread {
	position: absolute;
	bottom: 8px;
	left: 50%;
	transform: translateX(-50%);
	background: #1a73e8;
	color: #fff;
	border: none;
	border-radius: 999px;
	font-size: 12px;
	padding: 5px 12px;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
	z-index: 2;
}
.smc-unread[hidden] {
	display: none;
}
.smc-notice {
	position: absolute;
	left: 8px;
	right: 8px;
	bottom: 8px;
	background: rgba(32, 33, 36, 0.92);
	color: #fff;
	font-size: 12px;
	padding: 8px 10px;
	border-radius: 6px;
	display: flex;
	align-items: center;
	gap: 10px;
	justify-content: center;
	z-index: 3;
	text-align: center;
}
.smc-notice[hidden] {
	display: none;
}
.smc-retry {
	background: #fff;
	color: #1a73e8;
	border: none;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 700;
	padding: 4px 10px;
	cursor: pointer;
}
.smc-composer {
	flex: 0 0 auto;
	border-top: 1px solid #e8eaed;
	padding: 8px 10px;
	background: #f8f9fa;
}
.smc-guest {
	font-size: 13px;
	color: #5f6368;
	display: flex;
	gap: 6px;
	align-items: center;
	flex-wrap: wrap;
}
.smc-guest[hidden],
.smc-muted[hidden],
.smc-user[hidden] {
	display: none;
}
.smc-guest a {
	color: #1a73e8;
	font-weight: 700;
	text-decoration: none;
}
.smc-muted {
	color: #ea4335;
	font-size: 13px;
}
.smc-input {
	width: 100%;
	border: 1px solid #dadce0;
	border-radius: 6px;
	padding: 8px;
	font-size: 14px;
	font-family: inherit;
	resize: none;
	box-sizing: border-box;
	background: #fff;
	color: #202124;
	max-height: 90px;
}
.smc-input:focus {
	outline: none;
	border-color: #1a73e8;
}
.smc-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 6px;
	gap: 8px;
}
.smc-count {
	font-size: 11px;
	color: #9aa0a6;
	flex: 0 0 auto;
}
.smc-send {
	background: #1a73e8;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 700;
	padding: 7px 16px;
	cursor: pointer;
	min-height: 34px;
}
.smc-send:disabled {
	background: #9aa0a6;
	cursor: default;
}
.smc-send:not(:disabled):hover {
	background: #1557b0;
}
@media (max-width: 600px) {
	.smc-launch {
		width: 46px;
		height: 46px;
		font-size: 12px;
		right: 12px;
		bottom: calc(84px + env(safe-area-inset-bottom, 0px));
	}
	.smc-panel {
		right: 8px;
		left: 8px;
		width: auto;
		height: 60vh;
		max-height: 60vh;
		bottom: calc(140px + env(safe-area-inset-bottom, 0px));
	}
	.smc-x {
		min-width: 44px;
		min-height: 44px;
	}
	.smc-send {
		min-height: 44px;
	}
	.smc-launch {
		min-width: 44px;
		min-height: 44px;
	}
}
