@import url("./foundation.css");
.oa-tabbar,
.oa-tabbar > div {
  display: flex;
  align-items: center;
  gap: 4px;
}
.oa-tabbar {
  padding: 8px 14px;
  background: var(--f-rule);
  flex-wrap: wrap;
}
.oa-tabbar button {
  border: 0;
  min-height: 30px;
  padding: 4px 8px;
}
.oa-tabbar > div {
  gap: 0;
  border: 1px solid #828677;
  border-radius: 5px;
  overflow: hidden;
}
.oa-columns {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
}
.oa-reader {
  padding: 20px;
  background: #e0e3d7;
  color: #22261e;
}
.oa-reader label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.oa-paper {
  background: #fffdf3;
  border: 1px solid #b4b9aa;
  margin: 13px 0;
  padding: 20px;
  font:
    1rem/1.5 Georgia,
    serif;
}
.oa-paper .oa-mast {
  font: bold 1.5rem Georgia;
  text-align: center;
}
.oa-paper h2 {
  font: 500 clamp(1.8rem, 3.5vw, 3.4rem)/1.03 Georgia;
  letter-spacing: -0.065em;
}
.oa-rule {
  border-top: 3px double #444a3d;
  margin: 0.75rem 0;
}
.oa-woodcut {
  height: 66px;
  background: repeating-linear-gradient(#e0e4d6 0 2px, #edf0e5 2px 6px);
  overflow: hidden;
}
.oa-woodcut svg {
  width: 100%;
  height: 100%;
  color: #48513e;
}
.oa-paper blockquote {
  border-left: 4px solid #e4c132;
  margin: 12px 0;
  padding: 4px 9px;
  background: #fff1a8;
}
.oa-workspace {
  padding: 20px;
  background: var(--f-panel);
}
.oa-workspace h2 {
  margin: 0.1em 0 0.3em;
}
.oa-person,
.oa-line,
.oa-grant,
.oa-receipt {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--f-rule);
}
.oa-person > span {
  font:
    bold 1.15rem ui-monospace,
    monospace;
  background: #d9ddcd;
  color: #32392c;
  padding: 5px 9px;
}
.oa-person small,
.oa-person strong {
  display: block;
}
.oa-person button,
.oa-line b,
.oa-grant button {
  margin-left: auto;
}
.oa-request {
  background: #272e24;
  color: #fffdf1;
  padding: 12px;
  border-radius: 5px;
  margin: 7px 0;
}
.oa-request .oa-line {
  padding: 0 0 7px;
  font-size: 0.75rem;
}
.oa-request .oa-line b {
  color: #ffdf52;
}
.oa-request h3 {
  margin: 0.4em 0;
}
.oa-request button {
  background: none;
  color: #fffdf1;
}
.oa-notebook {
  padding: 18px 22px;
  border-top: 1px solid var(--f-rule);
}
.oa-grants {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}
.oa-grants article {
  padding: 14px;
  border: 1px solid var(--f-rule);
}
.oa-receipt {
  flex-wrap: wrap;
}
.oa-receipt code {
  color: var(--f-sub);
}
@media (max-width: 680px) {
  .oa-columns {
    grid-template-columns: 1fr;
  }
  .oa-reader,
  .oa-workspace {
    padding: 13px;
  }
}
.oa-room-controls {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  padding: 0.4rem 1rem;
  border-bottom: 1px solid var(--f-rule);
}
.oa-room-controls > label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.oa-room-controls select {
  padding: 0.22rem 0.4rem;
}
.oa-room-controls summary {
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
}
.oa-room-controls details[open] {
  flex-basis: 100%;
}
.oa-room-controls form {
  padding-bottom: 0.25rem;
}
.oa-result {
  flex-basis: 100%;
  white-space: pre-line;
}
.oa-tabbar {
  background: var(--fx-sidebar, var(--f-paper));
}
.oa-reader {
  background: var(--fx-bg, var(--f-paper));
  color: var(--f-ink);
  border-inline-end: 1px solid var(--f-rule);
}
.oa-paper {
  background: #fff;
  color: #242424;
  border-color: #bfbfc9;
}
.oa-paper blockquote {
  background: #f0f5fb;
  border-color: #6685a5;
}
.oa-request {
  background: var(--fx-sidebar, var(--f-paper));
  color: var(--f-ink);
  border: 1px solid var(--f-rule);
}
.oa-request .oa-line b {
  color: var(--fx-accent, #005bc4);
}
.oa-request button {
  color: var(--f-ink);
  background: var(--f-panel);
}
.oa-person > span {
  background: var(--fx-selected, #e1efff);
  color: var(--fx-selected-text, #003eaa);
  border-radius: 4px;
}
/* The current publication and its access annotations form a research folio. */
.oa-reader {
  background-color: #dad5c6;
  background-image: repeating-linear-gradient(
    92deg,
    transparent 0 7px,
    #98927b20 8px 9px
  );
  padding: 18px 24px 22px;
}
.oa-reader > label {
  color: #322f28;
}
.oa-paper {
  position: relative;
  background: #f9f2db;
  color: #352b23;
  border: 1px solid #aaa187;
  box-shadow:
    3px 3px 0 #e8e2cc,
    4px 4px 0 #a69f88;
  padding: 16px clamp(16px, 2vw, 30px);
  max-width: 740px;
  margin: 12px auto;
}
.oa-paper .oa-mast {
  font-family: Georgia, serif;
  font-variant: small-caps;
  font-size: clamp(1.15rem, 2vw, 1.8rem);
  letter-spacing: 0.025em;
  line-height: 1.15;
}
.oa-paper h2 {
  font:
    600 clamp(1.6rem, 3.1vw, 2.65rem)/1 Georgia,
    serif;
  letter-spacing: -0.05em;
}
.oa-paper blockquote {
  background: transparent;
  color: #59432b;
  border-inline-start: 2px solid #8e673f;
  font-style: italic;
}
.oa-print {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  align-items: center;
  border-block: 1px solid #b9ab89;
  margin: 10px 0;
  background: repeating-linear-gradient(0deg, #f0e5c8 0 2px, #f7edd4 2px 4px);
}
.oa-print svg {
  width: 100%;
  max-height: 134px;
  display: block;
}
.oa-print figcaption {
  padding: 8px 10px;
  border-left: 1px solid #b9ab89;
  display: grid;
  gap: 2px;
  overflow-wrap: anywhere;
  color: #453429;
  font:
    0.75rem/1.2 ui-monospace,
    monospace;
}
.oa-print figcaption span {
  margin-top: 6px;
}
.oa-print figcaption strong {
  font:
    italic 1.12rem Georgia,
    serif;
}
.oa-workspace {
  border-inline-start: 3px double var(--f-rule);
}
.oa-person > span {
  border-radius: 50%;
  background: var(--fx-selected);
  color: var(--fx-selected-text);
}
.oa-app .fh-index {
  border-inline-end-style: double;
}
