.rd-reg-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
}
.rd-reg-grid > li { display: flex; min-width: 0; }
.rd-reg-grid a {
  width: 100%;
  min-height: 88px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 5px;
  padding: 12px 14px;
  border: 1px solid var(--rl-line);
  border-radius: 13px;
  text-decoration: none;
  color: var(--rl-ink);
  background: var(--rl-panel);
  line-height: 1.3;
}
.rd-reg-grid a:hover, .rd-reg-grid a[aria-current="true"] {
  border-color: var(--rl-red);
  background: var(--rl-red-soft);
}
.rd-reg-grid strong { font-family: Manrope, Inter, system-ui, sans-serif; font-size: 1rem; overflow-wrap: anywhere; }
.rd-reg-grid span { color: var(--rl-muted); font-size: .82rem; font-variant-numeric: tabular-nums; }
.rd-list-filter:has([name="rd-type"]) .rd-list-fields {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
}
.rd-listing[data-current-kind="exceptions"] .rd-list-fields { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.rd-listing[data-current-kind="exceptions"] [data-view="main"],
.rd-listing[data-current-kind="main"] [data-view="exceptions"] { display: none; }
.rd-list-card .rd-list-condition { grid-column: 1 / -1; font-size: .93rem; overflow-wrap: anywhere; }
.rd-list-scope { margin: 10px 0 0 !important; color: var(--rl-muted); font-size: .88rem; }
.rd-list-scope a { margin-left: .5em; }
.rd-listing .rd-list-fields label:focus-within { color: var(--rl-ink); }
@media (max-width: 900px) {
  .rd-reg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rd-list-filter:has([name="rd-type"]) .rd-list-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rd-list-filter:has([name="rd-type"]) .rd-list-fields label:first-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .rd-reg-grid { gap: 8px; }
  .rd-reg-grid a { min-height: 92px; padding: 10px; }
  .rd-reg-grid strong { font-size: .875rem; }
  .rd-list-filter:has([name="rd-type"]) .rd-list-fields,
  .rd-listing[data-current-kind="exceptions"] .rd-list-fields { grid-template-columns: 1fr; }
}

#rd-tr-search { scroll-margin-top: 7rem; }
