/* FIX21 - scoped styles only. */
.record-delete-button{color:#a22431!important;border-color:#e5bbc0!important;background:#fff!important}
.record-delete-button:hover{background:#fff1f2!important}
.record-trash-dialog{border:0;border-radius:18px;padding:0;width:min(760px,calc(100vw - 32px));max-height:calc(100dvh - 40px);box-shadow:0 24px 80px #10203755;color:#243447;font:inherit;overflow:auto}
.record-trash-dialog::backdrop{background:#18233488}
.record-trash-head{display:flex;align-items:flex-start;justify-content:space-between;padding:24px 28px 18px;border-bottom:1px solid #e4e9ef;gap:16px}
.record-trash-head span{font-size:11px;font-weight:700;letter-spacing:.12em;color:#778599}
.record-trash-head h2{margin:7px 0 0;font-size:24px;line-height:1.25;overflow-wrap:anywhere}
.record-trash-head .btn{font-size:21px;line-height:1;padding:8px 12px}
.record-trash-body{padding:22px 28px;line-height:1.55}
.record-trash-body p{margin:14px 0}
.record-trash-record{background:var(--soft,#edf3fa);border-left:4px solid var(--accent,#275ca8);padding:14px 18px;border-radius:8px;overflow-wrap:anywhere}
.record-trash-record strong{display:block;font-size:18px}
.record-trash-record small{display:block;color:#62738b;margin-top:4px}
.record-trash-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}
.record-trash-facts>div{padding:12px 15px;border:1px solid #e5eaf0;border-radius:10px}
.record-trash-facts strong{display:block;font-size:22px;line-height:1.3}
.record-trash-facts span{font-size:12px;color:#607083}
.record-trash-notice{background:#f1f5fa;border-radius:9px;padding:14px 16px;border:1px solid #dce5ef}
.record-trash-label{display:block;font-size:13px;font-weight:600;margin-top:18px}
.record-trash-label textarea,.record-trash-search input{box-sizing:border-box;width:100%;padding:10px 12px;border:1px solid #ccd6e2;border-radius:7px;background:white;font:inherit;color:inherit}
.record-trash-label textarea{display:block;margin-top:6px;resize:vertical}
.record-trash-agreement{display:flex;align-items:flex-start;gap:10px;margin-top:18px;font-size:14px;font-weight:600}
.record-trash-agreement input{width:18px;height:18px;flex:none;margin:2px 0 0;accent-color:var(--accent,#275ca8)}
.record-trash-error{background:#fff0f0;border:1px solid #efbfc1;color:#982736;padding:12px 15px;border-radius:8px;margin:14px 0;font-size:14px}
.record-trash-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 28px;border-top:1px solid #e4e9ef;background:#fafbfc;flex-wrap:wrap}
.record-delete-confirm{background:#b52839!important;color:white!important;border-color:#b52839!important}
.record-trash-dialog .btn:disabled{opacity:.45;cursor:not-allowed}
.record-trash-dialog :focus-visible{outline:3px solid var(--accent,#275ca8);outline-offset:3px}
.record-trash-search{display:flex;gap:10px;margin-top:16px}
.record-trash-count{font-size:12px;color:#697990;margin:18px 0 8px}
.record-trash-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 0;border-top:1px solid #e9edf2}
.record-trash-row>div{min-width:0;overflow-wrap:anywhere}
.record-trash-row strong{display:block;font-size:15px}
.record-trash-row small,.record-trash-meta{font-size:12px;color:#6e7d90}
.record-trash-row p{margin:6px 0 0;font-size:13px}
.record-trash-row .btn{flex:none}
.record-trash-empty{padding:28px 0;color:#6c7c90;text-align:center}
.record-trash-pages{display:flex;align-items:center;gap:10px;font-size:12px}
[data-record-trash][hidden]{display:none!important}
@media(max-width:540px){.record-trash-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.record-trash-head,.record-trash-body,.record-trash-footer{padding:18px}.record-trash-head h2{font-size:21px}.record-trash-row{align-items:flex-start;flex-direction:column;gap:10px}.record-trash-footer{align-items:stretch}.record-trash-footer>.btn{width:100%}.record-trash-pages{justify-content:space-between;width:100%}.record-trash-facts{gap:8px}.record-trash-facts>div{padding:10px}.record-trash-facts span{font-size:11px}}
