.vdrc-archive > h1 { margin: 0; }
.vdrc-archive > .muted { margin: .45rem 0 1rem; }
.vdrc-archive [role=status]:empty { display: none; }
.vdrc-tools, .vdrc-year-head, .vdrc-file-actions {
  display: flex;
  gap: .85rem;
  align-items: center;
}
.vdrc-tools { flex-wrap: wrap; margin: 1.4rem 0; }
.vdrc-tools input {
  flex: 0 1 26rem;
  min-width: 0;
  padding: .6rem 0;
  font: inherit;
  color: inherit;
  border: 0;
  border-bottom: 1px solid #afa594;
  border-radius: 0;
  background: transparent;
}
.vdrc-tools select { font: inherit; color: inherit; padding: .5rem .7rem; border: 1px solid #d1cbc0; border-radius: 6px; background: white; }
.vdrc-year { container-type: inline-size; background: white; border: 1px solid #ddd7cd; border-radius: 12px; overflow: hidden; margin-bottom: 1.2rem; }
.vdrc-year-head, .vdrc-file { padding: .85rem 1rem; }
.vdrc-year-head { justify-content: space-between; background: #ebe7df; }
.vdrc-year-head h2 { margin: 0; font-size: 1.1rem; }
.vdrc-file {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-areas: "order date actions";
  align-items: center;
  gap: .85rem;
  border-top: 1px solid #e4ded5;
}
.vdrc-file-label { grid-area: order; min-width: 0; overflow-wrap: anywhere; }
.vdrc-file-date { grid-area: date; text-align: center; color: #625b51; font-variant-numeric: tabular-nums; }
.vdrc-file-actions { grid-area: actions; justify-self: end; flex-wrap: wrap; }
[data-nav=vdrc-archive][hidden] { display: none !important; }
@media (max-width: 600px) {
  .vdrc-tools input { flex: 1 1 10rem; }
}
@container (max-width: 37rem) {
  .vdrc-file {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "order date" "actions actions";
    gap: .5rem .85rem;
  }
  .vdrc-file-date { text-align: right; }
  .vdrc-file-actions { justify-self: start; }
}
