/* Tanda 04: papelera categorizada y acciones reversibles */
#ms-admin .ms-trash-shell{--ms-trash-accent:#18b7d7;max-width:100%;}
#ms-admin .ms-trash-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:16px 0;}
#ms-admin .ms-trash-tools .ms-search{flex:1 1 260px;min-width:0;}
#ms-admin .ms-trash-check-all{display:flex;align-items:center;gap:8px;font-weight:600;}
#ms-admin .ms-trash-categories{display:grid;gap:12px;}
#ms-admin .ms-trash-category{border:1px solid color-mix(in srgb,var(--ms-trash-accent) 38%,transparent);border-radius:13px;background:color-mix(in srgb,#102235 90%,transparent);overflow:hidden;}
#ms-admin .ms-trash-category[hidden],#ms-admin .ms-trash-item[hidden]{display:none!important;}
#ms-admin .ms-trash-category>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;padding:15px 17px;font-weight:800;letter-spacing:.02em;list-style:none;}
#ms-admin .ms-trash-category>summary::-webkit-details-marker{display:none;}
#ms-admin .ms-trash-category>summary:hover{background:rgba(24,183,215,.08);}
#ms-admin .ms-trash-count{background:rgba(24,183,215,.18);color:#90edff;border-radius:20px;padding:3px 12px;min-width:36px;text-align:center;}
#ms-admin .ms-trash-items{padding:0 12px 12px;display:grid;gap:9px;}
#ms-admin .ms-trash-item{display:flex;align-items:flex-start;gap:12px;border:1px solid rgba(147,197,253,.15);border-radius:10px;padding:12px;background:#0a1829;}
#ms-admin .ms-trash-item-main{min-width:0;flex:1;display:grid;gap:7px;overflow-wrap:anywhere;}
#ms-admin .ms-trash-item-main strong{color:#f0f8ff;font-size:1rem;}
#ms-admin .ms-trash-item-main small{color:#b6cfe2;}
#ms-admin .ms-trash-item-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:5px;}
#ms-admin .ms-trash-check{padding-top:3px;}
#ms-admin .ms-trash-record{border:1px solid rgba(255,255,255,.12);padding:8px 10px;border-radius:8px;max-width:100%;}
#ms-admin .ms-trash-record summary{cursor:pointer;color:#83e7fb;}
#ms-admin .ms-trash-record pre{max-width:100%;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;}
#ms-admin .ms-trash-undo{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #29b8d8;border-radius:10px;padding:12px;margin:12px 0;background:#0e3140;color:#d5f7ff;}
#ms-admin .ms-trash-undo button{background:#0ca8c8;color:#001c2c;border:0;border-radius:8px;padding:9px 14px;font-weight:800;cursor:pointer;}
#ms-admin .ms-expired-renewal-link{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:.85rem;}
#ms-admin .ms-expired-renewal-link input{max-width:125px;min-width:85px;padding:8px;border-radius:7px;}
body[data-theme="light"] #ms-admin .ms-trash-category{background:#fff;color:#183349;border-color:#a7ccdb;}
body[data-theme="light"] #ms-admin .ms-trash-item{background:#f3f9fc;border-color:#bed3df;}
body[data-theme="light"] #ms-admin .ms-trash-item-main strong{color:#122c43;}
body[data-theme="light"] #ms-admin .ms-trash-item-main small{color:#3e5568;}
body[data-theme="light"] #ms-admin .ms-trash-count{color:#06516b;}
body[data-theme="light"] #ms-admin .ms-trash-record summary{color:#075c83;}
@media(max-width:650px){#ms-admin .ms-trash-tools{display:grid;grid-template-columns:1fr;}#ms-admin .ms-trash-tools button{width:100%;}#ms-admin .ms-trash-item-actions{display:grid;grid-template-columns:1fr;}#ms-admin .ms-trash-undo{flex-direction:column;align-items:stretch;}#ms-admin .ms-trash-undo button{width:100%;}}
@media(prefers-reduced-motion:reduce){#ms-admin .ms-trash-shell *{animation:none!important;transition:none!important;}}
