.dashboard-navigation { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.dashboard-navigation a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px; font-size: 13px; }
.dashboard-navigation form { margin: 0; }
.trash-workspace { padding: 28px 0 40px; }
.trash-heading h1 { font-size: 24px; margin-bottom: 10px; }
.trash-heading p { max-width: 75ch; }
.trash-filters { display: flex; gap: 6px; flex-wrap: wrap; margin: 22px 0 16px; }
.trash-filters .active { background: #203b32; color: #74e2bf; border-color: #38594d; }
.trash-list { border-top: 1px solid #303a3d; }
.trash-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; padding: 22px 0; border-bottom: 1px solid #303a3d; }
.trash-item h2 { font-size: 15px; overflow-wrap: anywhere; margin-bottom: 6px; }
.trash-item-main { min-width: 0; }
.trash-item-main > p { margin-bottom: 5px; }
.trash-metadata { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.trash-item-actions { display: flex; flex-wrap: wrap; align-items: start; gap: 6px; }
.trash-item-actions button { font-size: 12px; }
.trash-preview { margin-top: 12px; }
.trash-preview summary { color: #afc0bd; cursor: pointer; min-height: 44px; display: list-item; align-content: center; width: fit-content; padding-right: 12px; }
.trash-preview pre { max-width: 75ch; max-height: 320px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; font-size: 13px; margin: 6px 0; padding: 14px; border: 1px solid #303a3d; border-radius: 7px; background: #101617; }
.trash-preview img { display: block; max-width: 100%; max-height: 250px; object-fit: contain; border-radius: 7px; margin: 6px 0; }
.undo-notifications { position: fixed; z-index: 1500; right: max(20px, calc((100vw - 1440px) / 2 + 40px)); bottom: 20px; width: min(440px, calc(100vw - 28px)); display: flex; flex-direction: column; gap: 8px; max-height: calc(100dvh - 40px); overflow-y: auto; }
.undo-notice { border: 1px solid #47685e; border-radius: 12px; padding: 12px 16px; background: #1c2b27; color: #e0e6e5; }
.undo-notice p { margin: 0; overflow-wrap: anywhere; font-size: 13px; }
.undo-title { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; white-space: nowrap; }
.undo-actions { display: flex; gap: 8px; align-items: center; }
.undo-actions > a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; padding: 8px; }
.undo-actions > button { font-size: 12px; }
.undo-actions > button:last-child { margin-left: auto; font-size: 20px; min-width: 44px; }
.undo-notice .undo-error { color: #ffc0c7; margin-top: 6px; }
.undo-notifications.undo-inline { position: static; width: 100%; max-height: none; overflow: visible; margin: 8px 0; }
.clipboard-list > li.clipboard-undo { display: block; }
.clipboard-undo .undo-notifications { margin: 0; }
.undo-inline .undo-notice { border-radius: 7px; padding: 8px 12px; }
@media (max-width: 599px) {
    .dashboard-header .dashboard-navigation { gap: 4px; }
    .trash-item { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .trash-item-actions { justify-content: start; }
    .undo-notifications { right: 14px; bottom: 14px; max-height: 45dvh; }
}
