.ow-contact-dock {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 10050;
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: flex-end;
}

.ow-contact-dock a,
.ow-contact-dock button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 112px;
	height: 44px;
	padding: 0 14px;
	border: 0;
	border-radius: 999px;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.ow-dock-line { background: #06c755; }
.ow-dock-wa { background: #25d366; color: #083018; }
.ow-dock-chat {
	background: #e10600;
	min-width: 196px;
	height: 52px;
	font-size: 15px;
	white-space: nowrap;
	gap: 6px;
	box-shadow: 0 6px 18px rgba(225, 6, 0, 0.45);
}

.ow-dock-icon {
	width: 18px;
	height: 18px;
	background: #fff;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4h16a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H9l-5 4v-4H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2z'/%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'%3E%3Cpath fill='black' d='M4 4h16a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H9l-5 4v-4H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ow-chat-panel {
	position: fixed;
	right: 16px;
	bottom: 168px;
	z-index: 10050;
	width: min(340px, calc(100vw - 32px));
	height: 420px;
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

.ow-chat-panel[hidden] { display: none !important; }

.ow-chat-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 14px;
	background: #05422d;
	color: #fff;
}

.ow-chat-head button {
	background: transparent;
	border: 0;
	color: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.ow-chat-log {
	flex: 1;
	overflow: auto;
	padding: 12px;
	background: #f6f7f6;
}

.ow-chat-hello {
	flex: none;
	margin: 0;
	padding: 10px 12px;
	background: #fff6f6;
	color: #222;
	border-bottom: 1px solid #f0d0d0;
	font-size: 13px;
	line-height: 1.5;
}

.ow-chat-bubble {
	max-width: 85%;
	margin: 8px 0;
	padding: 8px 10px;
	border-radius: 12px;
	font-size: 14px;
	line-height: 1.45;
	white-space: pre-wrap;
	word-break: break-word;
}

.ow-chat-bubble.visitor {
	margin-left: auto;
	background: #05422d;
	color: #fff;
}

.ow-chat-bubble.staff {
	margin-right: auto;
	background: #fff;
	color: #222;
	border: 1px solid #e4e4e4;
}

.ow-chat-form {
	display: flex;
	gap: 8px;
	padding: 10px;
	border-top: 1px solid #eee;
	background: #fff;
}

.ow-chat-form textarea {
	flex: 1;
	min-height: 44px;
	max-height: 90px;
	resize: none;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 8px;
	font: inherit;
}

.ow-chat-form button {
	border: 0;
	border-radius: 8px;
	background: #05422d;
	color: #fff;
	padding: 0 12px;
	font-weight: 700;
	cursor: pointer;
}

.ow-contact-page {
	margin: 0 0 24px;
	padding: 16px;
	background: #f6f7f6;
	border-radius: 12px;
}

.ow-contact-page a {
	font-weight: 700;
}
