@import url("/fonts.css");
:root {
  --paper: #f7f7ef;
  --ink: #203f36;
  --muted: #69766c;
  --line: #dadfd3;
  --green: #173e35;
  --lime: #e9edaa;
  --white: #fffef8;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.5 var(--sans);
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
a {
  color: inherit;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #789144;
  outline-offset: 4px;
}
input,
select {
  min-width: 0;
}
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--green);
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  top: -60px;
  left: 20px;
  z-index: 9;
  background: var(--lime);
  padding: 10px;
}
.skip:focus {
  top: 10px;
}
.topbar {
  height: 98px;
  max-width: 1440px;
  margin: auto;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 30px;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 24px;
  text-decoration: none;
  letter-spacing: -1px;
  font-weight: 600;
  line-height: 1.1;
}
.brand-icon {
  font-size: 47px;
  font-weight: 400;
}
.brand-sub {
  font-size: 9px;
  letter-spacing: 2px;
  display: block;
  margin-top: 7px;
}
.topbar nav {
  display: flex;
  gap: 28px;
  height: 100%;
  align-items: center;
}
.nav-button {
  height: 100%;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 13px;
  padding: 0;
}
.nav-button.active {
  border-bottom-color: var(--green);
  color: var(--ink);
}
.account {
  display: flex;
  align-items: center;
  gap: 16px;
}
.pilot-badge {
  font-size: 9px;
  border: 1px solid #bec9b8;
  letter-spacing: 1.5px;
  padding: 7px 11px;
  border-radius: 4px;
}
.text-button {
  border: 0;
  background: none;
  padding: 4px 0;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.notice {
  max-width: 1296px;
  margin: 16px auto 0;
  padding: 10px 18px;
  background: #ecefdc;
  font-size: 12px;
  border-left: 3px solid #b1c17a;
}
main {
  max-width: 1200px;
  padding: 0 32px;
  margin: auto;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 62px 0 38px;
  align-items: center;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 600;
  margin: 0 0 20px;
}
.hero h1 {
  font: normal clamp(44px, 5.5vw, 72px)/1.03 var(--serif);
  letter-spacing: -2.5px;
  margin: 0 0 24px;
}
.hero h1 em {
  font-weight: 400;
  color: #63815a;
}
.hero-description {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.catalog-art {
  position: relative;
  height: 290px;
  margin-left: 40px;
  overflow: hidden;
}
.orbit {
  position: absolute;
  border: 1px solid #d6ddcb;
  border-radius: 50%;
  width: 370px;
  height: 230px;
  top: 32px;
  left: 30px;
  transform: rotate(-30deg);
}
.orbit-two {
  transform: rotate(35deg);
  width: 300px;
  left: 50px;
  top: 34px;
}
.art-card {
  width: 212px;
  height: 152px;
  position: absolute;
  border: 1px solid #ccd4c0;
  border-radius: 5px;
  padding: 18px 22px;
  box-shadow: 0 10px 30px #193b3610;
  background: #eef0dd;
}
.art-card span {
  font-size: 8px;
  letter-spacing: 1.4px;
  display: block;
}
.art-card i {
  font: 21px/1.15 var(--serif);
  display: block;
  margin-top: 16px;
}
.art-card b {
  font-size: 32px;
  position: absolute;
  bottom: 12px;
  right: 17px;
  font-weight: 400;
}
.card-back {
  top: 21px;
  left: 162px;
  transform: rotate(13deg);
  background: #e7ecac;
}
.card-front {
  top: 91px;
  left: 70px;
  transform: rotate(-8deg);
  background: var(--white);
}
.card-lines {
  height: 10px;
  border-block: 1px solid #d0d9ca;
  width: 100px;
  margin-top: 15px;
}
.art-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #789365;
  border-radius: 50%;
}
.dot-one {
  top: 38px;
  left: 45px;
}
.dot-two {
  bottom: 27px;
  right: 50px;
  width: 7px;
  height: 7px;
  background: #c1cd85;
}
.search-box {
  background: var(--white);
  border: 1px solid #9ba991;
  border-radius: 7px;
  padding: 9px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 3px 12px #173e3505;
}
.search-icon {
  font: 35px/1 var(--serif);
  padding: 0 4px 0 14px;
}
.search-box input {
  border: 0;
  background: transparent;
  flex: 1;
  height: 44px;
  font-size: 15px;
  color: var(--ink);
  width: 100%;
}
.search-box input::placeholder {
  color: #87907e;
}
.primary {
  border: 0;
  background: var(--green);
  color: var(--white);
  border-radius: 4px;
  padding: 14px 24px;
  font-size: 13px;
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
}
.primary:hover {
  background: #295647;
}
.search-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-top: 15px;
}
.mode-switch {
  display: flex;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 3px;
  margin: 0;
}
.mode-switch label {
  position: relative;
}
.mode-switch input {
  position: absolute;
  opacity: 0;
}
.mode-switch span {
  display: block;
  padding: 6px 15px;
  font-size: 11px;
  border-radius: 3px;
}
.mode-switch input:checked + span {
  background: var(--green);
  color: #fff;
}
.mode-switch input:focus-visible + span {
  outline: 3px solid #789144;
}
.check {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
}
.suggestions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin: 23px 0 35px;
  font-size: 11px;
}
.suggestions > span {
  color: var(--muted);
  margin-right: 6px;
}
.suggestions button {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 6px 12px;
  background: transparent;
  font-size: 11px;
}
.suggestions button:hover {
  background: var(--lime);
}
.results-layout {
  border-top: 1px solid var(--line);
  padding-top: 30px;
  display: grid;
  grid-template-columns: 215px 1fr;
  gap: 39px;
}
.filters {
  border-right: 1px solid var(--line);
  padding-right: 26px;
}
.section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 22px;
}
.section-label h2 {
  font-size: 12px;
  margin: 0;
  font-weight: 600;
}
.section-label button {
  font-size: 10px;
  color: var(--muted);
}
.filters > label {
  font-size: 11px;
  font-weight: 600;
  display: block;
  margin-bottom: 23px;
}
.filters select {
  width: 100%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  border-radius: 4px;
  padding: 10px 5px;
  margin-top: 9px;
}
.year-filter {
  border: 0;
  margin: 0;
  padding: 0;
}
.year-filter legend {
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 12px;
}
.year-filter > div {
  display: flex;
  gap: 8px;
  align-items: center;
}
.year-filter input {
  width: 44%;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  padding: 8px;
  font-size: 11px;
}
.year-filter button {
  font-size: 10px;
  margin-top: 8px;
  color: var(--muted);
}
.collection-note {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding-top: 20px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}
.small-star {
  font-size: 29px;
  color: #7d965c;
}
.collection-note h3 {
  font-size: 12px;
  color: var(--ink);
  font-weight: 500;
  margin: 7px 0;
}
.collection-note p {
  margin-top: 6px;
}
.collection-note #collection-stats {
  margin-top: 20px;
  font-size: 10px;
}
.results-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 20px;
}
.results-heading .eyebrow {
  font-size: 8px;
  margin: 0 0 6px;
  color: var(--muted);
}
.results-heading h2 {
  font: 26px/1.2 var(--serif);
  margin: 0;
}
.results-heading #timing {
  font-size: 10px;
  color: var(--muted);
}
#search-status {
  font-size: 12px;
  margin-bottom: 12px;
  color: var(--muted);
}
#search-status.error {
  color: #963e30;
}
.expansion {
  background: #eef0e2;
  border: 1px solid #dce2cf;
  border-radius: 5px;
  padding: 12px 14px;
  margin-bottom: 18px;
  font-size: 11px;
}
.expansion strong {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 500;
}
.chip {
  display: inline-block;
  background: #fffef8;
  border: 1px solid #dce2cf;
  border-radius: 12px;
  padding: 3px 9px;
  margin: 2px 4px 2px 0;
  font-size: 10px;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.answer-panel {
  border: 1px solid #cfd8b9;
  background: #f0f2e3;
  border-radius: 5px;
  padding: 16px 18px;
  margin-bottom: 8px;
}
.answer-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  font-size: 12px;
}
.answer-heading > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.answer-heading > div > span {
  font-size: 21px;
}
.answer-heading strong {
  font-weight: 500;
}
.answer-panel p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin: 8px 0 0;
}
.answer-panel .citation {
  font-size: 12px;
  color: var(--green);
  margin-top: 12px;
  text-align: left;
}
.record {
  padding: 25px 0;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.book-cover {
  height: 98px;
  border-radius: 2px 5px 5px 2px;
  position: relative;
  overflow: hidden;
  background: #dce2cc;
  color: #476044;
  padding: 10px 9px 8px 12px;
  box-shadow: 3px 3px 0 #203f3609;
  border-left: 4px solid #c2cbb0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.book-cover.tone-1 {
  background: #e7dac6;
  color: #846d49;
  border-left-color: #cfc0a9;
}
.book-cover.tone-2 {
  background: #d5e1e1;
  color: #577778;
  border-left-color: #b7cbcc;
}
.book-cover.tone-3 {
  background: #e2dcdf;
  color: #7b6478;
  border-left-color: #ccc1c6;
}
.book-cover span {
  font: 11px/1.12 var(--serif);
  max-height: 51px;
  overflow: hidden;
}
.book-cover small {
  font-size: 6px;
  letter-spacing: 1px;
}
.book-cover i {
  font: 18px var(--serif);
  font-style: normal;
}
.record-topline {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 9px;
  letter-spacing: 0.8px;
  color: var(--muted);
  margin-bottom: 6px;
}
.record h3 {
  font: 23px/1.15 var(--serif);
  margin: 0 0 7px;
  letter-spacing: -0.4px;
}
.record-title {
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
  font: inherit;
  letter-spacing: inherit;
}
.record-title:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.record .byline {
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 10px;
}
.record .summary {
  font-size: 12px;
  color: #637164;
  line-height: 1.7;
  margin: 0 0 10px;
}
.record-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.match-label {
  font-size: 9px;
  color: #768267;
}
.rating {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  color: var(--muted);
}
.rating button {
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 3px 6px;
  background: transparent;
  font-size: 9px;
}
.rating button.selected {
  background: var(--green);
  color: #fff;
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 25px 0;
}
.pagination span {
  font-size: 11px;
  color: var(--muted);
}
.secondary {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 9px 14px;
  font-size: 11px;
}
.empty-state {
  padding: 50px 20px;
  text-align: center;
}
.empty-state h3 {
  font: 28px var(--serif);
}
.empty-state p {
  color: var(--muted);
  font-size: 13px;
}
.authority-intro h2 {
  font: 36px var(--serif);
  margin: 10px 0;
}
.authority-intro p {
  color: var(--muted);
  font-size: 14px;
}
.authority-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 25px 0;
}
.authority-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 23px;
}
.authority-card h3 {
  font: 23px var(--serif);
  margin: 0 0 15px;
}
.authority-card p {
  font-size: 12px;
  color: var(--muted);
}
.authority-card .eyebrow {
  font-size: 8px;
}
.authority-link {
  font-size: 11px;
  text-align: left;
  margin-right: 10px;
}
footer {
  max-width: 1296px;
  margin: 65px auto 0;
  padding: 25px 32px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 10px;
  color: var(--muted);
}
.footer-brand {
  font-size: 15px;
  color: var(--ink);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 9px;
  max-width: 740px;
  width: calc(100% - 36px);
  padding: 38px;
  background: var(--paper);
  color: var(--ink);
}
dialog::backdrop {
  background: #132c2680;
  backdrop-filter: blur(3px);
}
.dialog-close {
  position: absolute;
  right: 15px;
  top: 10px;
  border: 0;
  background: transparent;
  font-size: 30px;
}
dialog h2 {
  font: 34px/1.15 var(--serif);
}
dialog p,
dialog dd,
dialog dt {
  font-size: 13px;
}
dialog dt {
  font-weight: 600;
  margin-top: 15px;
}
dialog dd {
  margin: 5px 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}
