/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --spacing: 0.25rem;
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .invisible {
    visibility: hidden;
  }
  .visible {
    visibility: visible;
  }
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border-width: 0;
  }
  .absolute {
    position: absolute;
  }
  .relative {
    position: relative;
  }
  .static {
    position: static;
  }
  .start {
    inset-inline-start: var(--spacing);
  }
  .end {
    inset-inline-end: var(--spacing);
  }
  .block {
    display: block;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .table {
    display: table;
  }
  .transform {
    transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
  }
  .ordinal {
    --tw-ordinal: ordinal;
    font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
  }
  .filter {
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
}
:root {
  --ink: #171716;
  --muted: #66645f;
  --paper: #f5f2ec;
  --warm: #ebe5dc;
  --line: #d8d2c8;
  --white: #fff;
  --red: #b41f24;
  --red-dark: #861419;
  --green: #2f654c;
  --sans: var(--font-geist-sans), Arial, sans-serif;
  --mono: var(--font-geist-mono), monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
html.modal-open {
  overflow: hidden;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
}
button, input, select {
  font: inherit;
}
button, a {
  -webkit-tap-highlight-color: transparent;
}
button {
  color: inherit;
}
a {
  color: inherit;
}
:where(a, button, input, select):focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
.shell {
  width: min(1420px, calc(100% - 64px));
  margin-inline: auto;
}
.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-link {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 12px 16px;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.brand-row {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: inline-flex;
  gap: 15px;
  align-items: center;
  text-decoration: none;
}
.brand__logo {
  width: 62px;
  height: 54px;
  object-fit: contain;
  flex: none;
}
.brand strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 23px;
  line-height: 1.08;
}
.brand small {
  display: block;
  margin-top: 5px;
  color: var(--red-dark);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .09em;
  line-height: 1.3;
  text-transform: uppercase;
}
.header-note {
  color: var(--muted);
  font-size: 13px;
}
.header-note span {
  color: var(--ink);
  font-weight: 700;
}
.catalog-search-strip {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 5px 18px rgba(29, 25, 18, .06);
}
.search-area {
  padding-block: 20px 15px;
}
.main-search {
  min-height: 60px;
  background: #fff;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 7px 7px 7px 19px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px #1d191214;
}
.main-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  font-size: 16px;
  background: transparent;
}
.main-search input::placeholder {
  color: #88837d;
}
.main-search:focus-within {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
.main-search > button:not(.search-submit) {
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 8px;
}
.mobile-filter-actions,
.mobile-filter-heading {
  display: none;
}
.search-submit {
  width: 50px;
  height: 50px;
  flex: none;
  display: grid;
  place-items: center;
  padding: 0;
  background: var(--ink);
  color: #fff;
  border: 0;
  cursor: pointer;
}
.library-basic-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.search-filter-actions {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 8px;
}
.advanced-toggle {
  border: 0;
  background: transparent;
  color: var(--red-dark);
  font-size: 13px;
  padding: 3px 0;
  cursor: pointer;
}
.advanced-toggle span {
  margin-left: 7px;
  font-size: 17px;
}
.clear-search-filters {
  border: 0;
  background: transparent;
  color: var(--red-dark);
  padding: 3px 0;
  font-size: 12px;
  cursor: pointer;
}
.advanced-search {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 13px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--warm);
}
.advanced-search label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}
.advanced-search input, .advanced-search select {
  display: block;
  width: 100%;
  height: 41px;
  margin-top: 6px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 0 10px;
  outline: none;
  text-transform: none;
  letter-spacing: normal;
}
.inferred-note {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}
.topic-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.topic-strip .shell {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 24px;
  align-items: center;
  padding-block: 20px;
}
.topic-strip strong {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.topic-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.topic-options button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: #4c4944;
  cursor: pointer;
  font-size: 12px;
}
.topic-options button:hover {
  border-color: #adaba6;
  background: #fff;
}
.topic-options button.active {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}
.topic-options small {
  opacity: .68;
  font-size: 9px;
  font-variant-numeric: tabular-nums;
}
.view-tabs {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.view-tabs .shell {
  display: flex;
  gap: 32px;
}
.view-tabs button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 61px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 650;
  cursor: pointer;
}
.view-tabs button.active {
  color: var(--red);
}
.view-tabs button.active::after {
  content: "";
  position: absolute;
  height: 3px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--red);
}
.catalog-layout {
  display: block;
  padding-block: 30px 80px;
}
.filters {
  position: static;
  display: grid;
  grid-template-columns: repeat(4, minmax(170px, 1fr));
  gap: 13px;
  margin-bottom: 32px;
  padding: 18px;
  border: 1px solid var(--line);
  background: #fff;
}
.filters__title {
  grid-column: 1 / -1;
  min-height: 38px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 2px solid var(--ink);
  font-size: 14px;
  font-weight: 700;
}
.filters__title span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.filters__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.filters__title button {
  border: 0;
  background: transparent;
  color: var(--red);
  padding: 0;
  font-size: 12px;
  cursor: pointer;
}
.filters__close, .filters__apply, .filters-scrim, .mobile-filter-bar, .facet__toggle {
  display: none;
}
.facet {
  display: grid;
  gap: 6px;
  min-width: 0;
  border: 0;
  margin: 0;
  padding: 0;
}
.facet > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.facet select {
  width: 100%;
  min-width: 0;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 10px;
  color: var(--ink);
  font-size: 12px;
}
.results {
  min-width: 0;
  scroll-margin-top: 300px;
}
.results-toolbar {
  min-height: 48px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.results-toolbar strong {
  font-size: 15px;
  color: var(--ink);
}
.toolbar-controls {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: -8px;
}
.toolbar-controls label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.toolbar-controls select {
  height: 37px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 28px 0 10px;
  color: var(--ink);
  font-size: 12px;
}
.mode-toggle {
  display: flex;
  border: 1px solid var(--line);
  background: #fff;
}
.mode-toggle button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  color: #8b877f;
  cursor: pointer;
}
.mode-toggle button:first-child {
  border-left: 0;
}
.mode-toggle button.active {
  color: var(--red);
  background: #f8ecec;
}
.results-list {
  padding-top: 11px;
}
.results-list--list .result-card {
  border-bottom: 1px solid var(--line);
}
.card-open {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 18px 0;
  cursor: pointer;
}
.result-card--list .card-open {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 22px;
}
.cover {
  position: relative;
  width: 156px;
  aspect-ratio: .68;
  background: #ddd;
  overflow: hidden;
  box-shadow: 0 9px 22px #1d191225;
}
.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cover > span {
  position: absolute;
  left: 5px;
  right: 5px;
  bottom: 5px;
  background: #181716e6;
  color: #fff;
  padding: 4px;
  text-align: center;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .11em;
}
.cover--compact {
  width: 82px;
  height: 116px;
}
.cover--placeholder {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px 13px;
  color: #fff;
  background: linear-gradient(145deg, #4b4842, #242321);
  border-left: 6px solid var(--red);
}
.cover--placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, transparent 0 18px, #fff 19px 20px);
  opacity: .035;
}
.cover__mark {
  position: absolute;
  left: 13px;
  top: 14px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e34a4f;
  font-weight: 900;
  letter-spacing: -.05em;
}
.cover__mark i {
  height: 1px;
  flex: 1;
  background: #ffffff38;
}
.cover--placeholder strong {
  position: relative;
  z-index: 1;
  font-size: 12px;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cover--placeholder small {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  color: #c9c4ba;
  font-size: 9px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cover--compact.cover--placeholder {
  padding: 11px 8px;
  border-left-width: 4px;
}
.cover--compact .cover__mark {
  left: 8px;
  top: 9px;
  right: 7px;
  font-size: 10px;
}
.cover--compact.cover--placeholder strong {
  font-size: 8px;
}
.cover--compact.cover--placeholder small {
  font-size: 7px;
  margin-top: 4px;
}
.card-copy {
  min-width: 0;
  padding-top: 2px;
}
.material-label {
  color: var(--red);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 750;
}
.card-copy h3 {
  margin: 7px 0 5px;
  font-size: 19px;
  line-height: 1.22;
  letter-spacing: -.02em;
}
.card-author {
  margin: 0;
  color: #3e3c38;
  font-size: 13px;
  font-weight: 560;
}
.card-meta {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.card-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 17px;
  font-size: 11px;
  color: var(--muted);
}
.card-footer span {
  padding-right: 12px;
  border-right: 1px solid var(--line);
}
.card-footer span:nth-child(2) {
  color: var(--green);
  border: 0;
  font-weight: 650;
}
.card-footer svg {
  margin-left: auto;
  color: var(--red);
  transition: transform .2s;
}
.card-open:hover h3 {
  color: var(--red);
}
.card-open:hover .card-footer svg {
  transform: translateX(3px);
}
.results-list--grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 38px 25px;
  padding-top: 28px;
}
.result-card--grid .card-open {
  padding: 0;
}
.result-card--grid .cover {
  width: 100%;
  max-width: 178px;
  margin-bottom: 20px;
}
.result-card--grid .card-copy h3 {
  font-size: 16px;
  min-height: 39px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.result-card--grid .card-author {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.result-card--grid .card-meta {
  min-height: 36px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.result-card--grid .card-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px;
}
.result-card--grid .card-footer span {
  border: 0;
  padding: 0;
}
.result-card--grid .card-footer span:nth-child(2) {
  grid-row: 2;
}
.result-card--grid .card-footer svg {
  grid-row: 1 / 3;
}
.load-more {
  width: 100%;
  margin-top: 34px;
  height: 52px;
  border: 1px solid var(--ink);
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}
.load-more:hover {
  background: var(--ink);
  color: #fff;
}
.load-more span {
  margin-left: 5px;
  color: var(--muted);
  font-weight: 400;
}
.empty-state, .error-state {
  margin: 50px 0;
  padding: 60px 20px;
  text-align: center;
  border: 1px dashed #bbb5ab;
  color: var(--muted);
}
.empty-state svg {
  color: var(--red);
}
.empty-state h3 {
  color: var(--ink);
  margin: 14px 0 6px;
}
.empty-state p {
  margin: 0;
}
.loading {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 100px;
}
.loading span {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 1s infinite alternate;
}
.loading span:nth-child(2) {
  animation-delay: .2s;
}
.loading span:nth-child(3) {
  animation-delay: .4s;
}
@keyframes pulse {
  to {
    opacity: .2;
    transform: translateY(-6px);
  }
}
.physical-view {
  padding-top: 27px;
}
.physical-intro {
  display: flex;
  gap: 17px;
  align-items: flex-start;
  padding: 22px;
  background: #fff;
  border-left: 4px solid var(--red);
}
.physical-intro svg {
  color: var(--red);
  flex: none;
}
.physical-intro h2 {
  margin: 0 0 5px;
  font-size: 18px;
}
.physical-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.shelf-groups {
  display: grid;
  gap: 25px;
  margin-top: 28px;
}
.shelf-group {
  background: #eeebe4;
  border: 1px solid var(--line);
  padding: 22px 22px 0;
}
.shelf-group header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
}
.shelf-group header span {
  color: var(--red);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
}
.shelf-group header h3 {
  margin: 4px 0 0;
  font-size: 16px;
}
.shelf-group header > strong {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}
.shelf-line {
  height: 8px;
  margin: 18px -22px 0;
  background: #5a493b;
  box-shadow: 0 3px 0 #33281f;
}
.shelf-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}
.shelf-items button {
  min-height: 108px;
  border: 0;
  background: #fff;
  padding: 13px;
  text-align: left;
  cursor: pointer;
}
.shelf-items button:hover {
  background: #faf3f2;
}
.shelf-items button span {
  color: var(--red);
  font: 9px var(--mono);
}
.shelf-items button strong {
  display: block;
  margin: 7px 0 5px;
  font-size: 12px;
  line-height: 1.3;
}
.shelf-items button small {
  color: var(--muted);
  font-size: 10px;
}
.catalog-note {
  background: #ded9cf;
  border-top: 1px solid #ccc5b9;
}
.catalog-note .shell {
  padding-block: 25px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}
.catalog-note svg {
  color: var(--red);
  flex: none;
}
.catalog-note strong {
  font-size: 13px;
}
.catalog-note p {
  margin: 5px 0 0;
  color: #5f5b54;
  font-size: 12px;
  line-height: 1.5;
}
.site-footer {
  margin-top: 20px;
  border: 0;
  background: #171714;
  color: #d9d3c8;
  padding: 24px 22px;
  text-align: center;
  font-size: 13px;
}
.site-footer .shell {
  display: block;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  font-size: 13px;
  font-weight: 700;
}
.site-footer a {
  color: #ece6dc;
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: #11110fd9;
  display: flex;
  justify-content: flex-end;
}
.detail-panel {
  position: relative;
  width: min(780px, 100%);
  height: 100%;
  overflow-y: auto;
  background: var(--paper);
  padding: 50px;
  animation: slide-in .24s ease-out;
}
@keyframes slide-in {
  from {
    transform: translateX(40px);
    opacity: .6;
  }
}
.icon-button {
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.detail-close {
  position: absolute;
  right: 22px;
  top: 22px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  z-index: 2;
}
.detail-layout {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 35px;
}
.detail-cover {
  padding-top: 25px;
}
.detail-panel h2 {
  margin: 11px 0 8px;
  font-size: 31px;
  line-height: 1.08;
  letter-spacing: -.035em;
}
.detail-author {
  color: #45423e;
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}
.detail-publication {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.topic-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.topic-badges span {
  padding: 5px 8px;
  border: 1px solid #d7c9c1;
  background: #fff9f5;
  color: #775047;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}
.status {
  display: inline-flex;
  padding: 6px 9px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 750;
}
.status--consult {
  background: #dbe8df;
  color: var(--green);
}
.status--material {
  background: #e7e3dc;
  color: #4e4a43;
}
.status--quality-high {
  background: #dbe8df;
  color: var(--green);
}
.status--quality-moderate {
  background: #eadfd0;
  color: #7b572d;
}
.status--quality-basic {
  background: #e7e3dc;
  color: #625d55;
}
.status--cover-exact {
  background: #dbe8df;
  color: var(--green);
}
.status--cover-orientative {
  background: #f0e0de;
  color: var(--red-dark);
}
.status--cover-missing {
  background: #ebe7e0;
  color: #6b665e;
}
.status--review-high {
  background: #dce8ed;
  color: #315768;
}
.status--review-moderate {
  background: #e8e3d3;
  color: #665a2f;
}
.status--review-unresolved {
  background: #eee0df;
  color: var(--red-dark);
}
.status--copies {
  background: #ddd9e9;
  color: #51496b;
}
.detail-grid {
  margin: 24px 0 26px;
  border-top: 1px solid var(--line);
}
.detail-field {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.detail-field dt {
  color: var(--muted);
  font-size: 11px;
}
.detail-field dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
}
.detail-field code {
  font: 11px var(--mono);
}
.bne-classification {
  display: grid;
  gap: 3px;
}
.bne-classification strong {
  font: 600 12px var(--mono);
  color: var(--ink);
}
.bne-classification small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}
.location-box {
  background: #fff;
  border: 1px solid var(--line);
  padding: 16px;
}
.copy-locations {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}
.copy-locations h3 {
  margin: 0 0 3px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.location-box > div {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.location-box svg {
  color: var(--red);
  flex: none;
}
.location-box small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.location-box strong {
  display: block;
  margin-top: 4px;
  font-size: 13px;
}
.location-box p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
.location-box code {
  display: block;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: #777269;
  font: 9px var(--mono);
  word-break: break-all;
}
.public-notes {
  margin-top: 14px;
  padding: 14px 16px;
  border-left: 3px solid var(--red);
  background: #fff;
}
.public-notes strong {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.public-notes p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}
.cover-note {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  margin: 14px 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}
.cover-note svg {
  flex: none;
}
.more-about {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.more-about__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.more-about__heading > svg {
  color: var(--red);
  flex: none;
}
.more-about h3 {
  margin: 0;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.more-about__heading p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}
.more-about__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
.more-about__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}
.more-about__links a:hover {
  border-color: var(--red);
  color: var(--red-dark);
}
.more-about__links a > span {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.more-about__links strong {
  font-size: 11px;
}
.more-about__links small {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.3;
}
.more-about__links svg {
  flex: none;
  color: var(--red);
}
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 48px;
  margin-top: 16px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}
.primary-button:hover {
  background: var(--red-dark);
}
.request-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
}
.request-note a {
  color: inherit;
}
.management-page {
  min-height: 100vh;
  padding: 44px max(24px, calc((100vw - 1180px) / 2)) 80px;
  background: var(--paper);
}
.management-header {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.management-header > div:first-child > a, .legal-page > a {
  color: var(--red-dark);
  font-size: 12px;
  text-decoration: none;
}
.management-header .eyebrow, .legal-page .eyebrow {
  margin-top: 28px;
}
.management-header h1, .legal-page h1 {
  margin: 8px 0;
  font-size: clamp(38px, 6vw, 70px);
  letter-spacing: -.05em;
}
.management-header p {
  margin: 0;
  color: var(--muted);
}
.management-header > div:last-child {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
}
.management-header > div:last-child a {
  padding: 9px 11px;
  border: 1px solid var(--line);
  text-decoration: none;
}
.management-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 28px 0;
  border: 1px solid var(--line);
  background: #fff;
}
.management-summary div {
  display: flex;
  align-items: baseline;
  gap: 11px;
  padding: 20px;
  border-right: 1px solid var(--line);
}
.management-summary div:last-child {
  border: 0;
}
.management-summary strong {
  font-size: 28px;
}
.management-summary span {
  color: var(--muted);
  font-size: 11px;
}
.new-loan {
  display: grid;
  grid-template-columns: minmax(210px, .7fr) 2fr;
  gap: 38px;
  padding: 28px;
  background: var(--ink);
  color: #fff;
}
.new-loan h2, .section-heading h2 {
  margin: 5px 0 8px;
  font-size: 25px;
}
.new-loan p {
  color: #bbb8b1;
  font-size: 12px;
  line-height: 1.5;
}
.new-loan form {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 13px;
  align-items: end;
}
.new-loan label, .loan-edit label {
  display: grid;
  gap: 6px;
  color: #cbc8c1;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.new-loan input, .new-loan textarea, .loan-edit input, .loan-edit textarea {
  width: 100%;
  min-height: 40px;
  border: 1px solid #54514c;
  padding: 8px 10px;
  background: #fff;
  color: var(--ink);
  font: 12px inherit;
  text-transform: none;
  letter-spacing: normal;
}
.new-loan textarea, .loan-edit textarea {
  resize: vertical;
}
.new-loan__copy {
  grid-column: span 2;
}
.new-loan__notes {
  grid-column: span 2;
}
.new-loan button, .loan-buttons button, .loan-buttons a {
  min-height: 41px;
  border: 0;
  padding: 10px 13px;
  background: var(--red);
  color: #fff;
  font: 700 11px inherit;
  text-decoration: none;
  cursor: pointer;
}
.new-loan button:disabled, .loan-buttons button:disabled {
  opacity: .55;
  cursor: wait;
}
.active-loans, .loan-history {
  margin-top: 42px;
}
.section-heading {
  margin-bottom: 16px;
}
.loan-card {
  margin-bottom: 14px;
  border: 1px solid var(--line);
  background: #fff;
}
.loan-card--due {
  border-left: 4px solid var(--red);
}
.loan-card > header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}
.loan-card > header span {
  color: var(--red-dark);
  font: 10px var(--mono);
}
.loan-card > header h3 {
  margin: 5px 0;
  font-size: 18px;
}
.loan-card > header p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}
.loan-card > header > strong {
  align-self: flex-start;
  padding: 6px 8px;
  background: #f0e0de;
  color: var(--red-dark);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.loan-details, .loan-edit {
  padding: 18px 22px;
}
.loan-details dl {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0;
}
.loan-details dl div {
  display: grid;
  gap: 4px;
}
.loan-details dt {
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.loan-details dd {
  margin: 0;
  font-size: 12px;
}
.loan-details > p {
  margin: 15px 0 0;
  padding: 10px;
  background: var(--paper);
  color: var(--muted);
  font-size: 11px;
}
.loan-edit {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
}
.loan-edit label {
  color: var(--muted);
}
.loan-edit input, .loan-edit textarea {
  border-color: var(--line);
}
.loan-edit__notes {
  grid-column: 1 / -1;
}
.loan-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 17px;
  grid-column: 1 / -1;
}
.loan-buttons .button-secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}
.loan-buttons .button-danger {
  margin-left: auto;
  background: #4d4943;
}
.form-error {
  margin: 12px 0 0;
  color: #9f2920;
  font-size: 11px;
}
.management-error {
  padding: 12px;
  background: #f7e4e1;
}
.history-table {
  border-top: 1px solid var(--line);
}
.history-table > div {
  display: grid;
  grid-template-columns: minmax(280px, 2fr) 120px 170px 120px;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}
.history-table span {
  color: var(--muted);
}
.empty-management {
  padding: 22px;
  border: 1px dashed var(--line);
  color: var(--muted);
}
.management-shell, .legal-page {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0;
}
.management-denied p {
  color: var(--muted);
}
.management-actions {
  display: flex;
  gap: 10px;
  margin-top: 25px;
}
.management-actions a {
  padding: 11px 13px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
}
.legal-page {
  min-height: 100vh;
}
.legal-page > section {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.legal-page h2 {
  margin: 0 0 8px;
  font-size: 18px;
}
.legal-page section p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.legal-page section a {
  color: var(--red-dark);
}
@media (max-width: 1080px) {
  .advanced-search {
    grid-template-columns: repeat(3, 1fr);
  }
  .results-list--grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .shelf-items {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 800px) {
  .results {
    scroll-margin-top: 80px;
  }
  .shell {
    width: min(100% - 32px, 720px);
  }
  .header-note {
    display: none;
  }
  .brand-row {
    min-height: 84px;
  }
  .brand__logo {
    width: 60px;
    height: 52px;
  }
  .main-search {
    min-height: 52px;
    padding: 5px;
    padding-left: 14px;
  }
  .search-submit {
    width: 42px;
    height: 42px;
  }
  .search-area {
    padding-block: 8px;
  }
  .mobile-filter-actions {
    display: inline-flex;
    flex: none;
  }
  .mobile-filter-actions > button {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-left: 1px solid var(--line);
    padding: 0 9px;
    color: var(--red-dark);
    font-size: 12px;
    font-weight: 750;
    cursor: pointer;
  }
  .mobile-filter-actions > button > span {
    min-width: 19px;
    height: 19px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-size: 10px;
  }
  .library-filter-panel {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0 18px calc(22px + env(safe-area-inset-bottom));
    background: var(--paper);
  }
  .mobile-filters-open .library-filter-panel {
    display: block;
  }
  .mobile-filter-heading {
    position: sticky;
    top: 0;
    z-index: 2;
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 -18px 16px;
    border-bottom: 1px solid var(--line);
    background: rgba(242, 239, 231, .98);
    padding: 9px 18px;
  }
  .mobile-filter-heading strong {
    font-family: Georgia, serif;
    font-size: 20px;
  }
  .mobile-filter-heading button {
    min-height: 38px;
    border: 1px solid var(--line);
    background: #fff;
    padding: 7px 10px;
    cursor: pointer;
  }
  .library-basic-filters,
  .advanced-search {
    grid-template-columns: 1fr 1fr;
  }
  .library-basic-filters {
    margin-top: 0;
  }
  body.library-filters-open {
    overflow: hidden;
  }
  .topic-strip {
    display: none;
  }
  .catalog-layout {
    display: block;
    padding-block: 28px 55px;
  }
  .mobile-filter-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    margin-bottom: 22px;
  }
  .mobile-filter-bar label {
    min-width: 0;
    height: 48px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    padding: 0 12px;
    border: 1px solid var(--line);
    background: #fff;
  }
  .mobile-filter-bar label > span {
    color: var(--muted);
    font-size: 10px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: .07em;
  }
  .mobile-filter-bar select {
    min-width: 0;
    width: 100%;
    border: 0;
    outline: 0;
    background: #fff;
    color: var(--ink);
    font-size: 13px;
    font-weight: 650;
  }
  .mobile-filter-bar > button {
    height: 48px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    border: 1px solid var(--ink);
    background: var(--ink);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
  }
  .mobile-filter-bar > button small {
    min-width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-size: 10px;
  }
  .filters-scrim {
    position: fixed;
    inset: 0;
    z-index: 59;
    border: 0;
    background: #11110fbf;
  }
  .filters-scrim--open {
    display: block;
  }
  .filters {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 60;
    width: min(430px, 100%);
    height: 100%;
    display: block;
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    margin: 0;
    padding: 0 22px 24px;
    background: var(--paper);
    transform: translateX(100%);
    transition: transform .22s ease-out, visibility 0s linear .22s;
  }
  .filters--open {
    visibility: visible;
    transform: translateX(0);
    box-shadow: -18px 0 42px #11110f38;
    transition-delay: 0s;
  }
  .filters__title {
    position: sticky;
    top: 0;
    z-index: 2;
    min-height: 68px;
    align-items: center;
    background: var(--paper);
  }
  .filters__close {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line) !important;
    color: var(--ink) !important;
  }
  .facet {
    margin: 0 0 15px;
    padding: 0;
  }
  .facet select {
    height: 46px;
    font-size: 16px;
  }
  .facet legend {
    display: none;
  }
  .facet__toggle {
    width: 100%;
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 0;
    background: transparent;
    padding: 12px 0;
    text-align: left;
  }
  .facet__toggle > span {
    display: grid;
    gap: 4px;
  }
  .facet__toggle strong {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
  }
  .facet__toggle small {
    color: var(--muted);
    font-size: 12px;
  }
  .facet__toggle svg {
    flex: none;
    color: var(--red);
    transform: rotate(90deg);
    transition: transform .18s;
  }
  .facet--expanded .facet__toggle svg {
    transform: rotate(-90deg);
  }
  .facet__options {
    display: none;
    padding: 0 0 17px;
  }
  .facet--expanded .facet__options {
    display: block;
  }
  .facet label {
    min-height: 38px;
  }
  .filters__apply {
    position: sticky;
    bottom: 0;
    width: calc(100% + 44px);
    height: 54px;
    display: block;
    margin: 18px -22px -24px;
    border: 0;
    background: var(--red);
    color: #fff;
    font-weight: 750;
  }
  .results-list--grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .detail-panel {
    padding: 52px 28px 32px;
  }
  .shelf-items {
    grid-template-columns: repeat(2, 1fr);
  }
  .management-page {
    padding: 25px 18px 60px;
  }
  .management-header {
    display: block;
  }
  .management-header > div:last-child {
    justify-content: space-between;
    margin-top: 22px;
  }
  .new-loan {
    grid-template-columns: 1fr;
  }
  .new-loan form {
    grid-template-columns: 1fr 1fr;
  }
  .new-loan__copy, .new-loan__notes {
    grid-column: 1 / -1;
  }
  .loan-details dl {
    grid-template-columns: 1fr 1fr;
  }
  .loan-edit {
    grid-template-columns: 1fr 1fr;
  }
  .history-table > div {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .shell {
    width: calc(100% - 24px);
  }
  .brand strong {
    font-size: 15px;
  }
  .brand small {
    font-size: 11px;
  }
  .main-search {
    padding-left: 14px;
    gap: 9px;
  }
  .main-search input {
    font-size: 14px;
  }
  .library-basic-filters {
    grid-template-columns: 1fr;
  }
  .advanced-search {
    grid-template-columns: 1fr;
  }
  .view-tabs .shell {
    gap: 20px;
  }
  .view-tabs button {
    font-size: 13px;
  }
  .results-toolbar {
    display: block;
    padding-bottom: 15px;
  }
  .toolbar-controls {
    margin-top: 15px;
    justify-content: space-between;
  }
  .toolbar-controls label {
    font-size: 0;
  }
  .toolbar-controls select {
    font-size: 12px;
  }
  .result-card--list .card-open {
    grid-template-columns: 68px 1fr;
    gap: 15px;
  }
  .cover--compact {
    width: 68px;
    height: 99px;
  }
  .card-copy h3 {
    font-size: 16px;
  }
  .card-footer {
    gap: 7px;
  }
  .card-footer span:first-child {
    display: none;
  }
  .results-list--grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 10px;
  }
  .result-card--grid {
    border-bottom: 1px solid var(--line);
  }
  .result-card--grid .card-open {
    display: grid;
    grid-template-columns: minmax(112px, 38%) 1fr;
    gap: 17px;
    padding: 20px 0;
  }
  .result-card--grid .cover {
    max-width: 160px;
    margin: 0;
  }
  .result-card--grid .card-copy h3, .result-card--grid .card-meta {
    min-height: 0;
  }
  .result-card--grid .card-footer {
    margin-top: 13px;
  }
  .shelf-group {
    padding: 16px 16px 0;
  }
  .shelf-line {
    margin-inline: -16px;
  }
  .shelf-items {
    grid-template-columns: 1fr;
  }
  .site-footer nav {
    gap: 8px 18px;
  }
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .detail-cover {
    padding: 0;
  }
  .detail-cover .cover {
    width: 110px;
  }
  .detail-panel h2 {
    font-size: 26px;
  }
  .detail-field {
    grid-template-columns: 105px 1fr;
  }
  .more-about__links {
    grid-template-columns: 1fr;
  }
  .management-summary {
    grid-template-columns: 1fr;
  }
  .management-summary div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .new-loan {
    padding: 22px 18px;
  }
  .new-loan form, .loan-edit {
    grid-template-columns: 1fr;
  }
  .new-loan__copy, .new-loan__notes, .loan-edit__notes {
    grid-column: auto;
  }
  .loan-card > header {
    display: block;
  }
  .loan-card > header > strong {
    display: inline-flex;
    margin-top: 11px;
  }
  .loan-details dl, .history-table > div {
    grid-template-columns: 1fr;
  }
  .loan-buttons .button-danger {
    margin-left: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@property --tw-ordinal {
  syntax: "*";
  inherits: false;
}
@property --tw-slashed-zero {
  syntax: "*";
  inherits: false;
}
@property --tw-numeric-figure {
  syntax: "*";
  inherits: false;
}
@property --tw-numeric-spacing {
  syntax: "*";
  inherits: false;
}
@property --tw-numeric-fraction {
  syntax: "*";
  inherits: false;
}
@property --tw-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false;
}
@keyframes pulse {
  50% {
    opacity: 0.5;
  }
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-ordinal: initial;
      --tw-slashed-zero: initial;
      --tw-numeric-figure: initial;
      --tw-numeric-spacing: initial;
      --tw-numeric-fraction: initial;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
    }
  }
}

@font-face { font-family: "Geist CNT"; src: url("/catalogos-assets/biblioteca/fonts/geist-sans.woff2") format("woff2"); font-style: normal; font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono CNT"; src: url("/catalogos-assets/biblioteca/fonts/geist-mono.woff2") format("woff2"); font-style: normal; font-weight: 100 900; font-display: swap; }
:root { --font-geist-sans: "Geist CNT"; --font-geist-mono: "Geist Mono CNT"; --sans: "Geist CNT", Arial, sans-serif; --mono: "Geist Mono CNT", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }

.modal-open { overflow: hidden; }
#detailRoot:empty { display: none; }

.library-record-page { min-height: 70vh; padding: 38px 0 70px; }
.library-record { width: min(1050px, calc(100% - 40px)); margin: 0 auto; background: var(--paper); border: 1px solid var(--line); }
.record-toolbar { display: flex; justify-content: space-between; gap: 18px; padding: 15px 22px; border-bottom: 1px solid var(--line); font-size: 12px; }
.record-toolbar a { color: var(--red); text-decoration: none; font-weight: 700; }
.record-toolbar span { color: var(--muted); font-family: var(--mono); }
.record-layout { display: grid; grid-template-columns: 220px 1fr; gap: 46px; padding: 46px; }
.record-layout > div:first-child > .cover { width: 100%; }
.record-cover { margin: 0; }
.record-cover img { display: block; width: 100%; height: auto; max-height: 480px; object-fit: contain; background: var(--warm); box-shadow: 0 12px 30px #1d191225; }
.record-cover figcaption { margin-top: 10px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.record-content h1 { margin: 8px 0 10px; font-size: clamp(29px, 4vw, 46px); line-height: 1.03; letter-spacing: -.045em; }
.copy-locations h2, .more-about h2, .public-notes h2 { font-size: 15px; margin: 28px 0 12px; }
.location-box code { display: block; margin-top: 9px; color: var(--muted); font-size: 10px; }
.more-about { margin-top: 26px; }
.more-about__heading h2 { margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: .07em; }
.record-content .primary-button { margin-top: 28px; }
.request-note { color: var(--muted); font-size: 10px; line-height: 1.45; }
.status--availability { font-weight: 800; }
.status--availability-available { border-color: #98c8b0; background: #e5f3eb; color: #08683f; }
.status--availability-loaned { border-color: #d9aaa5; background: #f6e6e3; color: #9d271f; }
.status--availability-unknown { border-color: var(--line); background: #f3f1eb; color: var(--muted); }
.availability-inline { font-weight: 750; }
.availability-inline--available { color: #08734a; }
.availability-inline--loaned { color: var(--red-dark); }
.availability-inline--unknown { color: var(--muted); }
.location-box--loaned { border-color: #d9aaa5; background: #fbf1ef; }
.copy-status { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.copy-status code, .location-box .copy-status code { margin: 0; padding: 0; border: 0; }
.copy-availability { font-size: 10px; font-weight: 750; text-align: right; }
.copy-availability--available { color: #08734a; }
.copy-availability--loaned { color: var(--red-dark); }
.copy-availability--unknown { color: var(--muted); }
.shelf-items .shelf-item em { display: block; margin-top: 8px; color: var(--muted); font-size: 9px; font-style: normal; font-weight: 750; }
.shelf-items .shelf-item--available em { color: #08734a; }
.shelf-items .shelf-item--loaned { background: #fbf1ef; }
.shelf-items .shelf-item--loaned em { color: var(--red-dark); }
.permanent-index, .text-page { min-height: 70vh; padding: 55px 0 80px; }
.permanent-index h1, .text-page h1 { margin: 18px 0 10px; font-size: clamp(34px, 5vw, 55px); letter-spacing: -.045em; }
.permanent-index ol { list-style: none; margin: 30px 0 0; padding: 0; border-top: 1px solid var(--line); }
.permanent-index li { border-bottom: 1px solid var(--line); }
.permanent-index li a { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 12px 0; color: inherit; text-decoration: none; }
.permanent-index li b { color: var(--red); font: 11px var(--mono); }
.narrow-shell { max-width: 760px; }
[hidden] { display: none !important; }
@media (max-width: 760px) {
  .record-layout { grid-template-columns: 1fr; gap: 28px; padding: 26px; }
  .record-layout > div:first-child { max-width: 170px; }
  .permanent-index li a { grid-template-columns: 94px 1fr; }
}
