.workspace.is-deletions .view-switcher,
.workspace.is-deletions .control-bar,
.workspace.is-deletions .status-jump,
.workspace.is-deletions .applied-filters,
.workspace.is-deletions #create-task { display: none; }

.deletions-view { min-height: 0; padding: 0 28px 28px; overflow: hidden; }
.deletions-view.is-active { display: flex; }
.deletions-view > #deletions-root { width: 100%; min-height: 0; display: flex; }
.deletions-shell { width: 100%; min-height: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; box-shadow: 0 9px 28px rgba(31,49,62,.05); }
.deletions-toolbar { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: #fbfcfd; }
.deletions-toolbar nav { display: flex; gap: 4px; padding: 4px; border-radius: 11px; background: #eaf0f2; }
.deletions-toolbar nav button { height: 38px; display: inline-flex; align-items: center; gap: 7px; border: 0; border-radius: 8px; padding: 0 12px; background: transparent; color: #75828e; cursor: pointer; font: inherit; font-size: 11px; font-weight: 760; }
.deletions-toolbar nav button.is-active { background: #fff; color: var(--accent-dark); box-shadow: 0 2px 8px rgba(35,53,66,.1); }
.deletions-toolbar nav span { min-width: 20px; height: 20px; display: grid; place-items: center; border-radius: 999px; padding: 0 5px; background: #dfe8eb; color: #60727e; font-size: 8.5px; }
.deletions-toolbar nav button.is-active span { background: #e0f0ef; color: var(--accent-dark); }
.deletions-refresh { height: 40px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid #d5e0e4; border-radius: 9px; padding: 0 12px; background: #fff; color: #64737f; cursor: pointer; font: inherit; font-size: 10.5px; font-weight: 750; }
.deletions-refresh:hover { border-color: #91babd; color: var(--accent-dark); }
.deletions-refresh:disabled { cursor: wait; opacity: .6; }
.deletions-refresh svg { width: 15px; height: 15px; }
.deletions-summary { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; padding: 13px 16px 0; }
.deletions-summary > div { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid #e2e9ec; border-radius: 12px; padding: 10px 13px; background: #fafcfc; }
.deletions-summary span { color: #84919b; font-size: 10px; font-weight: 650; }
.deletions-summary strong { color: #3e515d; font-size: 20px; }
.deletions-error { display: flex; align-items: center; gap: 8px; margin: 12px 16px 0; border: 1px solid #efcfcb; border-radius: 10px; padding: 10px 12px; background: #fff5f3; color: #9c5852; font-size: 11px; }
.deletions-error svg { width: 16px; height: 16px; }
.deletions-list { min-height: 0; flex: 1; display: grid; align-content: start; gap: 9px; overflow-y: auto; padding: 13px 16px 18px; background: #f7f9fa; }
.deletion-card { min-width: 0; display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 12px; border: 1px solid #dce5e8; border-left: 3px solid #d8a158; border-radius: 13px; padding: 12px 13px; background: #fff; box-shadow: 0 5px 16px rgba(35,51,62,.04); }
.deletion-card.is-restored { border-left-color: #5aa47a; }
.deletion-card.is-approved { border-left-color: #7a8f9d; }
.deletion-card-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: #edf3f4; color: #607a85; }
.deletion-card-icon svg { width: 18px; height: 18px; }
.deletion-card-copy { min-width: 0; display: grid; gap: 4px; }
.deletion-card-copy header { display: flex; align-items: center; gap: 7px; }
.deletion-card-copy header > span { color: var(--accent-dark); font-size: 8.5px; font-weight: 820; text-transform: uppercase; letter-spacing: .07em; }
.deletion-card-copy header em { border-radius: 999px; padding: 3px 7px; background: #fff2df; color: #946735; font-size: 8.5px; font-style: normal; font-weight: 740; }
.deletion-card.is-restored .deletion-card-copy header em { background: #e8f4ed; color: #4b795f; }
.deletion-card.is-approved .deletion-card-copy header em { background: #edf1f3; color: #667781; }
.deletion-card h2 { margin: 0; overflow: hidden; color: var(--ink); font-size: 13px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.deletion-card p, .deletion-card small { margin: 0; color: #86929c; font-size: 9.5px; }
.deletion-card p strong { color: #64737f; }
.deletion-card .deletion-decision { color: #607b6b; }
.deletion-card-actions { display: flex; align-items: center; gap: 7px; }
.deletion-card-actions button { min-height: 38px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid #d5e1e4; border-radius: 9px; padding: 0 11px; background: #fff; color: #60717c; cursor: pointer; font: inherit; font-size: 10px; font-weight: 760; }
.deletion-card-actions button svg { width: 14px; height: 14px; }
.deletion-card-actions .is-restore { border-color: #cbe1d4; background: #f2f9f5; color: #4c765e; }
.deletion-card-actions .is-approve { border-color: #e6cbc8; background: #fff7f6; color: #a2544e; }
.deletion-card-actions button:disabled { cursor: wait; opacity: .6; }
.deletions-empty, .deletions-loading, .deletions-access-denied { min-height: 310px; display: grid; place-items: center; align-content: center; gap: 8px; padding: 35px; color: #84919c; text-align: center; }
.deletions-empty > span, .deletions-access-denied > span { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: #e8f3f1; color: var(--accent); }
.deletions-access-denied { width: 100%; min-height: 420px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.deletions-access-denied > span { background: #f3ece8; color: #8b6f58; }
.deletions-empty svg, .deletions-access-denied svg { width: 23px; height: 23px; }
.deletions-empty h2, .deletions-access-denied h2 { margin: 4px 0 0; color: var(--ink); font-size: 17px; }
.deletions-empty p, .deletions-access-denied p { max-width: 430px; margin: 0; font-size: 11px; line-height: 1.5; }
.deletions-loading { grid-template-columns: 22px auto; min-height: 180px; }
.deletions-loading i { width: 19px; height: 19px; border: 2px solid #d3dfe2; border-top-color: var(--accent); border-radius: 50%; animation: deletion-spin .8s linear infinite; }
.deletions-loading span { font-size: 11px; }
@keyframes deletion-spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .deletion-card { grid-template-columns: 40px minmax(0,1fr); }
  .deletion-card-actions { grid-column: 1 / -1; padding-left: 52px; }
}

@media (max-width: 760px) {
  .deletions-view { padding: 0 10px 82px; overflow-y: auto; }
  .deletions-shell { min-height: 100%; overflow: visible; }
  .deletions-toolbar { align-items: stretch; flex-direction: column; }
  .deletions-toolbar nav { overflow-x: auto; }
  .deletions-toolbar nav button { flex: 1 0 auto; }
  .deletions-refresh { justify-content: center; }
  .deletions-summary { grid-template-columns: 1fr; padding: 10px 10px 0; }
  .deletions-summary > div { min-height: 49px; }
  .deletions-list { overflow: visible; padding: 10px; }
  .deletion-card { grid-template-columns: 36px minmax(0,1fr); gap: 9px; padding: 11px 10px; }
  .deletion-card-icon { width: 35px; height: 35px; }
  .deletion-card h2 { white-space: normal; overflow-wrap: anywhere; }
  .deletion-card-actions { padding-left: 0; }
  .deletion-card-actions button { flex: 1; justify-content: center; }
  .deletion-card-actions button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
