/* Purchase receipt desktop rows — replacement matching the supplied design. */
@media (min-width: 761px) {
  #purchaseReceiptsView > .card-grid-shell { display:none !important; }
  #purchaseReceiptsView .purchase-receipt-desktop-header { position:relative; z-index:40; display:flex; flex:0 0 64px; align-items:center; justify-content:space-between; gap:16px; box-sizing:border-box; width:calc(100% + 32px); height:64px; margin:0 -16px; padding:0 16px; border:0; border-radius:0; background:rgba(255,255,255,.95); backdrop-filter:blur(12px); box-shadow:0 1px 8px rgba(0,0,0,.04); color:#0b1c30; font:400 12px/16px "Be Vietnam Pro",Arial,sans-serif; }
  #purchaseReceiptsView .purchase-receipt-desktop-header[hidden] { display:none; }
  .purchase-receipt-header-title { display:flex; align-items:center; gap:4px; flex-shrink:0; }
  #purchaseReceiptsView .purchase-receipt-header-title h1 { margin:0; padding:0; color:#0b1c30; font:700 20px/28px "Be Vietnam Pro",Arial,sans-serif; letter-spacing:-.025em; }
  #purchaseReceiptDesktopCount { padding:2px 8px; border-radius:12px; background:#dbe1ff; color:#00174b; font:600 11px/14px "Be Vietnam Pro",Arial,sans-serif; letter-spacing:.02em; }
  .purchase-receipt-header-actions { display:flex; align-items:center; gap:8px; flex-shrink:0; }
  #purchaseReceiptsView .purchase-receipt-header-search { position:relative; display:block; width:320px; margin:0; }
  #purchaseReceiptDesktopSearch { box-sizing:border-box; width:100%; height:36px; min-height:36px; margin:0; padding:0 16px 0 36px; border:1px solid #e5eeff; border-radius:4px; color:#0b1c30; background:#eff4ff; font:400 12px/16px "Be Vietnam Pro",Arial,sans-serif; }
  #purchaseReceiptDesktopSearch::placeholder { color:#434655; }
  #purchaseReceiptDesktopSearch:focus { outline:2px solid #2563eb; background:#fff; }
  .purchase-receipt-header-search > .icon { position:absolute; left:12px; top:9px; width:18px; height:18px; color:#434655; }
  .purchase-receipt-header-search svg, .purchase-receipt-header-dates svg { width:18px; height:18px; }
  #purchaseReceiptsView .purchase-receipt-header-dates { display:flex; align-items:center; gap:4px; box-sizing:border-box; height:36px; padding:0 12px; border:1px solid #e5eeff; border-radius:4px; background:#fff; }
  .purchase-receipt-header-dates > .icon { width:18px; height:18px; color:#004ac6; }
  #purchaseReceiptsView .purchase-receipt-header-dates label { display:flex; align-items:center; gap:4px; margin:0; font:500 12px/16px "Be Vietnam Pro",Arial,sans-serif; }
  #purchaseReceiptsView .purchase-receipt-header-dates input { width:112px; min-height:0; height:28px; margin:0; padding:0; border:0; border-radius:0; color:#0b1c30; background:transparent; font:500 12px/16px "Be Vietnam Pro",Arial,sans-serif; }
  #purchaseReceiptsView .purchase-receipt-header-actions button { display:flex; align-items:center; justify-content:center; gap:6px; height:36px; min-height:36px; margin:0; padding:0 16px; border:0; border-radius:4px; color:#fff; background:#004ac6; font:500 12px/16px "Be Vietnam Pro",Arial,sans-serif; white-space:nowrap; }
  #purchaseReceiptsView .purchase-receipt-header-actions button:hover { background:#2563eb; }
  #purchaseReceiptsView #purchaseReceiptDesktopCreate { font-weight:600; box-shadow:0 1px 2px rgba(0,0,0,.05); }
  #purchaseReceiptDesktopCreate > svg { width:18px; height:18px; }
  #purchaseReceiptsPagination.purchase-receipt-desktop-footer { position:sticky; bottom:0; z-index:30; display:flex; flex:0 0 auto; align-self:stretch; align-items:center; justify-content:space-between; gap:12px; width:calc(100% + 32px); max-width:none; box-sizing:border-box; min-height:44px; margin:0 -16px; padding:8px 16px; border:0; border-top:1px solid #e5eeff; border-radius:0; background:rgba(255,255,255,.95); backdrop-filter:blur(12px); box-shadow:0 1px 8px rgba(0,0,0,.04); color:#434655; font:400 12px/16px "Be Vietnam Pro",Arial,sans-serif; }
  .purchase-receipt-footer-summary { display:flex; align-items:center; gap:12px; }
  .purchase-receipt-footer-summary strong { color:#0b1c30; font-weight:600; }
  .purchase-receipt-footer-summary label { display:flex; align-items:center; gap:4px; margin:0; color:#434655; font:600 11px/14px "Be Vietnam Pro",Arial,sans-serif; letter-spacing:.02em; }
  .purchase-receipt-footer-summary select { width:auto; min-height:0; margin:0; padding:4px; border:0; border-radius:2px; color:#0b1c30; background:#eff4ff; font:400 12px/16px "Be Vietnam Pro",Arial,sans-serif; }
  .purchase-receipt-footer-pages { display:flex; align-items:center; gap:4px; }
  .purchase-receipt-footer-pages button { display:flex; align-items:center; justify-content:center; flex:0 0 28px; width:28px; height:28px; min-height:28px; margin:0; padding:0; border:0; border-radius:2px; color:#434655; background:transparent; font:500 12px/16px "Be Vietnam Pro",Arial,sans-serif; box-shadow:none; }
  .purchase-receipt-footer-pages button:hover:not(:disabled) { background:#eff4ff; }
  .purchase-receipt-footer-pages button.active, .purchase-receipt-footer-pages button.active:hover { color:#fff; background:#004ac6; font-weight:700; }
  .purchase-receipt-footer-pages button:disabled { opacity:.4; cursor:default; }
  .purchase-receipt-footer-pages svg { width:18px; height:18px; }
  .purchase-receipt-footer-gap { padding:0 4px; font-size:11px; }
  .desktop-purchase-receipts-list { display:block; flex:1 1 auto; min-width:0; min-height:0; overflow:auto; margin:0; padding:0; border:1px solid #c3c6d7; border-radius:8px; background:#fff; box-shadow:0 1px 6px #0b1c3009; }
  .purchase-receipt-desktop-table-scroll { width:100%; overflow:auto; }
  .purchase-receipt-desktop-table { width:100%; min-width:1180px; border-collapse:collapse; table-layout:auto; color:#0b1c30; background:#fff; font-family:"Be Vietnam Pro",Arial,sans-serif; font-size:12px; line-height:16px; }
  .purchase-receipt-desktop-table th { position:sticky; top:0; z-index:2; padding:12px 16px; border-bottom:1px solid #e5eeff; color:#434655; background:#eff4ff; font-size:11px; line-height:14px; letter-spacing:.02em; font-weight:600; text-align:left; text-transform:uppercase; white-space:nowrap; box-shadow:0 1px 2px #0b1c3008; }
  .purchase-receipt-desktop-table td { padding:14px 16px; border-bottom:1px solid #e5eeff; vertical-align:middle; }
  .purchase-receipt-desktop-table th:first-child, .purchase-receipt-desktop-table td:first-child { width:40px; text-align:center; }
  .purchase-receipt-desktop-table th:nth-child(6), .purchase-receipt-desktop-table th:nth-child(10), .purchase-receipt-desktop-table th:nth-child(11) { text-align:center; }
  .purchase-receipt-desktop-table th:nth-child(n+7):nth-child(-n+9) { text-align:right; }
  .desktop-purchase-receipts-table-row { cursor:pointer; transition:background-color 160ms ease; }
  .purchase-receipt-desktop-table .desktop-purchase-receipts-table-row:hover, .purchase-receipt-desktop-table .desktop-purchase-receipts-table-row.expanded { background:#eff4ff99; }
  .desktop-purchase-check { display:grid; place-items:center; }
  .desktop-purchase-check input { appearance:auto; width:16px; height:16px; min-height:16px; margin:0; padding:0; accent-color:#004ac6; cursor:pointer; }
  .desktop-purchase-code { white-space:nowrap; }
  .desktop-purchase-code-button { display:inline-flex; align-items:center; gap:4px; margin:0; padding:0; border:0; border-radius:0; color:#004ac6; background:transparent; font:700 14px/20px "Be Vietnam Pro",Arial,sans-serif; letter-spacing:.02em; cursor:pointer; }
  .desktop-purchase-code-button:hover { text-decoration:underline; }
  .desktop-purchase-code-button .icon, .desktop-purchase-code-button .icon svg { width:14px; height:14px; flex-basis:14px; }
  .desktop-purchase-date { white-space:nowrap; }
  .desktop-purchase-date strong, .desktop-purchase-date small, .desktop-purchase-supplier strong, .desktop-purchase-supplier small, .desktop-purchase-quantity strong, .desktop-purchase-quantity small { display:block; }
  .desktop-purchase-date strong { font-size:12px; line-height:16px; font-weight:500; }
  .desktop-purchase-date small, .desktop-purchase-quantity small { color:#434655; font-size:11px; line-height:14px; }
  .desktop-purchase-supplier { min-width:180px; max-width:270px; }
  .desktop-purchase-supplier strong { overflow:hidden; color:#0b1c30; font-size:12px; line-height:16px; font-weight:600; text-overflow:ellipsis; white-space:nowrap; }
  .desktop-purchase-supplier small { display:flex; align-items:center; gap:4px; color:#434655; font-size:12px; line-height:16px; }
  .desktop-purchase-supplier .icon, .desktop-purchase-supplier .icon svg { width:14px; height:14px; flex-basis:14px; }
  .desktop-purchase-warehouse { white-space:nowrap; }
  .desktop-purchase-warehouse > span { display:inline-flex; align-items:center; gap:4px; color:#0b1c30; font-weight:500; }
  .desktop-purchase-warehouse .icon, .desktop-purchase-warehouse .icon svg { width:16px; height:16px; flex-basis:16px; color:#004ac6; }
  .desktop-purchase-quantity { text-align:center; white-space:nowrap; }
  .desktop-purchase-quantity strong { font-size:12px; font-weight:600; }
  .desktop-purchase-money, .desktop-purchase-debt { text-align:right; white-space:nowrap; font-size:14px; line-height:20px; letter-spacing:.02em; }
  .desktop-purchase-total { color:#0b1c30; font-weight:700; }
  .desktop-purchase-paid { color:#0b1c30; }
  .desktop-purchase-paid.is-paid { color:#006c49; font-weight:600; }
  .desktop-purchase-debt { color:#434655; }
  .desktop-purchase-debt.is-debt { color:#ba1a1a; font-weight:700; }
  .desktop-purchase-status { text-align:center; white-space:nowrap; }
  .desktop-purchase-badge { display:inline-flex; align-items:center; gap:4px; padding:4px 10px; border:0; border-radius:12px; font-size:11px; line-height:14px; letter-spacing:.02em; font-weight:600; }
  .desktop-purchase-badge::before { content:""; display:inline-block; width:6px; height:6px; border-radius:50%; background:#006c49; }
  .desktop-purchase-badge.is-success { color:#002113; background:#6ffbbe; }
  .desktop-purchase-badge.is-warning { color:#0b1c30; background:#dce9ff; }
  .desktop-purchase-badge.is-warning::before { background:#3e3fcc; }
  .desktop-purchase-actions { text-align:center; white-space:nowrap; }
  .desktop-purchase-actions > div { display:flex; align-items:center; justify-content:center; gap:4px; }
  .desktop-purchase-action-button { display:grid; place-items:center; width:30px; height:30px; min-height:30px; margin:0; padding:6px; border:0; border-radius:2px; color:#434655; background:transparent; }
  .desktop-purchase-action-button:hover { color:#004ac6; background:#e5eeff; }
  .desktop-purchase-action-button .icon, .desktop-purchase-action-button .icon svg { width:18px; height:18px; flex-basis:18px; }
  .purchase-receipt-desktop-table .desktop-purchase-detail-row > td { padding:0; background:#f8f9ff; }
}
