/* Companies (#40): HQ's switcher button and menu, Manage companies, the confirmation alerts. */
.cp-switch { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); cursor: pointer; }
.cp-switch:hover, .cp-switch[aria-expanded="true"] { background: rgba(255,255,255,.2); }
.cp-switch:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cp-busy { opacity: .5; pointer-events: none; }
.cp-menu { position: fixed; z-index: 1500; width: min(292px, calc(100vw - 16px)); max-height: min(70vh, 480px); overflow: auto; display: grid; gap: 2px; padding: 8px; border-radius: 16px; background: #1d2740; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 12px 40px rgba(0,0,0,.5); }
.cp-menutitle { margin: 4px 8px 6px; font-size: 13px; font-weight: 600; }
.cp-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 8px; border-radius: 10px; text-align: left; color: inherit; background: none; cursor: pointer; }
.cp-item:hover, .cp-item:focus-visible { background: rgba(255,255,255,.1); outline: none; }
.cp-item > .sf, .cp-item > svg { flex: none; width: 22px; color: var(--accent); }
.cp-item span { display: grid; min-width: 0; }
.cp-item small { font-size: 12px; }
.cp-item.on b { color: var(--accent); }
.cp-manage { margin-top: 4px; border-top: 1px solid rgba(255,255,255,.12); border-radius: 0 0 10px 10px; padding-top: 12px; }
.cp-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.bigbtn.cp-danger { background: var(--stamp, #e5483b); color: #fff; }
@media (min-width: 900px) { .cp-switch { width: 40px; height: 40px; } }
