/* Eliminar definitivament (trash.js, ronda 6): la paperera de projectes i productores, i «Veure arxivats» de Personatges
   i Localitzacions, clar i fosc */
#dialog.trash-dialog {
  width: min(760px, calc(100vw - 32px));
}
.trash-note {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}
.trash-group + .trash-group {
  margin-top: 26px;
}
.trash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.trash-head h3 {
  margin: 0;
}
.trash-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.trash-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.trash-pick {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.trash-pick b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.trash-when {
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}
.trash-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.trash-empty {
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.trash-actions .button:disabled,
.purge-bar .button:disabled {
  background: #eceff1;
  border-color: #dfe4e8;
  color: #89929a;
  cursor: not-allowed;
}
@media (max-width: 620px) {
  .trash-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .trash-when {
    grid-column: 1/-1;
    grid-row: 2;
    text-align: left;
  }
}
.purge-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: 0 0 18px;
  padding: 12px 16px;
  border: 1px solid #f1d4cf;
  border-radius: 12px;
  background: #fff7f5;
}
.purge-note {
  flex: 1 1 260px;
  color: #6b4a45;
  font-size: 13.5px;
}
.purge-pick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
}
.purge-used,
.purge-when {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}
html.dark .trash-actions .button:disabled,
html.dark .purge-bar .button:disabled {
  background: #232c36;
  border-color: #2f3a46;
  color: #7d8895;
}
html.dark .purge-bar {
  background: #2a1c1b;
  border-color: #4a2c29;
}
html.dark .purge-note {
  color: #e2b9b3;
}
/* Productores: «Paperera» and «+ Nova productora» side by side, also with the long introduction */
.page-head > .space-actions {
  flex: 0 0 auto;
}
