.rpanel {
  background: var(--col-bg); border-radius: var(--r);
  display: flex; flex-direction: column; overflow: hidden;
}
.rp-hdr {
  padding: 14px 16px; border-bottom: 1px solid var(--border); flex-shrink: 0;
  display: flex; align-items: center; justify-content: space-between;
}
.rp-title { font-size: 15px; font-weight: 600; color: var(--text); }
.rp-filter {
  font-size: 12px; background: transparent; border: 1px solid var(--border2);
  border-radius: 6px; color: var(--text2); padding: 4px 8px; padding-right: 22px;
  font-family: var(--sans); cursor: pointer; appearance: none; outline: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M2 4l3 3 3-3' stroke='%23525878' stroke-width='1.2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 7px center;
}

.rp-body { flex: 1; overflow-y: auto; }
.rp-body::-webkit-scrollbar { width: 3px; }
.rp-body::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 2px; }

.hi {
  padding: 10px 16px; cursor: pointer;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid var(--border);
}
.hi:hover { background: var(--card-bg); }
.hi.active { background: var(--card-bg2); }
.hi-icon {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.hi-ok   { background: var(--green-bg); }
.hi-ok   svg { width: 11px; height: 11px; color: var(--green); }
.hi-err  { background: var(--red-bg); }
.hi-err  svg { width: 11px; height: 11px; color: var(--red); }
.hi-warn { background: var(--yel-bg); }
.hi-warn svg { width: 11px; height: 11px; color: var(--yellow); }
.hi-content { flex: 1; min-width: 0; }
.hi-q {
  font-size: 12px; font-weight: 500; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 2px;
}
.hi-m { font-size: 10px; color: var(--text3); }
.hi-acts { display: flex; gap: 2px; flex-shrink: 0; }
.hi-btn {
  width: 26px; height: 26px; border: none; background: transparent;
  color: var(--text3); cursor: pointer; border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
}
.hi-btn:hover { background: var(--border); color: var(--text2); }
.hi-btn svg { width: 13px; height: 13px; }

.rp-more {
  padding: 10px 16px; width: 100%; border: none; background: none;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  font-size: 12px; color: var(--accent2); cursor: pointer; font-family: var(--sans);
  border-bottom: 1px solid var(--border);
}
.rp-more:hover { background: var(--card-bg); }
.rp-more svg { width: 12px; height: 12px; }

.rp-footer { padding: 12px 16px; border-top: 1px solid var(--border); flex-shrink: 0; }
.del-btn {
  background: none; border: none; color: var(--red); cursor: pointer;
  font-family: var(--sans); font-size: 12px; display: flex; align-items: center; gap: 7px;
}
.del-btn:hover { opacity: .8; }
.del-btn svg { width: 14px; height: 14px; }