/*
 * The two user menus (issue #716): the house status and live strip under the name in the sidebar,
 * its group headings and current entry, and the menu under the avatar in the header.
 */

/* ── sidebar: house status ─────────────────────────────────────────────── */

.user-panel > .info > a.house-status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 4px;
	padding: 3px 10px 3px 8px;
	border-radius: 99px;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	font-size: 11px;
	line-height: 1.4;
}
.user-panel > .info > a.house-status:hover {
	background: rgba(255, 255, 255, 0.24);
}
.house-status-dot {
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #aab2c5;
}
.house-status-live .house-status-dot {
	background: #2ecc71;
}
.house-status-late .house-status-dot {
	background: #f1b42f;
}
.house-status-offline .house-status-dot {
	background: #ff6b5e;
}

/* ── sidebar: live strip ───────────────────────────────────────────────── */

.live-strip {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 6px;
	margin: 14px -10px 0;
}
.live-tile {
	display: flex;
	flex-direction: column;
	padding: 5px 2px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.13);
	color: #fff;
	line-height: 1.3;
	min-width: 0;
}
.live-tile b {
	font-size: 13px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.live-tile span {
	font-size: 10px;
	opacity: 0.85;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* ── sidebar: groups and the page on screen ────────────────────────────── */

.sidebar-menu li.menu_group {
	padding: 14px 23px 4px;
	color: #7a8094;
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.sidebar-menu li.menu_group:first-child {
	padding-top: 0;
}
.sidebar-menu li a.current {
	background: #f1f4fd;
	border-left: 3px solid #0442ba;
}
.sidebar-menu li a.current h6 {
	color: #0442ba;
}
.nav_small .sidebar-menu li.menu_group {
	display: none;
}

/* ── header: the menu under the avatar ─────────────────────────────────── */

.right_bar_top .dropdown-menu.user-menu {
	min-width: 290px;
}
.user-menu .user-menu-house {
	display: block;
	color: #fff;
	font-size: 12px;
	opacity: 0.85;
}
.user-menu li.user-menu-label {
	padding: 8px 16px 2px;
	color: #7a8094;
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.user-menu li.divider {
	height: 1px;
	margin: 6px 0;
	background: #eceef4;
}
.right_bar_top .user-menu li a {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
}
.user-menu .user-menu-icon {
	flex: none;
	width: 20px;
	text-align: center;
}
.user-menu .user-menu-grow {
	flex: 1;
	min-width: 0;
}
.user-menu .user-menu-grow small {
	display: block;
	color: #8a90a2;
	font-size: 11px;
	line-height: 1.4;
}
.user-menu li.user-menu-row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 16px;
	color: #6f6f6f;
	font-size: 14px;
}
.user-menu .user-menu-seg {
	display: inline-flex;
	overflow: hidden;
	border: 1px solid #e1e4ee;
	border-radius: 7px;
}
.right_bar_top .user-menu .user-menu-seg a {
	display: inline-block;
	padding: 3px 10px;
	border-right: 1px solid #e1e4ee;
	color: #4a5064;
	font-size: 12px;
}
.right_bar_top .user-menu .user-menu-seg a:last-child {
	border-right: 0;
}
.right_bar_top .user-menu .user-menu-seg a.on {
	background: #0442ba;
	color: #fff;
	font-weight: 600;
}
.user-menu .user-menu-dot {
	display: inline-block;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #aab2c5;
}
.user-menu-system-current .user-menu-dot {
	background: #22a35a;
}
.user-menu-system-behind .user-menu-dot {
	background: #e2a01a;
}
.right_bar_top .user-menu a.user-menu-system-behind {
	background: #fff8e8;
}
.user-menu .user-menu-badge {
	flex: none;
	padding: 1px 7px;
	border-radius: 99px;
	background: #0442ba;
	color: #fff;
	font-size: 10px;
	font-weight: 600;
}
.right_bar_top .user-menu a.user-menu-logout {
	color: #d64541;
	font-weight: 500;
}
