body.crm-app .migo-trash-page-v205{display:flex;flex-direction:column;gap:12px}
body.crm-app .migo-trash-head-v205{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 12px;border:1px solid #dce4ee;border-radius:8px;background:#fff}
body.crm-app .migo-trash-head-v205>div:first-child{display:flex;align-items:center;gap:10px;min-width:0}
body.crm-app .migo-trash-head-icon-v205{width:34px;height:34px;border-radius:7px;background:#eef4ff;display:grid;place-items:center;color:#415a8a;flex:0 0 34px}
body.crm-app .migo-trash-head-v205 strong{display:block;font-size:13px;color:#101828}
body.crm-app .migo-trash-head-v205 small{display:block;margin-top:2px;font-size:11px;color:#667085}
body.crm-app .migo-trash-tabs-v205{flex:0 0 auto}
body.crm-app .migo-trash-icon-v205{width:17px;height:17px;display:block;flex:0 0 17px}
body.crm-app .migo-trash-toolbar-v205{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 12px;border:1px solid #dce4ee;border-radius:8px;background:#fff}
body.crm-app .migo-trash-search-v205{display:grid;grid-template-columns:18px minmax(180px,1fr);align-items:center;gap:7px;min-width:290px;flex:1 1 360px;height:38px;padding:0 10px;border:1px solid #d8e0ea;border-radius:7px;background:#fff;color:#667085}
body.crm-app .migo-trash-search-v205:focus-within{border-color:#8fb4f4;box-shadow:0 0 0 3px rgba(37,99,235,.08)}
body.crm-app .migo-trash-search-v205 input{min-width:0;width:100%;height:36px;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;font:inherit;color:#101828}
body.crm-app .migo-trash-filter-v205{height:38px;min-width:160px;padding:0 34px 0 10px;border:1px solid #d8e0ea;border-radius:7px;background:#fff;color:#344054;font:inherit}
body.crm-app .migo-trash-retention-v205,.migo-trash-version-hint-v205{display:inline-flex;align-items:center;min-height:32px;padding:0 9px;border-radius:6px;background:#f5f7fa;color:#667085;font-size:11px;font-weight:700;white-space:nowrap}
body.crm-app .migo-trash-table-wrap-v205{border:1px solid #dce4ee;border-radius:8px;background:#fff;overflow:auto}
body.crm-app .migo-trash-table-v205{min-width:980px}
body.crm-app .migo-trash-table-v205 th.is-check,body.crm-app .migo-trash-table-v205 td.is-check{width:42px;text-align:center}
body.crm-app .migo-trash-table-v205 input[type="checkbox"]{width:15px;height:15px}
body.crm-app .migo-trash-entity-v205{display:flex;align-items:center;gap:9px;min-width:230px}
body.crm-app .migo-trash-entity-v205>span{width:30px;height:30px;border:1px solid #dfe6ef;border-radius:7px;display:grid;place-items:center;background:#f8fafc;color:#667085;flex:0 0 30px}
body.crm-app .migo-trash-entity-v205 strong{display:block;font-size:12px;color:#101828;line-height:1.3}
body.crm-app .migo-trash-entity-v205 small,body.crm-app .migo-trash-table-v205 td>small{display:block;margin-top:3px;color:#7a8493;font-size:10px}
body.crm-app .migo-trash-type-v205,.migo-trash-version-pill-v205{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:0 8px;border:1px solid #dce4ee;border-radius:999px;background:#f8fafc;color:#475467;font-size:10px;font-weight:800}
body.crm-app .migo-trash-version-pill-v205{background:#eef4ff;border-color:#d6e3fb;color:#315b9a}
body.crm-app .migo-trash-row-actions-v205{display:flex;align-items:center;justify-content:flex-end;gap:5px}
body.crm-app .migo-trash-row-actions-v205 button{width:32px;height:32px;border:1px solid #dce4ee;border-radius:6px;background:#fff;color:#475467;display:grid;place-items:center;cursor:pointer}
body.crm-app .migo-trash-row-actions-v205 button:hover{background:#f7f9fc;color:#101828}
body.crm-app .migo-trash-row-actions-v205 button.is-danger{color:#c43226;border-color:#f0c8c4}
body.crm-app .migo-trash-row-actions-v205 button.is-danger:hover{background:#fff4f2}
body.crm-app .migo-trash-bulk-v205{display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:8px;padding:8px 10px;border:1px solid #bfd0f3;border-radius:8px;background:#f5f8ff}
body.crm-app .migo-trash-bulk-v205 strong{font-size:11px;color:#344054}
body.crm-app .migo-trash-bulk-v205 button{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 9px;border:1px solid #ccd7e6;border-radius:6px;background:#fff;color:#344054;font-size:11px;font-weight:800;cursor:pointer}
body.crm-app .migo-trash-bulk-v205 button.is-danger{color:#c43226;border-color:#efc6c1}
body.crm-app .migo-trash-empty-v205{min-height:260px;border:1px solid #dce4ee;border-radius:8px;background:#fff}
body.crm-app .migo-trash-empty-v205>.migo-trash-icon-v205{width:34px;height:34px;color:#98a2b3}
body.crm-app .migo-trash-spinner-v205{width:22px;height:22px;border:2px solid #d9e2ee;border-top-color:#315b9a;border-radius:50%;animation:migo-trash-spin-v205 .8s linear infinite}
@keyframes migo-trash-spin-v205{to{transform:rotate(360deg)}}
body.crm-app .migo-trash-toast-v205{position:fixed;right:20px;bottom:20px;z-index:99999;max-width:420px;padding:10px 13px;border-radius:8px;background:#101828;color:#fff;font-size:12px;box-shadow:0 12px 30px rgba(15,23,42,.22)}
body.crm-app .migo-trash-toast-v205.is-error{background:#b42318}
body.crm-app .migo-trash-dialog-v205{width:min(720px,calc(100vw - 28px));max-height:min(82vh,760px);padding:0;border:0;border-radius:10px;background:transparent;overflow:visible}
body.crm-app .migo-trash-dialog-v205::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.crm-app .migo-trash-dialog-card-v205{display:flex;flex-direction:column;max-height:min(82vh,760px);overflow:hidden;border:1px solid #dce4ee;border-radius:10px;background:#fff;box-shadow:0 24px 70px rgba(15,23,42,.22);margin:0}
body.crm-app .migo-trash-dialog-card-v205>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:16px 18px;border-bottom:1px solid #e5eaf1}
body.crm-app .migo-trash-dialog-card-v205>header span{font-size:10px;font-weight:900;letter-spacing:.04em;color:#667085}
body.crm-app .migo-trash-dialog-card-v205>header h2{margin:4px 0 3px;font-size:20px;color:#101828}
body.crm-app .migo-trash-dialog-card-v205>header p{margin:0;color:#667085;font-size:12px}
body.crm-app .migo-trash-dialog-card-v205>header>button{width:34px;height:34px;border:1px solid #dce4ee;border-radius:7px;background:#f8fafc;color:#475467;display:grid;place-items:center;cursor:pointer}
body.crm-app .migo-trash-dialog-body-v205{overflow:auto;padding:16px 18px;display:flex;flex-direction:column;gap:14px}
body.crm-app .migo-trash-dialog-body-v205>label:not(.migo-trash-switch-v205){display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:800;color:#344054}
body.crm-app .migo-trash-dialog-body-v205 select{height:40px;border:1px solid #d8e0ea;border-radius:7px;background:#fff;padding:0 10px}
body.crm-app .migo-trash-dialog-card-v205>footer{display:flex;justify-content:flex-end;gap:8px;padding:12px 18px;border-top:1px solid #e5eaf1;background:#fafbfc}
body.crm-app .migo-trash-switch-v205{display:grid;grid-template-columns:38px 1fr;align-items:start;gap:10px;padding:12px;border:1px solid #dce4ee;border-radius:8px;background:#fafbfc;cursor:pointer}
body.crm-app .migo-trash-switch-v205>input{position:absolute;opacity:0;pointer-events:none}
body.crm-app .migo-trash-switch-v205>span{width:36px;height:20px;border-radius:999px;background:#d0d5dd;position:relative;margin-top:2px;transition:.18s}
body.crm-app .migo-trash-switch-v205>span::after{content:'';position:absolute;width:16px;height:16px;left:2px;top:2px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.18);transition:.18s}
body.crm-app .migo-trash-switch-v205>input:checked+span{background:#3b82f6}
body.crm-app .migo-trash-switch-v205>input:checked+span::after{transform:translateX(16px)}
body.crm-app .migo-trash-switch-v205 b{font-size:12px;color:#101828}
body.crm-app .migo-trash-switch-v205 small{display:block;margin-top:3px;font-size:10px;line-height:1.45;font-weight:500;color:#667085}
body.crm-app .migo-trash-diff-v205{display:flex;flex-direction:column;gap:8px}
body.crm-app .migo-trash-diff-v205 article{padding:10px 12px;border:1px solid #e2e8f0;border-radius:7px;background:#fafbfc}
body.crm-app .migo-trash-diff-v205 article>strong{display:block;margin-bottom:7px;font-size:11px;color:#344054}
body.crm-app .migo-trash-diff-v205 article>div{display:grid;grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr);gap:8px;align-items:center}
body.crm-app .migo-trash-diff-v205 article span{min-width:0;padding:7px 8px;border:1px solid #e3e8ef;border-radius:6px;background:#fff;color:#475467;font-size:11px;overflow-wrap:anywhere}
body.crm-app .migo-trash-diff-v205 article b{text-align:center;color:#98a2b3}
body.crm-app .migo-trash-no-diff-v205{padding:16px;border:1px dashed #d6dee8;border-radius:8px;background:#fafbfc;color:#667085;font-size:12px;text-align:center}
html[data-migo-canonical-view-v3088="trash"] body.crm-app .topbar-actions{display:none!important}
@media(max-width:860px){
 body.crm-app .migo-trash-head-v205{align-items:flex-start;flex-direction:column}
 body.crm-app .migo-trash-tabs-v205{width:100%;overflow:auto}
 body.crm-app .migo-trash-toolbar-v205{align-items:stretch}
 body.crm-app .migo-trash-search-v205{min-width:100%;flex-basis:100%}
 body.crm-app .migo-trash-filter-v205{flex:1 1 180px}
 body.crm-app .migo-trash-bulk-v205{grid-template-columns:1fr 1fr}
 body.crm-app .migo-trash-bulk-v205>span{display:none}
}

/* === Migo CRM v8.5.21.227 — Trash icon/badge precision alignment === */
body.crm-app .migo-trash-page-v205 .migo-trash-table-v205 th,
body.crm-app .migo-trash-page-v205 .migo-trash-table-v205 td{
  vertical-align:middle;
}

/* Table checkboxes: same optical axis as row content. */
body.crm-app .migo-trash-page-v205 .migo-trash-table-v205 th.is-check,
body.crm-app .migo-trash-page-v205 .migo-trash-table-v205 td.is-check{
  padding-left:12px;
  padding-right:8px;
  vertical-align:middle;
}
body.crm-app .migo-trash-page-v205 .migo-trash-table-v205 input[type="checkbox"]{
  display:block;
  width:16px;
  height:16px;
  margin:0 auto;
  padding:0;
  accent-color:#506b57;
  vertical-align:middle;
}

/* Entity icon tile + glyph. */
body.crm-app .migo-trash-page-v205 .migo-trash-entity-v205{
  align-items:center;
  min-height:36px;
}
body.crm-app .migo-trash-page-v205 .migo-trash-entity-v205>span{
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  min-width:30px;
  padding:0;
  line-height:0;
}
body.crm-app .migo-trash-page-v205 .migo-trash-entity-v205>span>.migo-trash-icon-v205{
  display:block;
  width:16px;
  height:16px;
  margin:0;
  flex:none;
}
body.crm-app .migo-trash-page-v205 .migo-trash-entity-v205>div{
  display:flex;
  min-width:0;
  flex-direction:column;
  justify-content:center;
  gap:2px;
}
body.crm-app .migo-trash-page-v205 .migo-trash-entity-v205 strong,
body.crm-app .migo-trash-page-v205 .migo-trash-entity-v205 small{
  margin:0;
}

/* Resource/version pills: exact vertical centering, no baseline drift. */
body.crm-app .migo-trash-page-v205 .migo-trash-type-v205,
body.crm-app .migo-trash-page-v205 .migo-trash-version-pill-v205{
  box-sizing:border-box;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:24px;
  min-height:24px;
  margin:0;
  padding:0 10px;
  line-height:1;
  vertical-align:middle;
  white-space:nowrap;
}
body.crm-app .migo-trash-page-v205 .migo-trash-type-v205{
  min-width:74px;
}

/* Tabs and their counters. */
body.crm-app .migo-trash-page-v205 .migo-trash-tabs-v205{
  align-items:center;
}
body.crm-app .migo-trash-page-v205 .migo-trash-tabs-v205 button{
  height:30px;
  min-height:30px;
  align-items:center;
  line-height:1;
}
body.crm-app .migo-trash-page-v205 .migo-trash-tabs-v205 button>span{
  display:inline-flex;
  align-items:center;
  min-height:18px;
  line-height:18px;
}
body.crm-app .migo-trash-page-v205 .migo-trash-tabs-v205 button>b{
  box-sizing:border-box;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:20px;
  height:20px;
  margin:0;
  padding:0 6px;
  line-height:1;
  vertical-align:middle;
}

/* Header icon and toolbar icon alignment. */
body.crm-app .migo-trash-page-v205 .migo-trash-head-icon-v205{
  display:grid;
  place-items:center;
  line-height:0;
}
body.crm-app .migo-trash-page-v205 .migo-trash-head-icon-v205>.migo-trash-icon-v205{
  width:17px;
  height:17px;
  margin:0;
}
body.crm-app .migo-trash-page-v205 .migo-trash-toolbar-v205 button,
body.crm-app .migo-trash-page-v205 .migo-trash-bulk-v205 button{
  align-items:center;
  justify-content:center;
  line-height:1;
}
body.crm-app .migo-trash-page-v205 .migo-trash-toolbar-v205 button>.migo-trash-icon-v205,
body.crm-app .migo-trash-page-v205 .migo-trash-bulk-v205 button>.migo-trash-icon-v205{
  width:15px;
  height:15px;
  margin:0;
}

/* Row action buttons: same square and optical center as canonical Migo actions. */
body.crm-app .migo-trash-page-v205 .migo-trash-row-actions-v205{
  min-height:32px;
  align-items:center;
  justify-content:flex-end;
}
body.crm-app .migo-trash-page-v205 .migo-trash-row-actions-v205 button{
  box-sizing:border-box;
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  min-width:32px;
  min-height:32px;
  margin:0;
  padding:0;
  line-height:0;
}
body.crm-app .migo-trash-page-v205 .migo-trash-row-actions-v205 button>.migo-trash-icon-v205{
  display:block;
  width:16px;
  height:16px;
  margin:0;
  flex:none;
}

/* Date/status cells should align around a shared center line. */
body.crm-app .migo-trash-page-v205 .migo-trash-table-v205 td>strong{
  line-height:1.25;
}
body.crm-app .migo-trash-page-v205 .migo-trash-table-v205 td>small{
  line-height:1.25;
}
