/* AI owner research side panel (js/owner-research.js), used on property.html, probate.html and growth-map.html. Needs search.css (palette, .btn). */
.rs-open { margin-top: 10px; }
/* z-index 1200: above the Leaflet map panes (400-700), its zoom buttons (1000) and the growth map side boxes (1001), so the panel is never drawn behind the map. */
.rs-panel {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 1200; width: min(460px, 100vw);
  background: var(--panel-solid, var(--bg)); border-left: 1px solid var(--line); box-shadow: -12px 0 32px rgba(0,0,0,.35);
  display: flex; flex-direction: column;
}
.rs-panel[hidden] { display: none; }
.rs-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.rs-head h2 { margin: 0; font-size: 18px; }
.rs-close { background: none; border: 0; color: var(--text); font-size: 26px; line-height: 1; cursor: pointer; padding: 0 4px; }
.rs-body { overflow-y: auto; padding: 16px 18px 28px; font-size: 14px; line-height: 1.45; }
.rs-body p { margin: 0 0 8px; }
.rs-body .bad { color: var(--red); }
.rs-body .good { color: var(--green-lt); }
.rs-owner { font-weight: 700; font-size: 16px; color: var(--gold-lt); }
.rs-approve, .rs-summary { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 10px 0 14px; background: var(--panel); }
.rs-summary h3, .rs-h { margin: 0 0 6px; font-size: 15px; color: var(--gold-lt); }
.rs-h { margin-top: 16px; }
.rs-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.rs-list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.rs-finding { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--panel); }
.rs-finding.rejected { opacity: .55; }
.rs-finding.confirmed { border-color: var(--green-lt); }
.rs-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.rs-chip { font-size: 11.5px; border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; color: var(--muted); }
.rs-chip.conf-high { color: var(--green-lt); border-color: var(--green-lt); }
.rs-chip.conf-medium { color: var(--amber); border-color: var(--amber); }
.rs-chip.conf-low { color: var(--red); border-color: var(--red); }
.rs-chip.status-confirmed { color: var(--green-lt); border-color: var(--green-lt); }
.rs-chip.status-review { color: var(--amber); border-color: var(--amber); }
.rs-title { font-weight: 600; margin-bottom: 4px; word-break: break-word; }
.rs-title a { color: var(--gold); text-decoration: none; }
.rs-title a:hover { text-decoration: underline; }
.rs-msg { font-weight: 600; }
.rs-panel.wide { width: min(900px, 100vw); }
.rs-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rs-col { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.rs-col h4 { margin: 0 0 6px; font-size: 15px; }
@media (max-width: 700px) { .rs-cols { grid-template-columns: 1fr; } }
.rs-case { margin: 4px 0 10px; padding: 8px 10px; border: 1px solid var(--line-soft); border-radius: 8px; }
.rs-case p { margin: 2px 0; }
