/* Revuei Reader Self-Reports v2.3 */
.rv-sr {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 20px 22px;
  background: #fafafa;
  color: #1c1917;
  max-width: 680px;
  margin: 24px 0;
  box-sizing: border-box;
}
.rv-sr * { box-sizing: border-box; }
.rv-sr-kicker {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #78716c;
  margin: 0 0 6px;
}
.rv-sr-title { font-size: 18px; font-weight: 700; margin: 0 0 6px; }
.rv-sr-sub { font-size: 13.5px; color: #57534e; margin: 0 0 16px; line-height: 1.5; }
.rv-sr-banner {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 14px;
}
.rv-sr-banner.warn { background: #fffbeb; border: 1px solid #f59e0b; color: #92400e; }
.rv-sr-banner.info { background: #eff6ff; border: 1px solid #93c5fd; color: #1e40af; }
.rv-sr-step {
  margin-bottom: 16px;
  padding-top: 12px;
  border-top: 1px solid #eceae6;
}
.rv-sr [hidden] { display: none !important; }
.rv-sr-label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 8px; }
.rv-sr-help { font-size: 12px; color: #78716c; margin: -4px 0 8px; line-height: 1.45; }
.rv-sr-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.rv-sr-pill {
  appearance: none;
  border: 1px solid #d6d3d1;
  background: #fff;
  color: #292524;
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.rv-sr-pill:hover:not(:disabled) { border-color: #78716c; }
.rv-sr-pill[aria-pressed="true"] {
  background: #1c1917;
  color: #fff;
  border-color: #1c1917;
}
.rv-sr-pill:disabled { opacity: 0.55; cursor: not-allowed; }
.rv-sr-textarea {
  width: 100%;
  min-height: 84px;
  border: 1px solid #d6d3d1;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13.5px;
  font-family: inherit;
  resize: vertical;
  background: #fff;
  color: #1c1917;
}
.rv-sr-textarea:focus { outline: 2px solid #1c1917; border-color: #1c1917; }
.rv-sr-textarea.is-locked,
.rv-sr-textarea[readonly] {
  background: #f5f5f4;
  color: #57534e;
  border-color: #d6d3d1;
}
.rv-sr-lock-badge {
  display: inline-block;
  margin-top: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: #57534e;
  background: #e7e5e4;
  padding: 3px 8px;
  border-radius: 6px;
}
.rv-sr-charcount { font-size: 11.5px; color: #78716c; text-align: right; margin-top: 4px; }
.rv-sr-tag-grid { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.rv-sr-tag-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #fff;
  border: 1px solid #e7e5e4;
  border-radius: 8px;
  padding: 7px 10px;
}
.rv-sr-tag-name { font-size: 13px; font-weight: 500; }
.rv-sr-pol-group { display: flex; gap: 5px; }
.rv-sr-pol-btn {
  border: 1px solid #d6d3d1;
  background: #fff;
  color: #44403c;
  border-radius: 6px;
  padding: 3px 9px;
  font-size: 12px;
  cursor: pointer;
}
.rv-sr-pol-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.rv-sr-pol-btn[data-pol="positive"][aria-pressed="true"] { background: #15803d; color: #fff; border-color: #15803d; }
.rv-sr-pol-btn[data-pol="mixed"][aria-pressed="true"] { background: #b45309; color: #fff; border-color: #b45309; }
.rv-sr-pol-btn[data-pol="negative"][aria-pressed="true"] { background: #b91c1c; color: #fff; border-color: #b91c1c; }
.rv-sr-consent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 12.5px;
  color: #44403c;
  line-height: 1.45;
  margin-bottom: 12px;
}
.rv-sr-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.rv-sr-btn {
  background: #1c1917;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 16px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}
.rv-sr-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.rv-sr-btn.secondary { background: #fff; color: #1c1917; border: 1px solid #d6d3d1; }
.rv-sr-notice {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  background: #f5f5f4;
  border: 1px solid #d6d3d1;
  color: #44403c;
  line-height: 1.5;
}
.rv-sr-status {
  margin-top: 12px;
  padding: 11px 13px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
}
.rv-sr-status.ok { background: #f0fdf4; border: 1px solid #86efac; color: #166534; }
.rv-sr-status.warn { background: #fffbeb; border: 1px solid #fcd34d; color: #92400e; }
.rv-sr-status.err { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }
.rv-sr-footnote {
  margin-top: 14px;
  font-size: 11.5px;
  color: #78716c;
  line-height: 1.45;
  border-top: 1px dashed #e5e5e5;
  padding-top: 10px;
}
.rv-sr-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#rv-mobile-main [data-rv-reader-report-slot] > .rv-sr { margin-inline: 20px; }
@media (max-width: 520px) {
  .rv-sr { padding: 16px; }
  .rv-sr-tag-row { flex-direction: column; align-items: flex-start; }
}
