/* Report share panel (js/report-share-panel.js) — self-contained, rsp- prefix. */
.rsp-overlay { position: fixed; inset: 0; background: rgba(16, 24, 40, .45); z-index: 10000;
  display: flex; align-items: center; justify-content: center; padding: 16px; }
.rsp { background: #fff; color: #101828; width: 100%; max-width: 560px; border-radius: 16px;
  box-shadow: 0 24px 60px rgba(16, 24, 40, .25); font-family: inherit; max-height: calc(100vh - 32px); overflow-y: auto; }
.rsp-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 24px 0; }
.rsp-head h2 { margin: 0; font-size: 18px; font-weight: 700; }
.rsp-x { background: none; border: 0; font-size: 26px; line-height: 1; color: #6B7280; cursor: pointer;
  width: 44px; height: 44px; border-radius: 10px; margin-right: -10px; }
.rsp-x:hover, .rsp-x:focus-visible { background: #F3F4F6; outline: none; }
.rsp-body { padding: 12px 24px 24px; }
.rsp-score { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 4px 0 6px; }
.rsp-score b { font-size: 34px; font-weight: 700; line-height: 1; }
.rsp-score span { color: #475467; font-size: 14px; }
.rsp-muted { color: #667085; font-size: 14px; margin: 6px 0 16px; }
.rsp-error { color: #B42318; font-size: 14px; margin: 6px 0; }
.rsp-label { display: block; font-size: 13px; font-weight: 600; color: #344054; margin-bottom: 6px; }
.rsp-linkrow { display: flex; gap: 8px; }
.rsp-input { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid #D0D5DD;
  border-radius: 10px; color: #101828; background: #F9FAFB; }
.rsp-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.rsp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px;
  font: inherit; font-size: 14px; font-weight: 600; border-radius: 10px; border: 1px solid #D0D5DD;
  background: #fff; color: #344054; cursor: pointer; text-decoration: none; white-space: nowrap; }
.rsp-btn:hover { background: #F9FAFB; }
.rsp-btn:focus-visible { outline: 2px solid #8B5CF6; outline-offset: 2px; }
.rsp-btn--primary { background: #8B5CF6; border-color: #8B5CF6; color: #fff; }
.rsp-btn--primary:hover { background: #7C3AED; }
.rsp-hint { color: #98A2B3; font-size: 12.5px; margin: 12px 0 0; }
@media (max-width: 480px) {
  .rsp-linkrow { flex-direction: column; }
  .rsp-actions .rsp-btn { flex: 1 1 100%; }
}
.rsp-progress { display: flex; gap: 12px; align-items: flex-start; padding: 6px 0 4px; }
.rsp-progress .rsp-muted { margin: 0; }
.rsp-spinner { width: 20px; height: 20px; border-radius: 999px; border: 2px solid #E5E7EB; border-top-color: #8B5CF6;
  animation: rsp-spin .8s linear infinite; flex: 0 0 auto; margin-top: 2px; }
@keyframes rsp-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .rsp-spinner { animation-duration: 2.4s; } }
.rsp-bulk { border: 1px solid #EAECF0; border-radius: 10px; max-height: 320px; overflow-y: auto; }
.rsp-bulk-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 12px; border-top: 1px solid #F2F4F7; font-size: 14px; }
.rsp-bulk-row:first-child { border-top: 0; }
.rsp-bulk-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #101828; }
.rsp-bulk-state { flex: 0 0 auto; color: #667085; display: inline-flex; align-items: center; gap: 6px; }
.rsp-bulk-state a { color: #6D28D9; font-weight: 600; text-decoration: none; }
.rsp-bulk-err { color: #B42318; }
.rsp-spinner--sm { width: 14px; height: 14px; margin-top: 0; }
