.hrwm-widget {
	position: fixed;
	bottom: 24px;
	z-index: 999999;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.hrwm-widget.hrwm-right { right: 24px; }
.hrwm-widget.hrwm-left { left: 24px; }

.hrwm-toggle {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--hrwm-primary, #25D366);
	border: none;
	box-shadow: 0 6px 20px rgba(0,0,0,0.25);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: transform .2s ease;
}
.hrwm-toggle:hover { transform: scale(1.06); }

.hrwm-panel {
	position: absolute;
	bottom: 76px;
	width: 320px;
	max-width: calc(100vw - 32px);
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 12px 40px rgba(0,0,0,0.25);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.hrwm-widget.hrwm-right .hrwm-panel { right: 0; }
.hrwm-widget.hrwm-left .hrwm-panel { left: 0; }
.hrwm-hidden { display: none !important; }

.hrwm-header {
	background: var(--hrwm-accent, #075E54);
	color: #fff;
	padding: 16px 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.hrwm-header-title { font-weight: 700; font-size: 15px; }
.hrwm-close {
	background: none;
	border: none;
	color: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.hrwm-step { padding: 18px; }
.hrwm-title { font-weight: 700; font-size: 15px; color: #222; margin-bottom: 4px; }
.hrwm-subtitle { font-size: 13px; color: #777; margin-bottom: 14px; }

.hrwm-list { display: flex; flex-direction: column; gap: 10px; }

.hrwm-option {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 12px 14px;
	border: 1px solid #eee;
	border-radius: 10px;
	background: #fafafa;
	cursor: pointer;
	transition: background .15s ease, border-color .15s ease;
	text-align: left;
}
.hrwm-option:hover {
	background: #f0fdf6;
	border-color: var(--hrwm-primary, #25D366);
}
.hrwm-option-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hrwm-avatar {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
	background: #e0e0e0;
}
.hrwm-avatar-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-weight: 700;
	font-size: 15px;
	background: var(--hrwm-primary, #25D366);
	text-transform: uppercase;
}
.hrwm-option-name { font-weight: 600; font-size: 14px; color: #222; }
.hrwm-option-role { font-size: 12px; color: #888; margin-top: 2px; }
.hrwm-option-arrow { color: var(--hrwm-primary, #25D366); font-size: 18px; }

.hrwm-back {
	background: none;
	border: none;
	color: var(--hrwm-primary, #25D366);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	margin-bottom: 10px;
	padding: 0;
}

@media (max-width: 400px) {
	.hrwm-panel { width: calc(100vw - 32px); }
}

.hrwm-widget, .hrwm-widget *, .hrwm-widget *::before, .hrwm-widget *::after {
	box-sizing: border-box;
}

.hrwm-bubble {
	position: absolute;
	bottom: 10px;
	width: 210px;
	background: #fff;
	color: #222;
	font-size: 14px;
	line-height: 1.45;
	padding: 12px 26px 12px 16px;
	border-radius: 12px;
	box-shadow: 0 6px 20px rgba(0,0,0,0.18);
	cursor: pointer;
	animation: hrwm-bubble-in .25s ease;
}
.hrwm-widget.hrwm-right .hrwm-bubble { right: 76px; }
.hrwm-widget.hrwm-left .hrwm-bubble { left: 76px; }

@media (max-width: 360px) {
	.hrwm-bubble { width: 170px; font-size: 13px; }
}

.hrwm-bubble::after {
	content: '';
	position: absolute;
	bottom: 22px;
	width: 0;
	height: 0;
	border-top: 7px solid transparent;
	border-bottom: 7px solid transparent;
}
.hrwm-widget.hrwm-right .hrwm-bubble::after {
	right: -7px;
	border-left: 8px solid #fff;
}
.hrwm-widget.hrwm-left .hrwm-bubble::after {
	left: -7px;
	border-right: 8px solid #fff;
}

.hrwm-bubble-close {
	position: absolute;
	top: 4px;
	right: 6px;
	background: none;
	border: none;
	color: #999;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	padding: 4px;
}
.hrwm-bubble-close:hover { color: #444; }

@keyframes hrwm-bubble-in {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: translateY(0); }
}
