/* [project]/src/components/discovery/LibraryShelf.module.css [app-client] (css) */
.LibraryShelf-module__R4znEG__presentation {
  --shelf-accent: var(--profile-accent, var(--profile-text, #75582f));
}

.LibraryShelf-module__R4znEG__toolbar {
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  margin: 18px 0;
  display: flex;
}

.LibraryShelf-module__R4znEG__toolbar form {
  flex: 500px;
  margin: 0;
}

.LibraryShelf-module__R4znEG__viewSwitch {
  border: 1px solid color-mix(in srgb,currentColor 22%,transparent);
  border-radius: 9px;
  align-items: center;
  gap: 3px;
  padding: 3px;
  display: flex;
}

.LibraryShelf-module__R4znEG__viewSwitch button {
  min-height: 36px;
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  font-size: 12px;
  display: flex;
}

.LibraryShelf-module__R4znEG__viewSwitch button[aria-pressed="true"] {
  background: color-mix(in srgb,var(--shelf-accent) 24%,transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb,var(--shelf-accent) 45%,transparent);
  font-weight: 700;
}

.LibraryShelf-module__R4znEG__viewSwitch button:hover {
  background: color-mix(in srgb,currentColor 10%,transparent);
}

.LibraryShelf-module__R4znEG__books {
  margin: 0;
  padding: 0;
  list-style: none;
}

.LibraryShelf-module__R4znEG__columnLabels, .LibraryShelf-module__R4znEG__entry {
  grid-template-columns: minmax(210px, 1fr) 148px minmax(100px, 160px) 124px;
  align-items: center;
  column-gap: 24px;
  display: grid;
}

.LibraryShelf-module__R4znEG__columnLabels {
  opacity: .62;
  padding: 0 16px 9px;
  font-size: 11px;
}

.LibraryShelf-module__R4znEG__entry {
  border: 1px solid #0000;
  border-bottom-color: color-mix(in srgb,currentColor 13%,transparent);
  background: var(--lb-card-bg, var(--profile-panel));
  grid-template-areas: "identity status progress actions";
  min-width: 0;
  padding: 12px 16px;
  position: relative;
}

.LibraryShelf-module__R4znEG__presentation[data-library-view="list"] .LibraryShelf-module__R4znEG__entry:first-child {
  border-radius: 12px 12px 0 0;
}

.LibraryShelf-module__R4znEG__presentation[data-library-view="list"] .LibraryShelf-module__R4znEG__entry:last-child {
  border-bottom-color: #0000;
  border-radius: 0 0 12px 12px;
}

.LibraryShelf-module__R4znEG__presentation[data-library-view="list"] .LibraryShelf-module__R4znEG__entry:only-child {
  border-radius: 12px;
}

.LibraryShelf-module__R4znEG__entry:hover {
  background: color-mix(in srgb,var(--profile-text, #26221c) 4%,var(--lb-card-bg, var(--profile-panel)));
}

.LibraryShelf-module__R4znEG__identity {
  grid-area: identity;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-width: 0;
  display: grid;
}

.LibraryShelf-module__R4znEG__cover {
  grid-area: cover;
  width: 100%;
  display: block;
}

.LibraryShelf-module__R4znEG__identity > .LibraryShelf-module__R4znEG__cover {
  grid-area: auto;
}

.LibraryShelf-module__R4znEG__identityText {
  grid-area: copy;
  min-width: 0;
}

.LibraryShelf-module__R4znEG__identity > .LibraryShelf-module__R4znEG__identityText {
  grid-area: auto;
}

.LibraryShelf-module__R4znEG__titleLine {
  align-items: flex-start;
  gap: 5px;
  display: flex;
}

.LibraryShelf-module__R4znEG__titleLine h3 {
  overflow-wrap: anywhere;
  flex: 1;
  min-width: 0;
  margin: 0;
  font: 400 17px / 1.3 Georgia, serif;
}

.LibraryShelf-module__R4znEG__titleLine h3 a {
  color: inherit;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-decoration: none;
  display: -webkit-box;
  overflow: hidden;
}

.LibraryShelf-module__R4znEG__titleLine h3 a:hover {
  text-underline-offset: 3px;
  text-decoration: underline;
}

.LibraryShelf-module__R4znEG__identityText .LibraryShelf-module__R4znEG__author {
  opacity: .72;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 3px 0 0;
  font-size: 12px;
  line-height: 1.4;
  overflow: hidden;
}

.LibraryShelf-module__R4znEG__bookMeta {
  align-items: center;
  gap: 7px;
  min-height: 16px;
  margin-top: 5px;
  font-size: 10px;
  display: flex;
}

.LibraryShelf-module__R4znEG__bookMeta time {
  opacity: .55;
}

.LibraryShelf-module__R4znEG__newBadge {
  background: color-mix(in srgb,var(--shelf-accent) 22%,transparent);
  border: 1px solid color-mix(in srgb,var(--shelf-accent) 55%,transparent);
  border-radius: 10px;
  align-items: center;
  gap: 4px;
  padding: 1px 6px;
  font-weight: 700;
  line-height: 1.3;
  display: inline-flex;
}

.LibraryShelf-module__R4znEG__newBadge:before {
  content: "";
  background: currentColor;
  border-radius: 50%;
  width: 4px;
  height: 4px;
}

.LibraryShelf-module__R4znEG__readingProgress {
  font-variant-numeric: tabular-nums;
  grid-area: progress;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 11px;
  display: flex;
}

.LibraryShelf-module__R4znEG__readingProgress progress {
  appearance: none;
  background: color-mix(in srgb,currentColor 15%,transparent);
  border: 0;
  border-radius: 6px;
  width: 100%;
  min-width: 0;
  height: 5px;
  overflow: hidden;
}

.LibraryShelf-module__R4znEG__readingProgress progress::-webkit-progress-bar {
  background: color-mix(in srgb,currentColor 15%,transparent);
}

.LibraryShelf-module__R4znEG__readingProgress progress::-webkit-progress-value {
  background: var(--shelf-accent);
  border-radius: 6px;
}

.LibraryShelf-module__R4znEG__readingProgress progress::-moz-progress-bar {
  background: var(--shelf-accent);
  border-radius: 6px;
}

.LibraryShelf-module__R4znEG__readingProgress span {
  text-align: right;
  min-width: 30px;
}

.LibraryShelf-module__R4znEG__presentation .LibraryShelf-module__R4znEG__stateSelect {
  border-radius: 20px;
  grid-area: status;
  width: 100%;
  min-width: 0;
  min-height: 34px;
  padding: 6px 9px;
  font-size: 12px;
}

.LibraryShelf-module__R4znEG__presentation .LibraryShelf-module__R4znEG__stateSelect[data-state="reading"], .LibraryShelf-module__R4znEG__presentation .LibraryShelf-module__R4znEG__stateSelect[data-state="finished"] {
  border-color: color-mix(in srgb,var(--shelf-accent) 55%,transparent);
  background: color-mix(in srgb,var(--shelf-accent) 12%,transparent);
}

.LibraryShelf-module__R4znEG__actions {
  grid-area: actions;
  justify-content: flex-end;
  align-items: center;
  gap: 2px;
  display: flex;
}

.LibraryShelf-module__R4znEG__iconButton {
  width: 40px;
  height: 38px;
  color: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 7px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  padding: 0;
  display: inline-flex;
}

.LibraryShelf-module__R4znEG__iconButton:hover, .LibraryShelf-module__R4znEG__iconButton[aria-expanded="true"] {
  background: color-mix(in srgb,currentColor 9%,transparent);
}

.LibraryShelf-module__R4znEG__iconButton[aria-pressed="true"] {
  color: var(--profile-accent-strong, var(--shelf-accent, currentColor));
}

.LibraryShelf-module__R4znEG__iconButton:disabled {
  opacity: .45;
  cursor: default;
}

.LibraryShelf-module__R4znEG__infoButton {
  opacity: .65;
  width: 28px;
  height: 28px;
  margin-top: -3px;
}

.LibraryShelf-module__R4znEG__infoButton:hover, .LibraryShelf-module__R4znEG__infoButton[aria-expanded="true"] {
  opacity: 1;
}

.LibraryShelf-module__R4znEG__failure {
  grid-column: 1 / -1;
  padding-top: 6px;
}

.LibraryShelf-module__R4znEG__unavailableCover {
  aspect-ratio: 5 / 7;
  opacity: .5;
  border: 1px dashed;
  border-radius: 5px;
  place-items: center;
  display: grid;
}

.LibraryShelf-module__R4znEG__entry[data-library-notice] {
  border-color: color-mix(in srgb,var(--shelf-accent) 55%,transparent);
  border-radius: 10px;
}

.LibraryShelf-module__R4znEG__entry[data-library-notice]:after {
  content: "";
  pointer-events: none;
  border: 2px solid var(--shelf-accent);
  border-radius: inherit;
  background: color-mix(in srgb,var(--shelf-accent) 8%,transparent);
  opacity: .12;
  position: absolute;
  inset: -1px;
}

.LibraryShelf-module__R4znEG__entry[data-arrived="true"]:after {
  animation: 2.2s ease-in-out 3 LibraryShelf-module__R4znEG__arrivalGlow;
}

@keyframes LibraryShelf-module__R4znEG__arrivalGlow {
  0%, 100% {
    opacity: .12;
  }

  50% {
    opacity: .7;
  }
}

.LibraryShelf-module__R4znEG__presentation[data-library-view="cards"] .LibraryShelf-module__R4znEG__columnLabels {
  display: none;
}

.LibraryShelf-module__R4znEG__presentation[data-library-view="cards"] .LibraryShelf-module__R4znEG__books {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  display: grid;
}

.LibraryShelf-module__R4znEG__presentation[data-library-view="cards"] .LibraryShelf-module__R4znEG__entry {
  border: 1px solid color-mix(in srgb,currentColor 17%,transparent);
  border-radius: 12px;
  grid-template-columns: 90px minmax(0, 1fr) 116px;
  grid-template-areas: "cover copy copy"
                       "cover progress progress"
                       "cover status actions";
  align-content: center;
  gap: 10px 16px;
  padding: 16px;
}

.LibraryShelf-module__R4znEG__presentation[data-library-view="cards"] .LibraryShelf-module__R4znEG__identity {
  display: contents;
}

.LibraryShelf-module__R4znEG__presentation[data-library-view="cards"] .LibraryShelf-module__R4znEG__identity > .LibraryShelf-module__R4znEG__cover {
  grid-area: cover;
  align-self: center;
}

.LibraryShelf-module__R4znEG__presentation[data-library-view="cards"] .LibraryShelf-module__R4znEG__identity > .LibraryShelf-module__R4znEG__identityText {
  grid-area: copy;
}

.LibraryShelf-module__R4znEG__presentation[data-library-view="cards"] .LibraryShelf-module__R4znEG__readingProgress {
  min-height: 18px;
}

.LibraryShelf-module__R4znEG__presentation[data-library-view="cards"] .LibraryShelf-module__R4znEG__iconButton {
  width: 36px;
}

.LibraryShelf-module__R4znEG__presentation[data-library-view="cards"] .LibraryShelf-module__R4znEG__infoButton {
  width: 28px;
}

.LibraryShelf-module__R4znEG__popup {
  --shelf-accent: var(--profile-accent, var(--profile-text, #75582f));
  width: min(380px, 100vw - 24px);
  color: var(--profile-text, #26221c);
  background: var(--profile-panel-solid, #faf5eb);
  border: 1px solid color-mix(in srgb,currentColor 22%,transparent);
  padding: 16px;
  font: 14px / 1.55 Arial, Helvetica, sans-serif;
}

.LibraryShelf-module__R4znEG__popupHeader {
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
  display: flex;
}

.LibraryShelf-module__R4znEG__popupHeader h2 {
  overflow-wrap: anywhere;
  flex: 1;
  min-width: 0;
  margin: 3px 0 0;
  font: 400 21px / 1.25 Georgia, serif;
}

.LibraryShelf-module__R4znEG__popupHeader .LibraryShelf-module__R4znEG__iconButton {
  margin-top: -6px;
  margin-right: -8px;
}

.LibraryShelf-module__R4znEG__previewAuthor {
  opacity: .7;
  margin: 0 0 14px;
  font-size: 12px;
}

.LibraryShelf-module__R4znEG__annotation {
  white-space: pre-line;
  overflow-wrap: anywhere;
  margin: 0;
  line-height: 1.65;
}

.LibraryShelf-module__R4znEG__openBook {
  min-height: 40px;
  color: inherit;
  text-underline-offset: 4px;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 13px;
  text-decoration: underline;
  display: inline-flex;
}

.LibraryShelf-module__R4znEG__settingsFields {
  gap: 16px;
  padding-top: 5px;
  display: grid;
}

.LibraryShelf-module__R4znEG__settingsFields label {
  align-items: center;
  gap: 9px;
  display: flex;
}

.LibraryShelf-module__R4znEG__settingsFields input {
  accent-color: var(--shelf-accent);
  width: 16px;
  height: 16px;
}

.LibraryShelf-module__R4znEG__settingsFields select {
  background: var(--sf-input-bg, #fff1);
  width: 100%;
  min-width: 0;
  min-height: 40px;
  color: inherit;
  border: 1px solid color-mix(in srgb,currentColor 30%,transparent);
  font: inherit;
  color-scheme: var(--sf-color-scheme, light);
  border-radius: 7px;
  padding: 7px;
  font-size: 13px;
}

.LibraryShelf-module__R4znEG__settingsFields option {
  background: var(--profile-panel-solid, #faf5eb);
  color: var(--profile-text, #26221c);
}

.LibraryShelf-module__R4znEG__popupNote {
  opacity: .7;
  margin: 0;
  font-size: 12px;
}

.LibraryShelf-module__R4znEG__confirmActions {
  gap: 8px;
  margin-top: 14px;
  display: flex;
}

.LibraryShelf-module__R4znEG__confirmActions button {
  border: 1px solid color-mix(in srgb,currentColor 30%,transparent);
  min-height: 40px;
  color: inherit;
  font: inherit;
  cursor: pointer;
  background: none;
  border-radius: 7px;
  flex: 1;
  padding: 8px 12px;
}

.LibraryShelf-module__R4znEG__confirmActions button:hover {
  background: color-mix(in srgb,currentColor 9%,transparent);
}

.LibraryShelf-module__R4znEG__confirmActions button:disabled {
  opacity: .5;
}

.LibraryShelf-module__R4znEG__popup :is(a, button, input, select):focus-visible, .LibraryShelf-module__R4znEG__presentation :is(a, button, select):focus-visible {
  outline-offset: 3px;
  outline: 2px solid;
}

@media (max-width: 1100px) {
  .LibraryShelf-module__R4znEG__columnLabels, .LibraryShelf-module__R4znEG__entry {
    grid-template-columns: minmax(170px, 1fr) 140px minmax(85px, 120px) 116px;
    column-gap: 14px;
  }

  .LibraryShelf-module__R4znEG__actions .LibraryShelf-module__R4znEG__iconButton {
    width: 36px;
  }

  .LibraryShelf-module__R4znEG__presentation[data-library-view="cards"] .LibraryShelf-module__R4znEG__entry {
    grid-template-columns: 74px minmax(0, 1fr) 108px;
    gap: 9px 12px;
    padding: 14px;
  }

  .LibraryShelf-module__R4znEG__presentation[data-library-view="cards"] .LibraryShelf-module__R4znEG__stateSelect {
    padding-inline: 7px;
    font-size: 11px;
  }
}

@media (max-width: 850px) {
  .LibraryShelf-module__R4znEG__presentation[data-library-view="cards"] .LibraryShelf-module__R4znEG__books {
    grid-template-columns: 1fr;
  }

  .LibraryShelf-module__R4znEG__presentation[data-library-view="cards"] .LibraryShelf-module__R4znEG__entry {
    grid-template-columns: 90px minmax(0, 1fr) 120px;
  }

  .LibraryShelf-module__R4znEG__columnLabels {
    display: none;
  }

  .LibraryShelf-module__R4znEG__presentation[data-library-view="list"] .LibraryShelf-module__R4znEG__entry {
    grid-template-columns: 58px minmax(0, 1fr) 112px;
    grid-template-areas: "cover copy copy"
                         "cover progress progress"
                         "cover status actions";
    gap: 5px 12px;
    padding: 12px;
  }

  .LibraryShelf-module__R4znEG__presentation[data-library-view="list"] .LibraryShelf-module__R4znEG__identity {
    display: contents;
  }

  .LibraryShelf-module__R4znEG__presentation[data-library-view="list"] .LibraryShelf-module__R4znEG__identity > .LibraryShelf-module__R4znEG__cover {
    grid-area: cover;
    align-self: center;
  }

  .LibraryShelf-module__R4znEG__presentation[data-library-view="list"] .LibraryShelf-module__R4znEG__identity > .LibraryShelf-module__R4znEG__identityText {
    grid-area: copy;
  }
}

@media (max-width: 480px) {
  .LibraryShelf-module__R4znEG__toolbar {
    gap: 12px;
  }

  .LibraryShelf-module__R4znEG__toolbar form {
    flex-basis: 100%;
  }

  .LibraryShelf-module__R4znEG__viewSwitch {
    margin-left: auto;
  }

  .LibraryShelf-module__R4znEG__presentation[data-library-view="list"] .LibraryShelf-module__R4znEG__entry {
    grid-template-columns: 48px minmax(0, 1fr) 108px;
    grid-template-areas: "cover copy copy"
                         "cover progress progress"
                         "status status actions";
    gap: 5px 10px;
    padding: 10px;
  }

  .LibraryShelf-module__R4znEG__presentation[data-library-view="cards"] .LibraryShelf-module__R4znEG__entry {
    grid-template-columns: 76px minmax(0, 1fr) 108px;
    grid-template-areas: "cover copy copy"
                         "cover progress progress"
                         "status status actions";
    gap: 9px 12px;
    padding: 12px;
  }

  .LibraryShelf-module__R4znEG__presentation[data-library-view="cards"] .LibraryShelf-module__R4znEG__books {
    gap: 12px;
  }

  .LibraryShelf-module__R4znEG__titleLine h3 {
    font-size: 16px;
  }

  .LibraryShelf-module__R4znEG__identityText .LibraryShelf-module__R4znEG__author {
    font-size: 11px;
  }

  .LibraryShelf-module__R4znEG__bookMeta {
    margin-top: 3px;
  }

  .LibraryShelf-module__R4znEG__presentation .LibraryShelf-module__R4znEG__stateSelect {
    justify-self: start;
    width: auto;
    max-width: 100%;
    min-height: 34px;
    padding-inline: 8px;
    font-size: 11px;
  }

  .LibraryShelf-module__R4znEG__readingProgress {
    gap: 7px;
    min-height: 15px;
    font-size: 10px;
  }

  .LibraryShelf-module__R4znEG__iconButton {
    height: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .LibraryShelf-module__R4znEG__entry[data-arrived="true"]:after {
    opacity: .2;
    animation: none;
  }
}

@media (max-width: 767px), (max-width: 1200px) and (max-height: 600px) and (orientation: landscape) {
  .LibraryShelf-module__R4znEG__presentation[data-library-view="list"] .LibraryShelf-module__R4znEG__entry {
    grid-template-columns: 42px minmax(0, 1fr) 44px;
    grid-template-areas: "cover copy actions"
                         "cover status actions"
                         "cover progress actions";
    gap: 3px 9px;
    padding: 9px 6px;
  }

  .LibraryShelf-module__R4znEG__presentation[data-library-view="list"] .LibraryShelf-module__R4znEG__titleLine h3 {
    font-size: 15px;
  }

  .LibraryShelf-module__R4znEG__presentation[data-library-view="list"] .LibraryShelf-module__R4znEG__bookMeta {
    display: none;
  }

  .LibraryShelf-module__R4znEG__presentation[data-library-view="list"] .LibraryShelf-module__R4znEG__actions {
    flex-direction: column;
    gap: 0;
  }

  .LibraryShelf-module__R4znEG__presentation[data-library-view="list"] .LibraryShelf-module__R4znEG__actions .LibraryShelf-module__R4znEG__iconButton {
    width: 44px;
    height: 38px;
  }

  .LibraryShelf-module__R4znEG__presentation[data-library-view="list"] .LibraryShelf-module__R4znEG__actions .LibraryShelf-module__R4znEG__iconButton:nth-child(2) {
    display: none;
  }

  .LibraryShelf-module__R4znEG__presentation[data-library-view="list"] .LibraryShelf-module__R4znEG__stateSelect {
    border-radius: 6px;
    width: 100%;
    min-height: 32px;
    padding: 3px 6px;
    font-size: 11px;
  }

  .LibraryShelf-module__R4znEG__presentation[data-library-view="list"] .LibraryShelf-module__R4znEG__readingProgress {
    gap: 6px;
    font-size: 10px;
  }

  .LibraryShelf-module__R4znEG__presentation[data-library-view="list"] .LibraryShelf-module__R4znEG__identityText .LibraryShelf-module__R4znEG__author {
    font-size: 11px;
  }
}

.LibraryShelf-module__R4znEG__compactRemove {
  display: none;
}

@media (max-width: 767px), (max-width: 1200px) and (max-height: 600px) and (orientation: landscape) {
  .LibraryShelf-module__R4znEG__compactRemove {
    display: inline-flex;
  }
}

@media (max-width: 1200px) and (max-height: 600px) and (orientation: landscape) {
  .LibraryShelf-module__R4znEG__toolbar {
    gap: 10px;
    margin-block: 10px;
  }

  .LibraryShelf-module__R4znEG__toolbar form {
    flex: 380px;
  }
}

@media (max-width: 767px), (max-width: 1200px) and (max-height: 600px) and (orientation: landscape) {
  .LibraryShelf-module__R4znEG__presentation[data-library-view="list"] .LibraryShelf-module__R4znEG__identity {
    display: contents;
  }

  .LibraryShelf-module__R4znEG__presentation[data-library-view="list"] .LibraryShelf-module__R4znEG__identity > .LibraryShelf-module__R4znEG__cover {
    grid-area: cover;
    align-self: center;
  }

  .LibraryShelf-module__R4znEG__presentation[data-library-view="list"] .LibraryShelf-module__R4znEG__identity > .LibraryShelf-module__R4znEG__identityText {
    grid-area: copy;
  }

  .LibraryShelf-module__R4znEG__presentation[data-library-view="list"] .LibraryShelf-module__R4znEG__columnLabels {
    display: none;
  }
}

@media (max-width: 1200px) and (max-height: 600px) and (orientation: landscape) {
  .LibraryShelf-module__R4znEG__libraryViewport {
    height: 100%;
  }

  .LibraryShelf-module__R4znEG__workspace {
    flex: 1;
    grid-template-columns: clamp(170px, 23vw, 240px) minmax(0, 1fr);
    gap: 20px;
    min-height: 0;
    display: grid;
  }

  .LibraryShelf-module__R4znEG__tools, .LibraryShelf-module__R4znEG__results {
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-gutter: stable;
    scrollbar-color: color-mix(in srgb,currentColor 30%,transparent) transparent;
    min-width: 0;
    min-height: 0;
    padding-inline-end: 10px;
    overflow: auto;
  }

  .LibraryShelf-module__R4znEG__tools {
    border-right: 1px solid color-mix(in srgb,currentColor 14%,transparent);
    padding-inline-end: 16px;
  }

  .LibraryShelf-module__R4znEG__tools nav {
    display: flex;
    flex-wrap: wrap !important;
    gap: 2px 12px !important;
    overflow: visible !important;
  }

  .LibraryShelf-module__R4znEG__tools nav a {
    padding-block: 6px !important;
  }

  .LibraryShelf-module__R4znEG__toolbar {
    margin: 10px 0 0;
    display: block;
  }

  .LibraryShelf-module__R4znEG__toolbar form {
    gap: 10px;
    display: grid;
  }

  .LibraryShelf-module__R4znEG__toolbar form button {
    justify-self: start;
  }

  .LibraryShelf-module__R4znEG__viewSwitch {
    width: max-content;
    max-width: 100%;
    margin-top: 12px;
  }
}

/* [project]/src/components/discovery/Library.module.css [app-client] (css) */
.Library-module__MP-CcW__page {
  --lb-bg: var(--profile-panel-solid, var(--profile-bg, #f4f0e7));
  --lb-ink: var(--profile-text, #26221c);
  color: var(--lb-ink);
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 28px clamp(16px, 3vw, 40px) 60px;
  font: 15px / 1.5 Arial, Helvetica, sans-serif;
}

.Library-module__MP-CcW__heading {
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  display: flex;
}

.Library-module__MP-CcW__heading h1 {
  margin: 0 0 8px;
  font: 400 clamp(26px, 3vw, 36px) / 1.2 Georgia, serif;
}

.Library-module__MP-CcW__muted {
  opacity: .72;
  font-size: 13px;
}

.Library-module__MP-CcW__page a {
  color: inherit;
}

.Library-module__MP-CcW__link {
  text-underline-offset: 4px;
  align-items: center;
  gap: 7px;
  text-decoration: underline;
  display: inline-flex;
}

.Library-module__MP-CcW__tabs {
  border-bottom: 1px solid color-mix(in srgb,currentColor 22%,transparent);
  flex-wrap: wrap;
  gap: 4px 22px;
  margin: 0 0 24px;
  display: flex;
}

.Library-module__MP-CcW__tabs a {
  border-bottom: 3px solid #0000;
  padding: 12px 1px;
  font-size: 14px;
  text-decoration: none;
}

.Library-module__MP-CcW__tabs a[aria-current="page"] {
  border-bottom-color: currentColor;
  font-weight: 700;
}

.Library-module__MP-CcW__tabs small {
  opacity: .65;
  margin-left: 6px;
}

.Library-module__MP-CcW__filters {
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  margin: 18px 0 28px;
  display: flex;
}

.Library-module__MP-CcW__filters label {
  gap: 5px;
  font-size: 12px;
  display: grid;
}

.Library-module__MP-CcW__filters label:first-child {
  flex: 220px;
}

.Library-module__MP-CcW__page input[type="search"], .Library-module__MP-CcW__page input[type="text"], .Library-module__MP-CcW__page select {
  min-height: 40px;
  color: var(--lb-ink);
  background: var(--sf-input-bg, color-mix(in srgb,currentColor 10%,transparent));
  border: 1px solid color-mix(in srgb,currentColor 30%,transparent);
  font: inherit;
  border-radius: 7px;
  min-width: 0;
  max-width: 100%;
  padding: 8px 10px;
}

.Library-module__MP-CcW__button {
  border: 1px solid color-mix(in srgb,currentColor 30%,transparent);
  min-height: 38px;
  color: inherit;
  font: inherit;
  cursor: pointer;
  background: none;
  border-radius: 7px;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  font-size: 13px;
  text-decoration: none;
  display: inline-flex;
}

.Library-module__MP-CcW__button:hover {
  background: color-mix(in srgb,currentColor 8%,transparent);
}

.Library-module__MP-CcW__button:disabled {
  opacity: .5;
  cursor: default;
}

.Library-module__MP-CcW__page .Library-module__MP-CcW__primary {
  color: var(--lb-bg);
  background: var(--lb-ink);
  border-color: var(--lb-ink);
}

.Library-module__MP-CcW__grid {
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 32px 24px;
  padding: 0;
  list-style: none;
  display: grid;
}

.Library-module__MP-CcW__item {
  border: 1px solid color-mix(in srgb,currentColor 16%,transparent);
  background: var(--lb-card-bg, color-mix(in srgb,var(--lb-bg) 94%,transparent));
  min-width: 0;
  -webkit-backdrop-filter: var(--lb-card-backdrop, none);
  backdrop-filter: var(--lb-card-backdrop, none);
  border-radius: 12px;
  padding: 18px 12px 12px;
}

.Library-module__MP-CcW__item p {
  margin: 8px 0;
}

.Library-module__MP-CcW__item [class*="text-neutral"] {
  color: inherit;
  opacity: .7;
}

.Library-module__MP-CcW__controls {
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  font-size: 12px;
  display: flex;
}

.Library-module__MP-CcW__controls select {
  width: 100%;
  font-size: 12px;
}

.Library-module__MP-CcW__controls details {
  width: 100%;
}

.Library-module__MP-CcW__controls summary {
  cursor: pointer;
  padding: 6px 0;
}

.Library-module__MP-CcW__controls details[open] {
  gap: 7px;
  display: grid;
}

.Library-module__MP-CcW__error {
  width: 100%;
  margin: 6px 0;
  font-size: 12px;
}

.Library-module__MP-CcW__empty {
  border: 1px dashed color-mix(in srgb,currentColor 26%,transparent);
  text-align: center;
  background: var(--lb-card-bg, color-mix(in srgb,var(--lb-bg) 90%,transparent));
  -webkit-backdrop-filter: var(--lb-card-backdrop, none);
  backdrop-filter: var(--lb-card-backdrop, none);
  border-radius: 12px;
  padding: 42px 24px;
}

.Library-module__MP-CcW__empty h2 {
  margin: 0 0 12px;
  font: 400 24px Georgia, serif;
}

.Library-module__MP-CcW__empty p {
  max-width: 480px;
  margin: 8px auto 20px;
}

.Library-module__MP-CcW__unavailable {
  text-align: center;
  border: 1px dashed color-mix(in srgb,currentColor 22%,transparent);
  border-radius: 8px;
  place-content: center;
  min-height: 250px;
  padding: 20px 10px;
  display: grid;
}

.Library-module__MP-CcW__unavailable svg {
  opacity: .6;
  margin: 0 auto 16px;
}

.Library-module__MP-CcW__progress {
  accent-color: currentColor;
  width: 100%;
  height: 4px;
  margin-top: 12px;
  display: block;
}

.Library-module__MP-CcW__collectionGrid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
  padding: 0;
  list-style: none;
  display: grid;
}

.Library-module__MP-CcW__collection {
  border: 1px solid color-mix(in srgb,currentColor 20%,transparent);
  background: var(--lb-card-bg, color-mix(in srgb,var(--lb-bg) 94%,transparent));
  -webkit-backdrop-filter: var(--lb-card-backdrop, none);
  backdrop-filter: var(--lb-card-backdrop, none);
  border-radius: 12px;
  padding: 22px;
}

.Library-module__MP-CcW__collection h2 {
  overflow-wrap: anywhere;
  margin-bottom: 8px;
  font: 400 22px / 1.3 Georgia, serif;
}

.Library-module__MP-CcW__collection details {
  margin-top: 14px;
  font-size: 13px;
}

.Library-module__MP-CcW__collection form {
  gap: 10px;
  margin-top: 12px;
  display: grid;
}

.Library-module__MP-CcW__pagination {
  justify-content: center;
  margin-top: 36px;
  display: flex;
}

.Library-module__MP-CcW__checkbox {
  align-items: center;
  gap: 7px;
  display: flex;
}

.Library-module__MP-CcW__checkbox input {
  accent-color: var(--lb-ink);
}

.Library-module__MP-CcW__page {
  background: color-mix(in srgb,var(--lb-bg) 97%,transparent);
  border: 1px solid color-mix(in srgb,var(--lb-ink) 16%,transparent);
  border-radius: 14px;
  width: min(1280px, 100% - 32px);
  margin: 20px auto;
}

.Library-module__MP-CcW__progress {
  appearance: none;
  background: color-mix(in srgb,currentColor 20%,transparent);
  border: 0;
  border-radius: 3px;
  overflow: hidden;
}

.Library-module__MP-CcW__progress::-webkit-progress-bar {
  background: color-mix(in srgb,var(--lb-ink) 20%,transparent);
}

.Library-module__MP-CcW__progress::-webkit-progress-value {
  background: var(--lb-ink);
  border-radius: 3px;
}

.Library-module__MP-CcW__progress::-moz-progress-bar {
  background: var(--lb-ink);
  border-radius: 3px;
}

@media (max-width: 600px) {
  .Library-module__MP-CcW__page {
    width: calc(100% - 16px);
    margin: 12px auto;
    padding-left: 12px;
    padding-right: 12px;
  }

  .Library-module__MP-CcW__heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .Library-module__MP-CcW__page {
    padding-top: 20px;
  }

  .Library-module__MP-CcW__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
  }

  .Library-module__MP-CcW__item {
    padding: 12px 8px;
  }

  .Library-module__MP-CcW__controls {
    gap: 5px;
  }

  .Library-module__MP-CcW__controls .Library-module__MP-CcW__button {
    padding: 7px;
    font-size: 12px;
  }

  .Library-module__MP-CcW__tabs {
    gap: 0 16px;
  }

  .Library-module__MP-CcW__tabs a {
    font-size: 13px;
  }

  .Library-module__MP-CcW__filters {
    gap: 10px;
  }

  .Library-module__MP-CcW__unavailable {
    min-height: 210px;
  }
}

.Library-module__MP-CcW__page.Library-module__MP-CcW__discoveryPage {
  --lb-card-bg: var(--profile-panel);
  --lb-card-backdrop: blur(var(--blur-sm, 8px));
  background: var(--profile-panel, color-mix(in srgb, var(--lb-bg) 97%, transparent));
  -webkit-backdrop-filter: var(--glass-backdrop, none);
  backdrop-filter: var(--glass-backdrop, none);
}

.Library-module__MP-CcW__page select {
  color-scheme: var(--sf-color-scheme, light);
}

.Library-module__MP-CcW__page select option {
  background: var(--sf-panel-opaque, var(--lb-bg));
  color: var(--sf-panel-opaque-ink, var(--lb-ink));
}

.Library-module__MP-CcW__bookItem {
  --lb-accent: var(--profile-accent, var(--lb-ink));
  flex-direction: column;
  display: flex;
  position: relative;
}

.Library-module__MP-CcW__cardEyebrow {
  align-items: center;
  gap: 8px;
  min-height: 24px;
  margin-bottom: 12px;
  font-size: 11px;
  display: flex;
}

.Library-module__MP-CcW__addedDate {
  opacity: .65;
  white-space: nowrap;
  margin-left: auto;
}

.Library-module__MP-CcW__newBadge {
  border: 1px solid color-mix(in srgb,var(--lb-accent) 55%,currentColor 15%);
  background: color-mix(in srgb,var(--lb-accent) 16%,transparent);
  border-radius: 20px;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  font-weight: 700;
  display: inline-flex;
}

.Library-module__MP-CcW__newBadge:before {
  content: "";
  background: currentColor;
  border-radius: 50%;
  width: 5px;
  height: 5px;
}

.Library-module__MP-CcW__bookInfo {
  flex: 1;
  min-width: 0;
}

.Library-module__MP-CcW__bookInfo h3 {
  height: 2.5em;
  overflow: hidden;
}

.Library-module__MP-CcW__bookInfo > a > div:last-child > div {
  align-content: start;
  height: 40px;
  overflow: hidden;
}

.Library-module__MP-CcW__bookInfo .Library-module__MP-CcW__author {
  -webkit-line-clamp: 2;
  overflow-wrap: anywhere;
  opacity: .75;
  -webkit-box-orient: vertical;
  min-height: 39px;
  max-height: 39px;
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.5;
  display: -webkit-box;
  overflow: hidden;
}

.Library-module__MP-CcW__progressSlot {
  min-height: 42px;
  margin-top: 14px;
}

.Library-module__MP-CcW__progressSlot .Library-module__MP-CcW__progress {
  height: 5px;
  margin-top: 0;
}

.Library-module__MP-CcW__progressSlot p {
  font-variant-numeric: tabular-nums;
  margin: 7px 0 0;
  font-size: 11px;
}

.Library-module__MP-CcW__completionSlot {
  align-items: center;
  min-height: 39px;
  font-size: 12px;
  display: flex;
}

.Library-module__MP-CcW__libraryControls {
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin-top: 8px;
  display: grid;
}

.Library-module__MP-CcW__libraryControls > small {
  min-height: 30px;
  font-size: 11px;
  line-height: 15px;
  display: block;
}

.Library-module__MP-CcW__cardActions {
  gap: 8px;
  display: flex;
}

.Library-module__MP-CcW__favoriteButton {
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}

.Library-module__MP-CcW__favoriteButton[aria-pressed="true"] {
  background: color-mix(in srgb,var(--lb-accent) 16%,transparent);
  border-color: color-mix(in srgb,var(--lb-accent) 60%,currentColor 20%);
}

.Library-module__MP-CcW__removeButton {
  flex: 0 0 38px;
  padding: 8px;
}

.Library-module__MP-CcW__removeButton:hover {
  color: var(--profile-text);
  background: #c84d5533;
}

.Library-module__MP-CcW__cardSettings {
  position: relative;
}

.Library-module__MP-CcW__cardSettings summary {
  opacity: .75;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  list-style: none;
  display: flex;
}

.Library-module__MP-CcW__cardSettings summary::-webkit-details-marker {
  display: none;
}

.Library-module__MP-CcW__controls .Library-module__MP-CcW__cardSettings[open] {
  display: block;
}

.Library-module__MP-CcW__cardSettings[open] summary {
  opacity: 1;
}

.Library-module__MP-CcW__settingsPanel, .Library-module__MP-CcW__removeConfirm {
  border: 1px solid color-mix(in srgb,currentColor 25%,transparent);
  background: var(--sf-panel-opaque, var(--lb-bg));
  color: var(--sf-panel-opaque-ink, var(--lb-ink));
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 6px 18px #0002;
}

.Library-module__MP-CcW__settingsPanel {
  z-index: 5;
  top: 100%;
  gap: 12px;
  display: grid;
  position: absolute;
  inset-inline: 0;
}

.Library-module__MP-CcW__removeConfirm {
  z-index: 6;
  inset-inline: 8px;
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
  position: absolute;
  bottom: 45px;
}

.Library-module__MP-CcW__removeConfirm p {
  width: 100%;
  margin: 0 0 5px;
  font-size: 12px;
}

.Library-module__MP-CcW__bookItem > .Library-module__MP-CcW__controls:not(.Library-module__MP-CcW__libraryControls) .Library-module__MP-CcW__button {
  width: 100%;
}

.Library-module__MP-CcW__bookItem > .Library-module__MP-CcW__controls:not(.Library-module__MP-CcW__libraryControls) {
  margin-top: auto;
  padding-top: 10px;
}

.Library-module__MP-CcW__bookItem[data-library-notice] {
  border-color: color-mix(in srgb,var(--lb-accent) 65%,currentColor 20%);
}

.Library-module__MP-CcW__bookItem[data-library-notice]:after {
  content: "";
  pointer-events: none;
  border: 2px solid var(--lb-accent);
  border-radius: inherit;
  background: color-mix(in srgb,var(--lb-accent) 8%,transparent);
  opacity: .12;
  position: absolute;
  inset: -1px;
}

.Library-module__MP-CcW__bookItem[data-arrived="true"]:after {
  animation: 2.2s ease-in-out 3 Library-module__MP-CcW__arrivalGlow;
}

@keyframes Library-module__MP-CcW__arrivalGlow {
  0%, 100% {
    opacity: .12;
  }

  50% {
    opacity: .7;
  }
}

.Library-module__MP-CcW__page :is(button, select, input, summary, a):focus-visible {
  outline-offset: 3px;
  outline: 2px solid;
}

@media (prefers-reduced-motion: reduce) {
  .Library-module__MP-CcW__bookItem[data-arrived="true"]:after {
    opacity: .2;
    animation: none;
  }
}

@media (max-width: 600px) {
  .Library-module__MP-CcW__cardActions {
    gap: 5px;
  }

  .Library-module__MP-CcW__cardActions .Library-module__MP-CcW__removeButton {
    flex-basis: 34px;
  }

  .Library-module__MP-CcW__cardActions .Library-module__MP-CcW__favoriteButton {
    gap: 4px;
    padding-inline: 4px;
    font-size: 11px;
  }

  .Library-module__MP-CcW__cardEyebrow {
    gap: 4px;
    font-size: 10px;
  }

  .Library-module__MP-CcW__newBadge {
    padding-inline: 5px;
  }

  .Library-module__MP-CcW__filters label {
    flex: 130px;
  }

  .Library-module__MP-CcW__bookInfo .Library-module__MP-CcW__author {
    min-height: 36px;
    max-height: 36px;
    font-size: 12px;
  }
}

.Library-module__MP-CcW__filters label:has(input[type="search"]) {
  flex: 220px;
}

.Library-module__MP-CcW__filters input[type="search"] {
  width: 100%;
}

@media (max-width: 1200px) and (max-height: 600px) and (orientation: landscape) {
  .Library-module__MP-CcW__page.Library-module__MP-CcW__discoveryPage {
    margin: 10px auto;
    padding: 16px 20px 24px;
  }

  .Library-module__MP-CcW__discoveryPage .Library-module__MP-CcW__heading {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
  }

  .Library-module__MP-CcW__discoveryPage .Library-module__MP-CcW__heading h1 {
    margin-bottom: 4px;
    font-size: 25px;
  }

  .Library-module__MP-CcW__discoveryPage .Library-module__MP-CcW__heading .Library-module__MP-CcW__muted {
    font-size: 12px;
  }

  .Library-module__MP-CcW__discoveryPage .Library-module__MP-CcW__tabs {
    scrollbar-width: thin;
    flex-wrap: nowrap;
    gap: 16px;
    margin-bottom: 12px;
    overflow: auto;
  }

  .Library-module__MP-CcW__discoveryPage .Library-module__MP-CcW__tabs a {
    flex: none;
    padding-block: 8px;
    font-size: 12px;
  }

  .Library-module__MP-CcW__discoveryPage .Library-module__MP-CcW__filters {
    gap: 8px;
    margin-block: 10px 14px;
  }

  .Library-module__MP-CcW__discoveryPage .Library-module__MP-CcW__filters label {
    flex: 140px;
  }

  .Library-module__MP-CcW__discoveryPage input[type="search"], .Library-module__MP-CcW__discoveryPage select {
    min-height: 36px;
    padding-block: 6px;
    font-size: 14px;
  }
}

@media (max-width: 767px), (max-width: 1200px) and (max-height: 600px) and (orientation: landscape) {
  .Library-module__MP-CcW__page.Library-module__MP-CcW__discoveryPage {
    width: calc(100% - 24px);
    min-height: 100%;
    margin: 0 auto;
    padding: 14px 16px;
  }

  .Library-module__MP-CcW__discoveryPage .Library-module__MP-CcW__heading {
    margin-bottom: 14px;
  }
}

@media (max-width: 1200px) and (max-height: 600px) and (orientation: landscape) {
  .Library-module__MP-CcW__page.Library-module__MP-CcW__discoveryPage {
    flex-direction: column;
    height: 100%;
    min-height: 0;
    display: flex;
    overflow: hidden;
  }

  .Library-module__MP-CcW__discoveryPage .Library-module__MP-CcW__heading {
    flex: none;
    margin-bottom: 12px;
  }

  .Library-module__MP-CcW__discoveryPage .Library-module__MP-CcW__heading h1 {
    font-size: 23px;
  }

  .Library-module__MP-CcW__discoveryPage .Library-module__MP-CcW__heading .Library-module__MP-CcW__muted {
    display: none;
  }
}

.Library-module__MP-CcW__saveBook {
  margin-top: 0;
}

.Library-module__MP-CcW__saveBook > button {
  background: var(--sf-panel-opaque, #f5f1e8);
  min-height: 38px;
  color: var(--sf-panel-opaque-ink, #292723);
}

.Library-module__MP-CcW__saveBook > button:disabled {
  opacity: 1;
}

/* [project]/src/components/discovery/Catalog.module.css [app-client] (css) */
.Catalog-module__cL4rwa__searchForm {
  margin: 0 0 20px;
}

.Catalog-module__cL4rwa__searchRow {
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  display: flex;
}

.Catalog-module__cL4rwa__searchRow label, .Catalog-module__cL4rwa__filterFields label {
  gap: 5px;
  min-width: 0;
  font-size: 12px;
  display: grid;
}

.Catalog-module__cL4rwa__searchRow .Catalog-module__cL4rwa__search {
  flex: 260px;
}

.Catalog-module__cL4rwa__searchRow input {
  width: 100%;
}

.Catalog-module__cL4rwa__searchRow .Catalog-module__cL4rwa__sort {
  flex: 0 190px;
}

.Catalog-module__cL4rwa__filters {
  border-bottom: 1px solid color-mix(in srgb,currentColor 18%,transparent);
  margin-top: 16px;
  padding-bottom: 16px;
}

.Catalog-module__cL4rwa__filters summary {
  cursor: pointer;
  width: fit-content;
  padding: 6px 0;
  font-size: 13px;
}

.Catalog-module__cL4rwa__filters summary span {
  opacity: .65;
  margin-left: 5px;
}

.Catalog-module__cL4rwa__filterFields {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
  display: grid;
}

.Catalog-module__cL4rwa__chips {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 12px;
  display: flex;
}

.Catalog-module__cL4rwa__chip {
  border: 1px solid color-mix(in srgb,currentColor 24%,transparent);
  background: var(--sf-input-bg);
  border-radius: 20px;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 5px 10px;
  text-decoration: none;
  display: inline-flex;
}

.Catalog-module__cL4rwa__chip span {
  overflow-wrap: anywhere;
  min-width: 0;
}

.Catalog-module__cL4rwa__chip svg {
  flex-shrink: 0;
}

.Catalog-module__cL4rwa__chip:hover {
  background: color-mix(in srgb,currentColor 12%,transparent);
}

.Catalog-module__cL4rwa__resultsBar {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  display: flex;
}

.Catalog-module__cL4rwa__resultsBar p {
  opacity: .65;
  margin: 0;
  font-size: 12px;
}

.Catalog-module__cL4rwa__books {
  margin: 0;
  padding: 0;
  list-style: none;
}

.Catalog-module__cL4rwa__columns, .Catalog-module__cL4rwa__entry {
  grid-template-columns: minmax(0, 1fr) 172px;
  align-items: center;
  gap: 24px;
  display: grid;
}

.Catalog-module__cL4rwa__columns {
  opacity: .62;
  padding: 0 16px 9px;
  font-size: 11px;
}

.Catalog-module__cL4rwa__entry {
  border-bottom: 1px solid color-mix(in srgb,currentColor 13%,transparent);
  background: var(--lb-card-bg, var(--profile-panel));
  min-width: 0;
  padding: 12px 16px;
}

.Catalog-module__cL4rwa__entry:first-child {
  border-radius: 12px 12px 0 0;
}

.Catalog-module__cL4rwa__entry:last-child {
  border-bottom-color: #0000;
  border-radius: 0 0 12px 12px;
}

.Catalog-module__cL4rwa__entry:only-child {
  border-radius: 12px;
}

.Catalog-module__cL4rwa__entry:hover {
  background: color-mix(in srgb,var(--profile-text, #26221c) 4%,var(--lb-card-bg, var(--profile-panel)));
}

[data-library-view] .Catalog-module__cL4rwa__books .Catalog-module__cL4rwa__entry > div:first-child {
  grid-area: auto;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 22px;
  display: grid;
}

[data-library-view] .Catalog-module__cL4rwa__books .Catalog-module__cL4rwa__entry > div:first-child > * {
  grid-area: auto;
}

.Catalog-module__cL4rwa__metadata {
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 12px;
  font-size: 11px;
  display: flex;
}

.Catalog-module__cL4rwa__completion {
  opacity: .75;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  display: inline-flex;
}

.Catalog-module__cL4rwa__completion:before {
  content: "";
  opacity: .4;
  background: currentColor;
  border-radius: 50%;
  flex-shrink: 0;
  width: 5px;
  height: 5px;
}

.Catalog-module__cL4rwa__completion[data-completed="true"]:before {
  opacity: 1;
  background: var(--shelf-accent);
}

.Catalog-module__cL4rwa__actions {
  min-width: 0;
}

.Catalog-module__cL4rwa__actions > div {
  margin: 0;
}

.Catalog-module__cL4rwa__actions button, .Catalog-module__cL4rwa__actions > a {
  width: 100%;
  min-height: 38px;
}

.Catalog-module__cL4rwa__actions button:disabled {
  opacity: .7;
}

.Catalog-module__cL4rwa__paging {
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  display: flex;
}

.Catalog-module__cL4rwa__paging nav {
  margin: 0;
}

[data-library-view="cards"] .Catalog-module__cL4rwa__columns {
  display: none;
}

[data-library-view="cards"] .Catalog-module__cL4rwa__books {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 14px;
  display: grid;
}

[data-library-view="cards"] .Catalog-module__cL4rwa__entry {
  border: 1px solid color-mix(in srgb,currentColor 17%,transparent);
  border-radius: 12px;
  grid-template: "cover copy" 1fr
                 "cover actions"
                 / 128px minmax(0, 1fr);
  align-items: start;
  gap: 12px 18px;
  padding: 16px;
}

[data-library-view="cards"] .Catalog-module__cL4rwa__books .Catalog-module__cL4rwa__entry > div:first-child {
  display: contents;
}

[data-library-view="cards"] .Catalog-module__cL4rwa__books .Catalog-module__cL4rwa__entry > div:first-child > a {
  grid-area: cover;
  align-self: center;
}

[data-library-view="cards"] .Catalog-module__cL4rwa__books .Catalog-module__cL4rwa__entry > div:first-child > div {
  grid-area: copy;
}

[data-library-view="cards"] .Catalog-module__cL4rwa__actions {
  grid-area: actions;
  align-self: end;
  width: 100%;
  max-width: 172px;
}

:is([data-library-view="cards"] .Catalog-module__cL4rwa__actions button, [data-library-view="cards"] .Catalog-module__cL4rwa__actions > a) {
  padding-inline: 8px;
  font-size: 12px;
}

@media (max-width: 950px) {
  .Catalog-module__cL4rwa__columns, .Catalog-module__cL4rwa__entry {
    grid-template-columns: minmax(0, 1fr) 160px;
    gap: 14px;
  }
}

@media (max-width: 700px) {
  .Catalog-module__cL4rwa__columns {
    display: none;
  }

  .Catalog-module__cL4rwa__entry {
    grid-template: "cover copy" 1fr
                   "cover actions"
                   / 104px minmax(0, 1fr);
    align-items: start;
    gap: 10px 14px;
    padding: 14px 10px;
  }

  [data-library-view="cards"] .Catalog-module__cL4rwa__entry {
    grid-template: "cover copy" 1fr
                   "cover actions"
                   / 104px minmax(0, 1fr);
    align-items: start;
    gap: 10px 14px;
    padding: 14px 10px;
  }

  [data-library-view] .Catalog-module__cL4rwa__books .Catalog-module__cL4rwa__entry > div:first-child {
    display: contents;
  }

  [data-library-view] .Catalog-module__cL4rwa__books .Catalog-module__cL4rwa__entry > div:first-child > a {
    grid-area: cover;
    align-self: center;
  }

  [data-library-view] .Catalog-module__cL4rwa__books .Catalog-module__cL4rwa__entry > div:first-child > div {
    grid-area: copy;
  }

  .Catalog-module__cL4rwa__actions {
    grid-area: actions;
    align-self: end;
    width: 100%;
    max-width: 172px;
  }

  .Catalog-module__cL4rwa__filterFields {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .Catalog-module__cL4rwa__searchRow .Catalog-module__cL4rwa__search {
    flex-basis: 100%;
  }

  .Catalog-module__cL4rwa__searchRow .Catalog-module__cL4rwa__sort {
    flex: 1;
  }

  .Catalog-module__cL4rwa__actions button, .Catalog-module__cL4rwa__actions > a {
    padding-inline: 8px;
    font-size: 12px;
  }
}

@media (max-width: 380px) {
  .Catalog-module__cL4rwa__entry {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 10px;
    padding: 12px 8px;
  }

  [data-library-view="cards"] .Catalog-module__cL4rwa__entry {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 10px;
    padding: 12px 8px;
  }

  .Catalog-module__cL4rwa__completion {
    gap: 4px;
    font-size: 10px;
  }
}

@media (max-width: 767px), (max-width: 1200px) and (max-height: 600px) and (orientation: landscape) {
  [data-library-view="list"] .Catalog-module__cL4rwa__books .Catalog-module__cL4rwa__entry {
    grid-template-rows: auto auto;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 5px 10px;
    padding: 10px 6px;
  }

  [data-library-view="list"] .Catalog-module__cL4rwa__books .Catalog-module__cL4rwa__entry > div:first-child {
    display: contents;
  }

  [data-library-view="list"] .Catalog-module__cL4rwa__books .Catalog-module__cL4rwa__entry > div:first-child > a {
    grid-area: cover;
  }

  [data-library-view="list"] .Catalog-module__cL4rwa__books .Catalog-module__cL4rwa__entry > div:first-child > div {
    grid-area: copy;
  }

  [data-library-view="list"] .Catalog-module__cL4rwa__metadata {
    gap: 3px 7px;
    font-size: 10px;
  }

  [data-library-view="list"] .Catalog-module__cL4rwa__completion {
    font-size: 10px;
  }

  [data-library-view="list"] .Catalog-module__cL4rwa__actions {
    max-width: 172px;
  }

  :is([data-library-view="list"] .Catalog-module__cL4rwa__actions button, [data-library-view="list"] .Catalog-module__cL4rwa__actions > a) {
    min-height: 32px;
    padding-block: 4px;
  }
}

@media (max-width: 1200px) and (max-height: 600px) and (orientation: landscape) {
  .Catalog-module__cL4rwa__searchForm {
    margin-bottom: 12px;
  }

  .Catalog-module__cL4rwa__searchRow {
    gap: 10px;
  }

  .Catalog-module__cL4rwa__searchRow .Catalog-module__cL4rwa__search {
    flex: 180px;
  }

  .Catalog-module__cL4rwa__searchRow .Catalog-module__cL4rwa__sort {
    flex: 0 170px;
  }

  .Catalog-module__cL4rwa__filters {
    margin-top: 6px;
    padding-bottom: 6px;
  }

  .Catalog-module__cL4rwa__filterFields {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .Catalog-module__cL4rwa__resultsBar {
    margin-bottom: 10px;
  }
}

.Catalog-module__cL4rwa__workspace, .Catalog-module__cL4rwa__catalogControls, .Catalog-module__cL4rwa__catalogResults {
  min-width: 0;
}

@media (max-width: 1200px) and (max-height: 600px) and (orientation: landscape) {
  .Catalog-module__cL4rwa__workspace {
    flex: 1;
    grid-template-columns: clamp(170px, 23vw, 240px) minmax(0, 1fr);
    gap: 20px;
    min-height: 0;
    display: grid;
  }

  .Catalog-module__cL4rwa__catalogControls, .Catalog-module__cL4rwa__catalogResults {
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-gutter: stable;
    scrollbar-color: color-mix(in srgb,currentColor 30%,transparent) transparent;
    min-height: 0;
    padding-inline-end: 10px;
    overflow: auto;
  }

  .Catalog-module__cL4rwa__catalogControls {
    border-right: 1px solid color-mix(in srgb,currentColor 14%,transparent);
    padding-inline-end: 16px;
  }

  .Catalog-module__cL4rwa__searchRow {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    display: grid;
  }

  .Catalog-module__cL4rwa__searchRow .Catalog-module__cL4rwa__search, .Catalog-module__cL4rwa__searchRow .Catalog-module__cL4rwa__sort {
    width: 100%;
  }

  .Catalog-module__cL4rwa__searchRow button {
    justify-self: start;
    min-height: 32px;
    padding: 5px 14px;
  }

  .Catalog-module__cL4rwa__filterFields {
    grid-template-columns: 1fr;
  }

  .Catalog-module__cL4rwa__filters {
    border: 0;
  }

  .Catalog-module__cL4rwa__filters summary span {
    display: none;
  }

  .Catalog-module__cL4rwa__resultsBar {
    gap: 6px;
    margin-bottom: 10px;
  }

  .Catalog-module__cL4rwa__resultsBar p {
    font-size: 11px;
  }

  .Catalog-module__cL4rwa__columns {
    display: none;
  }

  [data-library-view="list"] .Catalog-module__cL4rwa__books .Catalog-module__cL4rwa__entry {
    grid-template-columns: 58px minmax(0, 1fr);
    grid-template-areas: "cover copy"
                         "cover actions";
    gap: 8px 12px;
    padding: 12px;
  }

  [data-library-view="list"] .Catalog-module__cL4rwa__books .Catalog-module__cL4rwa__entry > div:first-child {
    display: contents;
  }

  [data-library-view="list"] .Catalog-module__cL4rwa__books .Catalog-module__cL4rwa__entry > div:first-child > a {
    grid-area: cover;
    align-self: center;
  }

  [data-library-view="list"] .Catalog-module__cL4rwa__books .Catalog-module__cL4rwa__entry > div:first-child > div {
    grid-area: copy;
  }

  [data-library-view="list"] .Catalog-module__cL4rwa__books .Catalog-module__cL4rwa__actions {
    grid-area: actions;
    width: 100%;
    max-width: 180px;
  }

  .Catalog-module__cL4rwa__paging {
    margin-top: 14px;
  }
}

/*# sourceMappingURL=src_components_discovery_1a_51aj69q4-c._.css.map*/