
.recents-sidebar {
  position: fixed;
  top: 2rem;
  left: 1rem;
  width: 220px;
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
  background: var(--paper-2, #e8dec0);
  border: 1px solid var(--ink, #0e1424);
  padding: 0.75rem 1rem;
  z-index: 40;
  font-family: var(--f-body, 'Bricolage Grotesque', system-ui, sans-serif);
}
.recents-sidebar[hidden] { display: none; }
.rx-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--rule, rgba(14,20,36,.18));
  padding-bottom: 0.35rem;
}
.rx-title {
  font-family: var(--f-mono, 'Space Mono', monospace);
  font-weight: 700;
  font-size: 0.65rem;
  color: var(--muted, #79654a);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.rx-clear {
  background: transparent;
  border: none;
  color: var(--muted, #79654a);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  padding: 0 0.35rem;
}
.rx-clear:hover { color: var(--ink, #0e1424); }
.rx-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.rx-item a {
  display: block;
  text-decoration: none;
  padding: 0.45rem 0.55rem;
  transition: background 0.12s;
  border: 1px solid transparent;
}
.rx-item a:hover {
  background: var(--paper, #f2e9d4);
  border-color: var(--rule, rgba(14,20,36,.18));
}
.rx-item.active a {
  background: var(--paper, #f2e9d4);
  border-color: var(--ink, #0e1424);
}
.rx-item .rx-itm-title {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--carmine, #b8242a);
}
.rx-item .rx-itm-sub {
  font-size: 0.72rem;
  color: var(--muted, #79654a);
  margin-top: 0.1rem;
}
@media (max-width: 1250px) {
  .recents-sidebar {
    position: static;
    width: auto;
    max-width: 900px;
    margin: 0 auto 1.25rem;
  }
}
