/* V36 — Biblioteca: cartões legíveis para Métodos das Três Vias e Legados.
   Escopo intencional: só a seção de manuais pessoais; não altera outras telas. */
#view-library #path07-library .path07-books {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
  margin-top: 15px;
}
#view-library #path07-library .path07-book {
  position: relative;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  grid-template-rows: auto auto 1fr auto;
  align-content: start;
  align-items: start;
  gap: 8px 14px;
  min-width: 0;
  min-height: 185px;
  padding: 16px;
  background: linear-gradient(155deg, #18332e 0%, #102724 100%);
  border: 1px solid rgba(194, 170, 112, .25);
  border-radius: 13px;
}
#view-library #path07-library .path31-book-art {
  grid-column: 1;
  grid-row: 1 / 3;
  width: 68px;
  height: 80px;
  max-width: 100%;
  object-fit: contain;
  border-radius: 9px;
  background: #0d2422;
  border: 1px solid rgba(194, 170, 112, .22);
}
#view-library #path07-library .path07-book > span {
  grid-column: 1;
  grid-row: 3;
  align-self: start;
  font-size: 24px;
  line-height: 1;
  color: #d9bf81;
  text-align: center;
}
#view-library #path07-library .path07-book > div {
  grid-column: 2;
  grid-row: 1 / 4;
  min-width: 0;
  width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
  white-space: normal;
}
#view-library #path07-library .path07-book b {
  display: block;
  color: #f0dfbc;
  font-size: 14px;
  line-height: 1.43;
  font-weight: 700;
  overflow-wrap: break-word;
  word-break: normal;
}
#view-library #path07-library .path07-book small {
  display: block;
  margin-top: 7px;
  color: #b0c8bb;
  font-size: 11px;
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: normal;
}
#view-library #path07-library .path07-book > button,
#view-library #path07-library .path07-book > i {
  grid-column: 1 / -1;
  grid-row: 4;
  width: 100%;
  min-width: 0;
  min-height: 36px;
  margin: 6px 0 0;
  justify-self: stretch;
  align-self: end;
  box-sizing: border-box;
}
#view-library #path07-library .path07-book > i {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  font-style: normal;
  color: #9ad4af;
  border: 1px solid rgba(154, 212, 175, .25);
  border-radius: 8px;
}
#view-library #path07-library .path07-book button:disabled {
  opacity: .67;
  cursor: default;
}
#view-library #path07-library .path07-book:focus-within {
  border-color: #d5b777;
}
@media (max-width: 1330px) {
  #view-library #path07-library .path07-books { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  #view-library #path07-library .path07-books { grid-template-columns: minmax(0, 1fr); }
  #view-library #path07-library .path07-book { min-height: 0; }
}
@media (max-width: 420px) {
  #view-library #path07-library .path07-book { grid-template-columns: 55px minmax(0, 1fr); padding: 12px; gap: 8px 11px; }
  #view-library #path07-library .path31-book-art { width: 55px; height: 69px; }
}
