/* ═══════════════════════════════════════════════════════════════════════
   OW Kundportal v2 — Dokument & ekonomi (Fakturor · Offerter · Avtal)
   Page rules only; tokens/components live in ../portal.css
   ═══════════════════════════════════════════════════════════════════════ */

/* Numeric columns: header + cells right-aligned, tabular figures */
body.customers .pt-table > thead > tr > th.pt-th-num,
body.customers .pt-table > tbody > tr > td.pt-td-num { text-align: right; }
body.customers table.dataTable thead th.pt-th-num.sorting,
body.customers table.dataTable thead th.pt-th-num.sorting_asc,
body.customers table.dataTable thead th.pt-th-num.sorting_desc { padding-right: 30px; }

/* Actions column: hugs the right edge, never wraps; inline PDF form */
body.customers .pt-table > thead > tr > th.pt-th-actions,
body.customers .pt-table > tbody > tr > td.pt-td-actions { text-align: right; width: 1%; white-space: nowrap; }
body.customers .pt-td-actions form { display: inline; margin: 0; }
body.customers .pt-td-actions .pt-btn { vertical-align: middle; }

/* Row: name + muted second line (workshop under the number on narrow screens is not used; kept for subject sublines) */
body.customers .pt-table .pt-td-sub { display: block; font-size: 12.5px; color: var(--pt-muted); font-weight: 400; margin-top: 2px; }

/* Empty state inside the card gets the same inner padding as a table */
body.customers .pt-doc-card > .pt-empty { padding: 44px 20px; }

@media (max-width: 767px) {
    body.customers .pt-doc-card > .pt-empty { padding: 32px 16px; }
}
