/* Status button at the foot of the left menu, and its picker. */
#taskmenu a.lubb-presence { position: relative; }
#taskmenu a.lubb-presence:before { content: none !important; }
#taskmenu a.lubb-presence .lp-dot {
	display: block; width: 14px; height: 14px; margin: .35rem auto .2rem;
	border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(255,255,255,.25);
}
#taskmenu a.lubb-presence[data-status="dnd"] .lp-dot { background-image: linear-gradient(#fff,#fff); background-size: 8px 2px; background-repeat: no-repeat; background-position: center; }
#taskmenu a.lubb-presence .inner { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-pop {
	position: fixed; z-index: 100000; width: 250px; padding: 8px 0;
	background: #fff; color: #1f2937; border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0,0,0,.22); font-size: 13px;
}
.lp-pop[hidden] { display: none; }
.lp-head { padding: 4px 14px 8px; font-weight: 600; }
.lp-item {
	display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 14px;
	border: 0; background: none; text-align: left; cursor: pointer; color: inherit; font: inherit;
}
.lp-item:hover, .lp-item:focus { background: #f3f4f6; outline: none; }
.lp-item.lp-on { font-weight: 600; }
.lp-item .lp-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.lp-hint { padding: 0 14px 6px 34px; color: #6b7280; font-size: 11px; }
.lp-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 14px; margin: 0; border-top: 1px solid #eee; }
.lp-row.lp-col { flex-direction: column; align-items: stretch; }
.lp-sel, .lp-note { font: inherit; padding: 4px 6px; border: 1px solid #d1d5db; border-radius: 6px; }
.lp-reset { display: block; margin: 6px 14px 0; padding: 0; border: 0; background: none; color: #2563eb; cursor: pointer; font: inherit; }
html.dark-mode .lp-pop { background: #1f2937; color: #e5e7eb; }
html.dark-mode .lp-item:hover { background: #374151; }
/* office_phone's pill (phone icon, extension, registration dot) docked as the
   status button's second line since 2026-11-10 - one button, not two. */
#taskmenu a.lubb-presence .op-headbtn {
	height: 16px; margin: 3px auto 0; padding: 0 4px; max-width: 56px;
	border: 0; background: transparent; color: inherit; font-size: 10px;
}
#taskmenu a.lubb-presence .op-headbtn:hover { background: rgba(0,0,0,.08); }
html:not(.dark-mode) #taskmenu a.lubb-presence .op-headbtn { background: transparent; border: 0; color: inherit; }
/* Owner 2026-11-11: "remove the 101 tag below the available on the left nav" -
   the docked phone pill (extension + dot) is hidden; Phone stays on the rail
   and missed calls stay on its icon. */
#taskmenu a.lubb-presence .op-headbtn { display: none !important; }

/* Phone drawer (owner, 2026-11-29: "Left menu not looking good. Fix available
   also"). The status button went into .special-buttons beside Logout, so that
   one flex row (2 shares) held Settings + Available + Logout: each got 2/3 of a
   row, the icon tiles (height = row - .375rem) collapsed to bare glyphs, and the
   rail's auto-margined dot sat mid-row with the label pushed right. On the phone
   the special buttons are plain rows of the list like every other app. */
html.layout-phone #layout-menu #taskmenu > .special-buttons { display: contents; }
html.layout-phone #layout-menu #taskmenu > .special-buttons > a { flex: 1 1 0; min-height: 0; }
/* Available: same tile as its neighbours, the status colour as a dot inside it. */
html.layout-phone #layout-menu #taskmenu a.lubb-presence .lp-dot {
	position: relative; flex: 0 0 auto; display: block;
	width: auto; height: min(2.286rem, calc(100% - .375rem)); aspect-ratio: 1;
	margin: 0 .75rem 0 0; border-radius: 8px; box-shadow: none;
	background: #e9f6f2 !important; background-image: none !important;
}
html.layout-phone #layout-menu #taskmenu a.lubb-presence .lp-dot:after {
	content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px;
	margin: -6px 0 0 -6px; border-radius: 50%; background: var(--lp-c, #22c55e);
}
html.layout-phone #layout-menu #taskmenu a.lubb-presence[data-status="dnd"] .lp-dot:after {
	background-image: linear-gradient(#fff,#fff); background-size: 7px 2px;
	background-repeat: no-repeat; background-position: center;
}
html.dark-mode.layout-phone #layout-menu #taskmenu a.lubb-presence .lp-dot { background: #27483d !important; }
