/* The ☰ menu at the right end of every tool header */
.tool-menu { position: relative; flex: none; }
.tool-menu-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; padding: 0; transition: background .2s, border-color .2s; }
.tool-menu-btn:hover, .tool-menu-btn.on { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .3); }
.tool-menu-btn svg { width: 20px; height: 20px; }
.tool-menu-list { position: absolute; right: 0; top: calc(100% + 10px); z-index: 300; min-width: 230px; padding: 6px; background: #fff; border: 1px solid #e5e9f0; border-radius: 14px; box-shadow: 0 18px 50px rgba(11, 16, 32, .22); font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
.tool-menu-list[hidden] { display: none; }
.tool-menu-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: #0b1020; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.tool-menu-item[hidden] { display: none; }
.tool-menu-item:hover, .tool-menu-item:focus-visible { background: #f1f5fb; outline: none; }
.tool-menu-ico { width: 20px; text-align: center; color: #5b6475; font-size: 15px; }
.tool-menu-item.is-danger, .tool-menu-item.is-danger .tool-menu-ico { color: #b91c1c; }
.tool-menu-item.is-danger:hover { background: #fef2f2; }
.tool-menu-sep { height: 1px; background: #eef1f6; margin: 6px 4px; }
.tool-menu-sep[hidden] { display: none; }
@media (max-width: 640px) { .tool-menu-btn { width: 36px; height: 36px; } }
/* Delete is deliberately small and quiet; Sign out is the easy last item */
.tool-menu-item.is-quiet { font-size: 12.5px; font-weight: 500; padding-top: 7px; padding-bottom: 7px; color: #b91c1c; opacity: .8; }
.tool-menu-item.is-quiet .tool-menu-ico { font-size: 13px; }
.tool-menu-item.is-signout { font-weight: 700; }
.tool-menu-ico svg { display: inline-block; vertical-align: -2px; }
.tool-menu-ico { display: inline-grid; place-items: center; width: 22px; height: 22px; color: #64748b; }
.tool-menu-item:hover .tool-menu-ico { color: var(--navy, #2563eb); }
.tool-menu-item.is-danger .tool-menu-ico, .tool-menu-item.is-danger:hover .tool-menu-ico { color: #b91c1c; }
.tool-menu-item.is-quiet .tool-menu-ico svg { width: 16px; height: 16px; }
.tool-menu-item.is-signout .tool-menu-ico { color: #0b1020; }
/* GetHired Pro: the Upgrade item and the PRO badge beside the account name */
.tool-menu-item.is-pro { color: #6d28d9; background: linear-gradient(90deg, #f5f3ff, #fff); }
.tool-menu-item.is-pro .tool-menu-ico { color: #7c3aed; }
.tool-menu-item.is-pro:hover { background: #ede9fe; }
.gh-pro-chip { display: inline-flex; align-items: center; margin-left: 6px; padding: 2px 8px; border-radius: 999px; font: 800 10.5px/1.4 'Inter', system-ui, sans-serif; letter-spacing: .08em; color: #fff; background: linear-gradient(135deg, #8b5cf6, #6d28d9); box-shadow: 0 2px 8px rgba(109, 40, 217, .35); }
@media (max-width: 640px) { .gh-pro-chip { margin-left: 4px; padding: 1px 6px; font-size: 9.5px; } }
.gh-pro-chip.is-referral { background: linear-gradient(135deg, #10b981, #047857); box-shadow: 0 2px 8px rgba(4, 120, 87, .35); }
.gh-pro-chip.is-cv { background: linear-gradient(135deg, #3b82f6, #1d4ed8); box-shadow: 0 2px 8px rgba(29, 78, 216, .35); }
/* Every item the same size and weight; Delete keeps only its red colour */
.tool-menu-item, .tool-menu-item.is-signout, .tool-menu-item.is-quiet { font-size: 14px; font-weight: 600; padding-top: 10px; padding-bottom: 10px; opacity: 1; }
.tool-menu-item .tool-menu-ico svg, .tool-menu-item.is-quiet .tool-menu-ico svg { width: 18px; height: 18px; }
