/* External workforce approved print layout - 2026-10-06 */
.external-print-document-header{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:14px!important;
    margin:0 0 10px!important;
    padding:6px 4px 9px!important;
    border-bottom:1px solid #d9e2ec!important;
    background:#fff!important;
  }
  .external-print-current-brand{
    display:flex!important;
    align-items:center!important;
    gap:9px!important;
    min-width:0!important;
  }
  .external-print-logo{
    width:42px!important;
    height:42px!important;
    object-fit:contain!important;
    border-radius:8px!important;
  }
  .external-print-brand-copy{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    line-height:1.05!important;
  }
  .external-print-brand-copy b{
    font-size:18px!important;
    font-weight:900!important;
    color:#14213f!important;
    letter-spacing:-.5px!important;
  }
  .external-print-brand-copy small{
    margin-top:3px!important;
    font-size:8px!important;
    color:#6b7b95!important;
  }
  .external-print-brand-copy small em{
    font-style:normal!important;
    font-weight:800!important;
    color:#2f66d0!important;
  }
  .external-print-date{font-size:7px!important;color:#6b7b95!important;text-align:right!important;white-space:nowrap!important}
  .external-month-print-btn,
  .external-kpis,
  .external-site-summary,
  .external-direct-payment-detail,
  .external-worker-detail-card,
  #newExt,
  #newExternalDirectPay,
  .external-toolbar,
  .bottom-quick,
  .reference-bottom-nav,
  .mobile-bottom-nav,
  .bottom-nav,
  .quick-bottom-nav,
  .mobile-quick-nav,
  .bottom-menu,
  .app-bottom-nav,
  .top-primary-menu,
  .grouped-top-menu,
  .top-group-nav,
  .sidebar,
  .sidebar-scrim,
  .company-header,
  .reference-header,
  .reference-actions,
  .external-compact-actions,
  .manage-cell{
    display:none!important;
  }
  html,body{background:#fff!important;margin:0!important;padding:0!important}
  .app-shell,.clean-shell,.app-shell main,main,#content{
    display:block!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    background:#fff!important;
    min-height:0!important;
  }
  .external-company-settlement,
  .external-tax-invoices{
    display:block!important;
    border:0!important;
    margin:0 0 12px!important;
    padding:0!important;
    box-shadow:none!important;
    break-inside:avoid-page!important;
    page-break-inside:avoid!important;
  }
  .external-company-settlement .panel-head,
  .external-tax-invoices .panel-head{
    display:flex!important;
    align-items:flex-end!important;
    justify-content:space-between!important;
    gap:8px!important;
    margin:0 0 6px!important;
    padding:0 0 6px!important;
    border-bottom:1px solid #cfd8e3!important;
  }
  .external-company-settlement .panel-head h3,
  .external-tax-invoices .panel-head h3{margin:0!important;font-size:12px!important;line-height:1.25!important}
  .external-company-settlement .panel-head small,
  .external-tax-invoices .panel-head small{display:block!important;margin-top:2px!important;font-size:7px!important;line-height:1.3!important}
  .external-company-settlement .approval-signature-note{
    display:block!important;
    margin-top:5px!important;
    padding:5px 6px!important;
    border:1px solid #d7dee8!important;
    border-radius:4px!important;
    background:#f8fafc!important;
    font-size:6.5px!important;
    line-height:1.35!important;
    color:#334155!important;
  }
  .external-no-scroll,.table-wrap{overflow:visible!important;width:100%!important}
  .external-company-compact,
  .external-invoice-expense-table{
    width:100%!important;
    min-width:0!important;
    table-layout:fixed!important;
    border-collapse:collapse!important;
    font-size:7.5px!important;
  }
  .external-company-compact th,.external-company-compact td,
  .external-invoice-expense-table th,.external-invoice-expense-table td{
    padding:5px 4px!important;
    white-space:normal!important;
    word-break:keep-all!important;
    overflow-wrap:anywhere!important;
    line-height:1.3!important;
    vertical-align:middle!important;
    border:1px solid #cbd5e1!important;
  }
  .external-company-compact thead th,
  .external-invoice-expense-table thead th{
    background:#eef2f7!important;
    color:#111827!important;
    font-weight:850!important;
    text-align:center!important;
  }
  .external-company-compact td:first-child,
  .external-invoice-expense-table td:first-child{text-align:left!important}
  .external-company-compact th:nth-child(1),.external-company-compact td:nth-child(1){width:23%!important}
  .external-company-compact th:nth-child(2),.external-company-compact td:nth-child(2){width:10%!important;text-align:center!important}
  .external-company-compact th:nth-child(3),.external-company-compact td:nth-child(3){width:17%!important}
  .external-company-compact th:nth-child(4),.external-company-compact td:nth-child(4){width:13%!important}
  .external-company-compact th:nth-child(5),.external-company-compact td:nth-child(5){width:17%!important}
  .external-company-compact th:nth-child(6),.external-company-compact td:nth-child(6){width:20%!important}
  .external-company-compact th:nth-child(7),.external-company-compact td:nth-child(7),.external-company-compact col:nth-child(7){display:none!important}
  .external-invoice-expense-table th:nth-child(1),.external-invoice-expense-table td:nth-child(1){width:22%!important}
  .external-invoice-expense-table th:nth-child(2),.external-invoice-expense-table td:nth-child(2){width:21%!important}
  .external-invoice-expense-table th:nth-child(3),.external-invoice-expense-table td:nth-child(3){width:13%!important}
  .external-invoice-expense-table th:nth-child(4),.external-invoice-expense-table td:nth-child(4){width:12%!important}
  .external-invoice-expense-table th:nth-child(5),.external-invoice-expense-table td:nth-child(5){width:15%!important}
  .external-invoice-expense-table th:nth-child(6),.external-invoice-expense-table td:nth-child(6){width:17%!important}
  .external-company-compact small,.external-invoice-expense-table small{display:block!important;margin-top:2px!important;font-size:6px!important;line-height:1.25!important}
  .external-total-row td{background:#f8fafc!important;font-weight:850!important}
  .external-due-cell b{display:none!important}
  .external-due-cell strong{display:block!important;margin-top:0!important;font-size:9px!important;color:#111827!important;font-weight:950!important}
  .external-status{display:none!important}
  .external-invoice-kpi{display:block!important;margin:0!important;text-align:right!important;font-size:8px!important}
  .external-invoice-kpi span{display:inline-block!important;border:1px solid #cbd5e1!important;border-radius:4px!important;padding:4px 6px!important;background:#fff!important}
  .external-invoice-kpi .status-dot{display:none!important}
  [style*="position: fixed"][class*="bottom"],
  [style*="position:fixed"][class*="bottom"]{display:none!important}
  @page{size:A4 portrait;margin:9mm 8mm 9mm}
}