/* Research pages share the library's printed page, controls, and palette.
   These rules only arrange the additional research and commonplace tools. */
.research-form { clear: both; margin: 20px 0 28px; }
.research-form .btn { margin: 14px 0 0; }
.research-form .btn:disabled { opacity: .5; cursor: not-allowed; }
.research-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.research-toolbar { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 14px 0; font-size: 13px; }
.research-notice { clear: both; border-top: 1px solid var(--rule-fine); border-bottom: 1px solid var(--rule-fine); padding: 12px 0; }
.research-page blockquote { white-space: pre-wrap; overflow-wrap: anywhere; }
.notebook-collections { margin: 30px 0; }
.notebook-collection { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 18px; border-bottom: 1px solid var(--rule-fine); padding: 9px 0; }
.notebook-collection form { margin: 0; }
.notebook-entry { padding-bottom: 18px; }
.notebook-remove { margin: 0 0 10px; }
.research-author-options { display: flex; gap: 6px 12px; flex-wrap: wrap; max-height: 16rem; overflow: auto; margin: 14px 0; padding: 12px 0; border-top: 1px solid var(--rule-fine); border-bottom: 1px solid var(--rule-fine); }
.research-author-options .btn { margin: 0; }
.research-author-options [hidden] { display: none; }
.research-comparison { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 0 28px; }
.research-comparison .result { padding-top: 14px; }
.research-page a[aria-current="page"] { font-weight: bold; }
@media (max-width: 640px) {
  .research-fields { grid-template-columns: 1fr; }
  .research-comparison { display: block; }
}
@media print {
  .research-form, .notebook-remove, .notebook-collections, .research-author-options { display: none; }
  .notebook-entry, .research-excerpt { break-inside: avoid; }
}
