.findchat { color: var(--fg); font-weight: 500; width: 100%; }
.findchat:hover { background: var(--hover); }
.findchat .glass { width: 22px; height: 22px; display: grid; place-items: center; color: var(--muted); flex: none; }
.findchat kbd { margin-left: auto; font: inherit; font-size: 11px; color: var(--subtle); visibility: hidden; }
.findchat:hover kbd { visibility: visible; }

.side-more { flex: none; height: 1px; }

#csearch { position: fixed; inset: 0; z-index: 40; background: var(--scrim); display: flex; justify-content: center; align-items: flex-start; padding: 12vh 3vw 6vh; }
#csearch[hidden] { display: none; }
.cs-card { width: min(680px, 100%); max-height: 100%; display: flex; flex-direction: column; background: var(--bg); border-radius: 14px; box-shadow: 0 12px 48px var(--pop-shadow); overflow: hidden; }
.cs-head { display: flex; align-items: center; gap: 8px; flex: none; padding: 8px 8px 8px 16px; border-bottom: 1px solid var(--line); color: var(--muted); }
.cs-head .glass { display: grid; place-items: center; flex: none; }
.cs-field { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
#cs-chips { display: contents; }
#cs-q { flex: 1; min-width: 12em; border: 0; outline: 0; background: none; font: inherit; font-size: 15px; color: var(--heading); padding: 8px 0; }
#cs-q::placeholder { color: var(--subtle); }
.cs-list { flex: 1; overflow-y: auto; padding: 8px; display: flex; flex-direction: column; gap: 1px; min-height: 120px; }
.cs-cap { font-size: 11px; color: var(--subtle); padding: 12px 10px 4px; }
.cs-note { color: var(--muted); font-size: 13px; padding: 18px 12px; line-height: 1.7; }
.cs-row { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: none; text-align: left; font: inherit; padding: 9px 10px; border-radius: 8px; color: var(--fg); cursor: pointer; }
.cs-row.on { background: var(--hover); }
.cs-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cs-t { color: var(--heading); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-s { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-who { cursor: pointer; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--heading); background: var(--chip); border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px 2px 3px; }
.cs-who .ei { width: 20px; height: 20px; }
.cs-cand .ei { width: 26px; height: 26px; }
.cs-cand .ei-job, .cs-cand .ei-client { border-radius: 7px; }
.cs-who small { font-size: 10.5px; color: var(--subtle); }
.cs-who button { border: 0; background: none; color: var(--subtle); padding: 0 0 0 2px; font-size: 12px; line-height: 1; cursor: pointer; }
.cs-who button:hover { color: var(--err); }
.cs-cand { gap: 8px; }
.cs-cand small { font-size: 11px; color: var(--subtle); flex: none; }
.cs-cand b { font-weight: 600; color: var(--heading); font-size: 13.5px; flex: none; }
.cs-cand .cs-sub { flex: 1; min-width: 0; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-d { flex: none; font-size: 11px; color: var(--subtle); }
.cs-row mark { background: var(--accent-tint); color: var(--accent-dark); font-weight: 600; border-radius: 3px; padding: 0 1px; }

.m.cs-found { animation: cs-found 2.4s ease-out; border-radius: 10px; }
@keyframes cs-found { 0%, 35% { box-shadow: 0 0 0 6px var(--accent-tint); background: var(--accent-tint); } 100% { box-shadow: 0 0 0 6px transparent; background: transparent; } }

@media (max-width: 700px) {
  #csearch { padding: 0; }
  .cs-card { height: 100%; border-radius: 0; }
}
