.approval-record-mode > .department-detail { display: none; }
body:has(.approval-record-mode.active) .nav { align-content: start; }
.ar-workspace[hidden] { display: none; }
.ar-workspace .ar-filters { grid-template-columns: repeat(3,minmax(0,1fr)); }
.ar-workspace .pf-search { grid-column: span 2; }
.ar-workspace .pf-filter-actions { grid-column: auto; }
.ar-summary { grid-template-columns: repeat(4,minmax(0,1fr)); }
.ar-summary:has(> div:nth-child(5)) { grid-template-columns: repeat(3,minmax(0,1fr)); }
.ar-record-table .pf-table { min-width: 930px; }
.ar-record-table th:first-child { width: 25%; }
.ar-record-table th:last-child { width: 68px; }
.ar-record-table th:last-child, .ar-record-table td:last-child { position: sticky; right: 0; background: #fff; box-shadow: -3px 0 6px #20352a0d; }
.ar-record-table th:last-child { background: #f3f7f5; }
.ar-results[aria-busy=true] { opacity: .5; pointer-events: none; }
.ar-pending { color: #875619; background: #fff0d4; }
.ar-rejected { color: #ad3f43; background: #fcebed; }
.ar-approved { color: #206d50; background: #e5f3ec; }
.ar-dialog .pf-facts { grid-template-columns: repeat(2,minmax(0,1fr)); }
.ar-dialog .pf-wide .pf-table { min-width: 440px; }
.ar-export { white-space: nowrap; flex-shrink: 0; font-size: 13px; }
.ar-export[hidden] { display: none; }
@media (max-width:900px) {
  .ar-workspace .ar-filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ar-workspace .pf-filter-actions { grid-column: 1/-1; }
}
@media (max-width:650px) {
  .ar-record-table { display: none; }
  .ar-summary, .ar-summary:has(> div:nth-child(5)) { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ar-workspace .pf-heading { align-items: flex-start; }
}
