/* Row actions are explicitly selected; normal spreadsheet editing stays independent. */
#al-table .al-check-cell {
  position: sticky;
  left: 0;
  z-index: 1;
  width: 42px !important;
  min-width: 42px !important;
  max-width: 42px !important;
  padding: 8px !important;
  text-align: center;
  background: #f8fbff;
  box-shadow: 1px 0 0 #dbe6f3;
}
#al-table thead .al-check-cell { z-index: 3; background: #123a78; }
#al-table .al-check-cell input {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin: 0;
  vertical-align: middle;
  accent-color: #1766bd;
  cursor: pointer;
}
#al-table .al-check-cell input:focus-visible {
  outline: 2px solid #46b4ff;
  outline-offset: 3px;
}
#al-table .al-row-checked .al-check-cell,
#al-table .al-row-checked .al-row-no { background: #dcebff; color: #123a78; }
#al-table td[data-field="related_project_id"] .al-input { font-weight: 700; }
#page-assetledger .al-project-filter { width: 260px; min-width: 180px; }
#page-assetledger .al-detail-head { flex: 0 0 auto; flex-wrap: wrap; gap: 8px; min-height: 48px; }
#page-assetledger #al-select-toolbar {
  position: static;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 100%;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  z-index: auto;
}
#page-assetledger #al-select-toolbar span { margin: 0 6px 0 0; white-space: nowrap; }
#al-table td.al-edit-cell:focus-visible { outline: 2px solid #1aa3e0; outline-offset: -2px; }
#al-table td.al-edit-cell.selected { box-shadow: inset 0 0 0 2px #1aa3e0; }
@media (max-width: 768px) {
  #page-assetledger .al-project-filter { width: 100%; min-width: 0; }
  #page-assetledger #al-select-toolbar { margin-left: 0; justify-content: flex-start; gap: 5px; }
  #page-assetledger #al-select-toolbar span { flex-basis: 100%; }
}
