.archive-tools .history-dialog-body>label{display:grid;gap:8px;margin:16px 0;font-size:13px}.archive-tools .at-pdf{width:100%;height:62vh;border:1px solid #dce7df;border-radius:6px;background:#fff}.archive-tools .at-image{display:block;max-width:100%;max-height:65vh;margin:auto;object-fit:contain}.archive-tools footer{justify-content:flex-end}.archive-tools textarea{min-height:72px}.archive-tools .history-wide{grid-column:1/-1}.archive-tools .history-event{overflow-wrap:anywhere}
.at-pdf-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:14px}.at-pdf-scroll{height:60vh;overflow:auto;background:#e9eeeb;padding:12px;text-align:center}.at-pdf-scroll canvas{background:white;display:block;margin:0 auto;box-shadow:0 1px 6px #193f3522}

/* Independent history permission controls */
.staff-detail-permission-editor .permission-group[data-permission-group="historical_leases"]{grid-column:1/-1;min-width:0}
.staff-detail-permission-editor .permission-group[data-permission-group="historical_leases"] .permission-options{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}
.staff-detail-permission-editor .permission-group[data-permission-group="historical_leases"] .permission-option span{min-width:0;overflow-wrap:anywhere}
