/* El moodboard: images and documents (moodboard.js) */
.mood-tools .new-doc-list {
  left: 0;
  right: auto;
}
.mood-card .panel-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.mood-card .row-buttons {
  margin-top: auto;
}
.mood-face {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  height: 220px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: #f2f3ef;
  color: #50606b;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.mood-face svg {
  width: 52px;
  height: 52px;
}
.mood-face-pdf {
  background: #f6ece8;
  color: #9a3b26;
}
.mood-face-link {
  background: #e9f0f5;
  color: #254d67;
}
.mood-face-note {
  background: #fbf5dc;
  color: #4d4632;
  place-items: start;
  align-content: start;
  padding: 16px 18px;
  overflow: hidden;
  font-weight: 400;
  letter-spacing: 0;
}
.mood-face-note p {
  margin: 0;
  font:
    14px/1.5 Georgia,
    serif;
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mood-title {
  margin: 0 0 4px;
  font-size: 15px;
}
.mood-sub {
  margin: 0 0 12px;
  color: #6c7880;
  font-size: 12.5px;
  overflow-wrap: anywhere;
}
html.dark .mood-face {
  background: #26313a;
  color: #b9c4cc;
}
html.dark .mood-face-pdf {
  background: #3a2a26;
  color: #f0b3a3;
}
html.dark .mood-face-link {
  background: #1f3240;
  color: #a9cbe3;
}
html.dark .mood-face-note {
  background: #353123;
  color: #e9e1c4;
}
html.dark .mood-sub {
  color: #9aa6ae;
}
/* the PDF viewer, inside Turonet */
dialog.file-viewer-dialog {
  width: min(1100px, 96vw);
  max-width: 1100px;
}
.file-viewer iframe {
  display: block;
  width: 100%;
  height: min(calc(92vh - 190px), 900px);
  border: 1px solid #d5dbd8;
  border-radius: 8px;
  background: #fff;
}
