.trash-view { min-height: 100%; padding: clamp(24px, 4vw, 54px); overflow: auto; background: radial-gradient(circle at 85% 5%, rgba(183, 146, 72, .12), transparent 28%), #f4f0e5; color: #303026; }
.trash-header { display: flex; align-items: end; justify-content: space-between; gap: 24px; max-width: 980px; margin: 0 auto 28px; }
.trash-header h1 { margin: 3px 0 8px; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 500; }
.trash-header p { margin: 0; color: #69675b; }
.trash-filter { display: grid; gap: 6px; min-width: 220px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.trash-filter select { padding: 11px 36px 11px 12px; border: 1px solid #c9c1aa; border-radius: 8px; background: rgba(255,255,255,.72); color: #35352c; }
.trash-status, .trash-list { max-width: 980px; margin-left: auto; margin-right: auto; }
.trash-status { min-height: 24px; color: #747063; }
.trash-group { margin-top: 28px; }
.trash-group h2 { margin: 0 0 12px; font: 500 1.3rem Georgia, serif; color: #4b4a3f; }
.trash-empty { padding: 22px; border: 1px dashed #c9c1aa; border-radius: 10px; color: #777366; background: rgba(255,255,255,.4); }
.trash-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px; margin-bottom: 10px; border: 1px solid #d4cdb9; border-radius: 10px; background: rgba(255,255,255,.72); box-shadow: 0 5px 16px rgba(55, 49, 34, .05); }
.trash-card h3 { margin: 3px 0; font: 500 1.08rem Georgia, serif; }
.trash-card p { margin: 0; color: #777366; font-size: .88rem; }
.trash-kind { color: #8a6b2f; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.trash-actions { display: flex; flex-wrap: wrap; justify-content: end; gap: 8px; }
.history-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.history-heading p { margin: 0; color: #777366; font-size: .84rem; }
.history-card { margin-bottom: 12px; border: 1px solid #d4cdb9; border-radius: 10px; background: rgba(255,255,255,.76); box-shadow: 0 5px 16px rgba(55,49,34,.05); overflow: hidden; }
.history-summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px; }
.history-summary h3 { margin: 3px 0; font: 500 1.08rem Georgia, serif; }
.history-summary p, .history-no-fields { margin: 0; color: #777366; font-size: .88rem; }
.history-current { padding: 5px 9px; border-radius: 999px; background: #e3e0d3; color: #57564d; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.history-card details { border-top: 1px solid #ded8c6; }
.history-card details > summary { padding: 12px 20px; color: #735a28; font-size: .82rem; font-weight: 800; cursor: pointer; }
.history-comparison { border-top: 1px solid #e6e1d3; }
.history-change { display: grid; grid-template-columns: minmax(120px, .65fr) repeat(2, minmax(0, 1fr)); gap: 18px; padding: 13px 20px; border-bottom: 1px solid #ece7da; font-size: .86rem; }
.history-change:last-child { border-bottom: 0; }
.history-change > div { min-width: 0; display: grid; gap: 4px; }
.history-change del, .history-change ins { display: block; max-height: 8rem; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; text-decoration: none; }
.history-change del { color: #8d463f; }
.history-change ins { color: #356044; }
.history-value-label { color: #858174; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.history-no-fields { padding: 0 20px 16px; }
.history-action-create { color: #356044; }
.history-action-delete, .history-action-permanent_delete { color: #9a4038; }
.history-action-restore { color: #436480; }
.toast-with-action { display: flex; align-items: center; gap: 16px; }
.toast-with-action button { border: 0; border-bottom: 1px solid currentColor; padding: 2px 0; background: transparent; color: #e6c474; font: inherit; font-weight: 800; cursor: pointer; }
@media (max-width: 700px) {
  .trash-header, .trash-card, .history-heading, .history-summary { align-items: stretch; flex-direction: column; }
  .trash-filter { width: 100%; }
  .trash-actions { justify-content: stretch; }
  .trash-actions .button, .history-summary .button { flex: 1; width: 100%; }
  .history-change { grid-template-columns: 1fr; gap: 9px; }
  .history-change > div { padding-left: 10px; border-left: 2px solid #ded8c6; }
}
