/* v69 Every pop-up closes with the same "Close" button as Audit history (replaces the small X / ✕ icons).
   :is(#_,button) gives these rules ID weight so older dark-header X styles cannot override them. */
html body button.modal-close-btn:is(#_,button){display:inline-flex;align-items:center;justify-content:center;flex:none;height:34px;min-width:0;width:auto;padding:0 14px!important;
  border:1px solid #CFC7BD!important;border-radius:6px!important;background:#fff!important;color:#232323!important;font:inherit;font-size:13px!important;font-weight:600!important;line-height:1!important;
  cursor:pointer;box-shadow:none!important;transition:background-color .15s ease,border-color .15s ease}
html body button.modal-close-btn:is(#_,button):hover{background:#F5F2EE!important;border-color:#A8A29E!important}
html body button.modal-close-btn:is(#_,button):focus-visible{outline:2px solid #232323;outline-offset:2px}

/* v69 Recycle Bin: select several records, Restore selected / Delete selected permanently / Delete all permanently. */
html body #universalModalPanel:has(.recycle-list){max-width:760px}
.recycle-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;padding:10px 12px;border:1px solid var(--dim,#E4DFD8);border-radius:8px;background:#F8F6F3}
.recycle-tools .recycle-all{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:600;cursor:pointer}
.recycle-tools .recycle-count{font-size:12.5px;color:#7A746E}
.recycle-tools .recycle-tool-btns{display:inline-flex;flex-wrap:wrap;gap:8px;margin-left:auto}
.recycle-tools button{height:32px;padding:0 12px;border-radius:6px;font-size:12.5px;font-weight:600;border:1px solid #CFC7BD;background:#fff;color:#232323;cursor:pointer}
.recycle-tools button:disabled{opacity:.45;cursor:not-allowed}
.recycle-entry .recycle-check{display:inline-flex;align-items:center;padding:4px;cursor:pointer}
.recycle-entry input[type=checkbox],.recycle-tools input[type=checkbox]{width:16px;height:16px;accent-color:#232323}
.recycle-entry.is-selected{background:#F5F2EE}

/* v69 Update changelog: charcoal title row; stone background around the version boxes (boxes stay white). */
html body #universalModalPanel:has(.changelog)>.universal-modal-head{background:#232323!important;border-bottom:0!important}
html body #universalModalPanel:has(.changelog) #universalModalTitle{color:#fff!important}
html body #universalModalPanel:has(.changelog) #universalModalBody{background:#E7E5E4!important}
html body #universalModalPanel:has(.changelog) .changelog-entry{background:#fff}
html body #universalModalPanel:has(.changelog) .changelog-entry.is-new{background:#FFFCF8}
html body #universalModalPanel:has(.changelog) #universalModalFooter{background:#E7E5E4!important;border-top-color:#D6D3D1!important}

/* v69 Record forms: fields that do not apply (Perpetual licence: Renewal date, Expire date, Auto-Renew) look clearly greyed out. */
html body :is(#softwareForm,#cloudForm,#hardwareForm) :is(input,select,textarea):disabled{background:#ECEAE6!important;color:#9A948D!important;border-color:#DDD8D1!important;cursor:not-allowed!important;opacity:1!important}
