#section-listas #listasGridContainer {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 188px), 1fr));
  align-items: start;
  gap: 10px;
}
#section-listas .stapled-paper.remb-list-card {
  box-sizing: border-box;
  display: grid;
  grid-template-rows: 42px 19px 23px 25px;
  align-content: start;
  gap: 3px;
  width: 100%;
  min-width: 0;
  height: 148px;
  min-height: 148px;
  padding: 10px;
  margin: 0;
  border: 1px solid var(--border, #d5deed);
  border-radius: 10px;
  background: var(--bg-card, #fff);
  box-shadow: 0 2px 6px #12243d0b;
  transform: none;
}
#section-listas .stapled-paper.remb-list-card::before,
#section-listas .stapled-paper.remb-list-card::after { content: none; }
#section-listas .stapled-paper.remb-list-card:hover { border-color: var(--accent-color, #5884d8); transform: none; }
#section-listas .stapled-paper.remb-list-card.is-selected { border-color: #5884d8; }
#section-listas .study-selected-lists .remb-list-card { grid-template-rows: 32px 19px 23px 24px; height: 134px; min-height: 134px; }
#section-listas .study-selected-lists .remb-list-card-title { -webkit-line-clamp: 1; }
.remb-list-card-head { display: flex; align-items: flex-start; gap: 4px; min-width: 0; }
.remb-list-card-title {
  flex: 1;
  min-width: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
  font-size: .9rem;
  line-height: 1.23;
  color: var(--text-primary, #102345);
}
.remb-list-card-tools { flex: none; display: flex; gap: 2px; }
.remb-list-icon, .remb-list-original, .remb-list-button {
  border: 1px solid var(--border, #d5deed);
  border-radius: 6px;
  background: var(--bg-card, #fff);
  color: var(--text-primary, #102345);
  cursor: pointer;
}
.remb-list-icon { width: 24px; height: 24px; display: inline-grid; place-items: center; padding: 0; font-size: 15px; line-height: 1; }
.remb-list-original { padding: 2px 6px; color: #234f9d; background: #edf4ff; white-space: nowrap; font-size: .69rem; font-weight: 700; }
.remb-list-icon:hover, .remb-list-original:hover, .remb-list-button:hover { border-color: #628ad0; }
.remb-list-card-meta, .remb-list-card-footer, .remb-list-card-chips {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  overflow: hidden;
}
.remb-list-card-meta { color: var(--text-secondary, #506784); font-size: .74rem; }
.remb-list-card-chips .lista-tag-chip { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.remb-list-card-chips .lista-tag-chip:last-child { flex-shrink: 0; }
.remb-list-pending, .remb-list-complete { font-size: .68rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.remb-list-pending { color: #ad3443; background: #fff1f1; border-radius: 5px; padding: 3px 5px; font-weight: 650; }
.remb-list-complete { color: #257357; background: #eaf8f0; border-radius: 5px; padding: 3px 5px; }
.remb-list-hover, .remb-list-dialog {
  color: var(--text-primary, #102345);
  background: var(--bg-card, #fff);
  border: 1px solid var(--border, #d5deed);
  border-radius: 10px;
  box-shadow: 0 8px 25px #12243d26;
}
.remb-list-hover {
  position: fixed;
  z-index: 980;
  width: min(355px, calc(100vw - 16px));
  max-height: min(340px, calc(100dvh - 16px));
  padding: 12px;
  overflow: hidden;
  pointer-events: none;
  font-size: .8rem;
}
.remb-list-full-name { display: block; overflow-wrap: anywhere; }
.remb-list-hover p { margin: 6px 0; color: var(--text-secondary, #506784); overflow-wrap: anywhere; }
.remb-list-full-tags, .remb-list-dialog-actions { display: flex; flex-wrap: wrap; gap: 5px; }
.remb-list-dialog { width: min(500px, calc(100vw - 24px)); padding: 0; max-height: calc(100dvh - 32px); }
.remb-list-dialog::backdrop { background: #11233e6c; }
.remb-list-dialog header { display: flex; align-items: start; gap: 10px; padding: 13px 15px; border-bottom: 1px solid var(--border, #d5deed); }
.remb-list-dialog h2 { flex: 1; margin: 0; font-size: 1.05rem; overflow-wrap: anywhere; }
.remb-list-dialog-body { display: grid; gap: 9px; padding: 13px 15px 16px; overflow-wrap: anywhere; }
.remb-list-dialog-body p { margin: 0; }
.remb-list-dialog-body label { display: grid; gap: 5px; }
.remb-list-dialog-body input { width: 100%; }
.remb-list-dialog-body input[type="email"], .remb-list-dialog-body input[type="url"] {
  border: 1px solid var(--border, #d5deed); background: var(--bg-card, #fff); color: inherit; border-radius: 6px; padding: 7px;
}
.remb-list-button { width: fit-content; padding: 5px 8px; font-size: .8rem; }
.remb-list-button:disabled { opacity: .58; }
.remb-list-status { color: var(--text-secondary, #506784); font-size: .8rem; }
.remb-list-status:empty { display: none; }
.remb-list-original-link { display: block; text-decoration: underline; }
.remb-list-inbox-row { display: grid; gap: 3px; padding: 7px 0; border-bottom: 1px solid var(--border, #d5deed); }
.remb-list-inbox-row span { font-size: .75rem; color: var(--text-secondary, #506784); }
