/* Agent profile + the merchant/post lists opened from it. Header and filters stay put. */
.vt-alert.vas-pop .vt-alert__html { padding-top: 0; }
.vas-stick {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #efe8fb;
  margin: 0 -22px 12px;
  padding: 14px 22px 10px;
  border-bottom: 1px solid #eef2f7;
}
.vas-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.vas-face {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  object-fit: cover;
  flex: none;
  background: #eef2ff;
  color: #4338ca;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
}
.vas-who-name { font-size: 1.2rem; font-weight: 800; color: #0f172a; line-height: 1.3; word-break: break-word; }
.vas-mhead { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.vas-mlogo {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: cover;
  flex: none;
  border: 1px solid #e2e8f0;
  background: #eef2ff;
  color: #4338ca;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
}
.vas-mtext { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.vas-mname { font-size: 1.15rem; font-weight: 800; color: #0f172a; line-height: 1.3; word-break: break-word; }
.vas-agent {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 4px 6px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  font: inherit;
  color: #334155;
  cursor: pointer;
  text-align: left;
  transition: background .16s ease;
}
.vas-agent:hover { background: #f4f0fb; }
.vas-agent-go { margin-left: auto; color: #64748b; flex: none; transition: transform .16s ease; }
.vas-agent:hover .vas-agent-go { transform: translateX(4px); }
.vas-agent:focus-visible { outline: 3px solid rgba(99, 102, 241, 0.35); outline-offset: 2px; border-radius: 999px; }
.vas-mini {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  background: #efeaf8;
  color: #5b4b8a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.75rem;
}
.vas-agent-name { font-weight: 750; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vas-tabs, .vas-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.vas-tabs button, .vas-filters button {
  border: 1px solid #c4b5fd;
  background: #fff;
  color: #3b2f63;
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 800;
  font-size: 0.8rem;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
}
.vas-tabs button:active, .vas-filters button:active { transform: scale(0.94); }
.vas-tabs button.is-on, .vas-filters button.is-on { background: #5b4b8a; color: #fff; border-color: #5b4b8a; animation: vtCapPop .22s ease; }
.vas-search {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 40px;
  margin-top: 10px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 8px 12px;
  font: inherit;
  background: #fff;
  color: #0f172a;
}
.vas-body { min-width: 0; }
.vas-empty { margin: 8px 0; color: #94a3b8; font-size: 0.86rem; }
.vas-mrow, .vas-prow {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 8px;
  padding: 12px;
  border: 1px solid #e6e0f2;
  border-radius: 16px;
  background: #e3d8f4;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
@keyframes vtCapPop { 0% { transform: scale(0.92); } 60% { transform: scale(1.06); } 100% { transform: scale(1); } }
.vas-mrow:focus-visible, .vas-prow:focus-visible { outline: 3px solid rgba(99, 102, 241, 0.35); outline-offset: 2px; }
.vas-mlogo--sm { width: 40px; height: 40px; border-radius: 12px; font-size: 1rem; }
.vas-mrow .nm, .vas-prow .ttl { flex: 1; min-width: 0; font-weight: 800; color: #1e1633; word-break: break-word; }
.vas-go { flex: none; color: #4c3d8f; font-size: 1.15rem; }
.vas-prow { flex-wrap: wrap; }
.vas-prow .ttl { flex: 1 1 auto; }
.vas-prow .vas-pill-row { flex: 1 0 100%; display: flex; }
.vas-prow .vas-pill { width: fit-content; max-width: 100%; }
.vas-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}
.vas-pill.is-open { background: #d1fae5; color: #065f46; border: 1px solid #34d399; }
.vas-pill.is-closed { background: #e2e8f0; color: #1e293b; border: 1px solid #94a3b8; }
.vas-pill.is-ended { background: #ffedd5; color: #9a3412; border: 1px solid #fdba74; }
@media (max-width: 767.98px) {
  .vas-stick { margin-left: -14px; margin-right: -14px; padding-left: 14px; padding-right: 14px; }
  .vas-tabs button, .vas-filters button { flex: 1; text-align: center; }
}
