@font-face {
  font-family: "Noto Sans";
  src: url("../fonts/NotoSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans";
  src: url("../fonts/NotoSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
.rbv-form, .rbv-results,
.rbv-form :is(legend, label, input, button) {
  font-family: "Noto Sans", sans-serif;
}
.rbv-form { font-size: 1.125rem; }
.rbv-tools { margin-block: 2em; }
.rbv-form .rbv-tools :is(label, input) { font-size: inherit; }
.rbv-form .rbv-tools input { max-inline-size: 100%; }
.rbv-ballot, .rbv-results { max-width: 64rem; margin-inline: auto; }
.rbv-book { display: flex; align-items: flex-start; gap: 1.25rem; }
.rbv-book p { margin-block: 0 .5rem; }
.rbv-title { font-weight: 700; }
.rbv-cover { width: 5.625rem; height: 8.4375rem; object-fit: contain; flex-shrink: 0; }
.rbv-cover-placeholder { display: grid; place-items: center; border: 1px solid currentColor; }
/* Match the specificity of DPL's checkbox rules on embedded forms. */
:is(form.rbv-form, .dpl-form form.rbv-form) .rbv-ballot .rbv-choice {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: start;
  gap: .75rem;
  max-inline-size: none;
  margin-block: 0;
  padding: 1.25rem 0;
  border-block-end: 1px solid currentColor;
}
:is(form.rbv-form, .dpl-form form.rbv-form) .rbv-ballot .rbv-choice > input[type="checkbox"] {
  grid-area: 1 / 1;
  align-self: center;
  margin: 0;
}
:is(form.rbv-form, .dpl-form form.rbv-form) .rbv-ballot .rbv-choice > label {
  grid-area: 1 / 2;
  align-self: center;
  inline-size: auto;
  max-inline-size: none;
  margin: 0;
  padding: 0;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
:is(form.rbv-form, .dpl-form form.rbv-form) .rbv-ballot .rbv-choice > :is(.description, .form-item__description, .rbv-book, :has(> .rbv-book)) {
  grid-column: 1 / -1;
  inline-size: auto;
  min-inline-size: 0;
  max-inline-size: none;
  margin: 0;
  padding: 0;
  font-size: 1.125rem;
  line-height: 1.5;
}
.rbv-form .rbv-choice .rbv-book > div { min-inline-size: 0; }
.rbv-choice[hidden], .rbv-no-results[hidden] { display: none !important; }
.rbv-count { font-weight: 700; }
.rbv-honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.rbv-results > h2 { font-family: inherit; margin-block: 0 1rem; }
.rbv-results > p > a { text-decoration: underline; }
.rbv-ranking { list-style: none; padding: 0; }
.rbv-result { display: grid; grid-template-columns: 3rem 1fr auto; gap: 1rem; align-items: start; padding-block: 1.5rem; border-bottom: 1px solid currentColor; }
.rbv-place { font-weight: 700; }
@media (max-width: 40rem) {
  .rbv-form .rbv-tools > label { display: block; }
  .rbv-form .rbv-tools .rbv-search {
    display: block;
    box-sizing: border-box;
    inline-size: 100%;
    margin-block-start: .375rem;
  }
  .rbv-result { grid-template-columns: 2rem 1fr; }
  .rbv-result > strong { grid-column: 2; }
  .rbv-cover { width: 4rem; height: 6rem; }
}
