/* Ex-Fty remains easy to find while scanning the APS order pool and line plan. */
#content .aps-pool-table thead th.aps-exfty-cell,
#content .aps375-plan-table thead th.aps-exfty-cell{
  background:#dce9ff!important;color:#194a9d!important;
  box-shadow:inset 0 -2px 0 #4775df!important;
}
#content .aps-pool-table tbody td.aps-exfty-cell,
#content .aps375-plan-table tbody td.aps-exfty-cell{
  background:#eef4ff!important;color:#173c80!important;font-weight:700;
  box-shadow:inset 1px 0 0 #cbdcff,inset -1px 0 0 #cbdcff;
}
#content .aps-pool-table tbody tr:hover td.aps-exfty-cell,
#content .aps375-plan-table tbody tr:hover td.aps-exfty-cell{background:#dce9ff!important}

/* APS line plan: compact one-row actions and a visible fixed selection column. */
#content .aps375-plan-table .aps-line-check{position:sticky!important;right:164px!important;width:40px!important;min-width:40px!important;max-width:40px!important;padding:0!important;text-align:center!important;z-index:11;background:#fff!important}
#content .aps375-plan-table thead .aps-line-check{z-index:31!important;background:#eaf0f8!important}
#content .aps375-plan-table tfoot .aps-line-check{z-index:18!important;background:#fff3b8!important}
#content .aps375-plan-table .aps-line-check input{width:16px!important;height:16px!important;min-height:16px!important;margin:0!important;vertical-align:middle}
#content .aps375-plan-table td.aps-grid-actions.aps-line-actions-compact{width:164px!important;min-width:164px!important;max-width:164px!important;height:32px!important;max-height:32px!important;padding:2px!important;vertical-align:middle!important;overflow:hidden!important}
#content .aps375-plan-table .aps-line-controls{display:flex!important;align-items:center!important;gap:3px!important;flex-wrap:nowrap!important;width:158px!important;height:26px!important;white-space:nowrap!important}
#content .aps375-plan-table .aps-line-controls>*{margin:0!important;flex-shrink:0!important}
#content .aps375-plan-table .aps-line-controls .drag-handle{width:18px!important;overflow:hidden;font-size:10px!important}
#content .aps375-plan-table .aps-line-controls select{width:55px!important;min-width:55px!important;max-width:55px!important;height:25px!important;min-height:25px!important;padding:0 2px!important;font-size:11px!important;border-radius:4px!important}
#content .aps375-plan-table .aps-line-controls button{height:25px!important;min-height:25px!important;max-height:25px!important;padding:0 4px!important;font-size:11px!important;line-height:23px!important;border-radius:4px!important}

/* Native line selectors remain compact; reserve enough space for both actions. */
#content .aps375-plan-head .aps377-group-filter{min-width:95px!important;width:100px!important;flex:0 0 100px!important}
#content .aps375-plan-head .aps377-group-filter select{width:100px!important;max-width:100px!important;height:32px!important}
#content .aps375-plan-table td.aps-grid-actions.aps-line-actions-compact{width:206px!important;min-width:206px!important;max-width:206px!important;overflow:visible!important}
#content .aps375-plan-table th:last-child{width:206px!important;min-width:206px!important;max-width:206px!important}
#content .aps375-plan-table .aps-line-controls{width:200px!important}
#content .aps375-plan-table .aps-line-controls select{width:58px!important;min-width:58px!important;max-width:58px!important}
#content .aps375-plan-table .aps-line-check{right:206px!important}