dialog pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #ebeedf;
  padding: 18px;
  font-size: 11px;
  max-height: 300px;
  overflow: auto;
}
dialog summary {
  cursor: pointer;
  font-size: 12px;
}
.login-panel {
  padding: 70px 0;
  max-width: 500px;
  margin: auto;
}
.login-panel h1 {
  font: 44px/1.15 var(--serif);
}
.login-panel p {
  color: var(--muted);
}
.login-panel label {
  display: block;
  margin: 20px 0;
}
.login-panel input {
  display: block;
  padding: 12px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
}
.login-panel .primary {
  width: 100%;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 20px;
  background: var(--green);
  color: white;
  border-radius: 5px;
  font-size: 12px;
  max-width: 90%;
  z-index: 10;
}
@media (min-width: 1400px) {
  .hero {
    padding-top: 75px;
    padding-bottom: 55px;
  }
  .catalog-art {
    margin-left: 90px;
  }
}
@media (max-width: 900px) {
  .topbar {
    padding: 0 25px;
    gap: 20px;
  }
  .pilot-badge {
    display: none;
  }
  .topbar nav {
    gap: 18px;
  }
  .catalog-art {
    margin-left: 0;
    transform: scale(0.85);
    transform-origin: center;
  }
  .results-layout {
    grid-template-columns: 180px 1fr;
    gap: 25px;
  }
  .filters {
    padding-right: 20px;
  }
  .hero h1 {
    font-size: 58px;
  }
}
@media (max-width: 650px) {
  .topbar {
    height: 78px;
    padding: 0 20px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .brand {
    font-size: 19px;
  }
  .brand-icon {
    font-size: 35px;
  }
  .brand-sub {
    font-size: 7px;
  }
  .topbar nav {
    gap: 16px;
    margin-left: auto;
  }
  .nav-button {
    font-size: 10px;
  }
  .account {
    display: none;
  }
  .account:has(#logout:not([hidden])) {
    display: block;
    position: absolute;
    right: 20px;
    top: 82px;
  }
  main {
    padding: 0 20px;
  }
  .notice {
    margin: 10px 20px 0;
    font-size: 10px;
  }
  .hero {
    padding: 40px 0 26px;
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 55px;
  }
  .hero-description {
    font-size: 13px;
  }
  .catalog-art {
    display: none;
  }
  .search-box {
    gap: 8px;
    padding: 7px;
  }
  .search-icon {
    display: none;
  }
  .search-box input {
    font-size: 13px;
    padding-left: 8px;
  }
  .search-box .primary {
    padding: 12px 15px;
    gap: 8px;
    font-size: 12px;
  }
  .search-options {
    align-items: flex-start;
    flex-direction: column;
  }
  .suggestions {
    gap: 7px;
    margin: 20px 0 25px;
  }
  .suggestions > span {
    width: 100%;
  }
  .suggestions button {
    font-size: 10px;
  }
  .results-layout {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding-top: 20px;
  }
  .filters {
    border: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .section-label {
    grid-column: 1/-1;
    margin: 0;
  }
  .filters > label {
    margin: 0;
  }
  .filters select {
    margin-top: 5px;
  }
  .year-filter > div {
    gap: 4px;
  }
  .year-filter legend {
    margin-bottom: 5px;
  }
  .year-filter input {
    padding: 9px 5px;
  }
  .collection-note {
    display: none;
  }
  .results-heading h2 {
    font-size: 23px;
  }
  .answer-heading {
    align-items: flex-start;
  }
  .answer-heading > div {
    font-size: 11px;
  }
  .answer-heading .text-button {
    font-size: 10px;
  }
  .record {
    grid-template-columns: 52px 1fr;
    gap: 14px;
  }
  .book-cover {
    height: 78px;
    padding: 8px 5px 6px 7px;
  }
  .book-cover span {
    font-size: 9px;
  }
  .record h3 {
    font-size: 21px;
  }
  .record-topline {
    font-size: 8px;
  }
  .record .summary {
    font-size: 11px;
  }
  .rating {
    flex-wrap: wrap;
  }
  .authority-grid {
    grid-template-columns: 1fr;
  }
  footer {
    padding: 20px;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 30px;
  }
  footer > span:nth-child(2) {
    width: 100%;
    order: 3;
  }
  .login-panel {
    padding: 40px 0;
  }
  dialog {
    padding: 30px 22px;
  }
  dialog h2 {
    font-size: 28px;
  }
}
