#wrapwrap > .customer-dashboard-shell{width:min(100%,1320px);max-width:1320px;min-width:0}
.customer-order-link{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem;text-decoration:none}
.order-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}
.customer-invoice th,.customer-invoice td{padding:.55rem;border-bottom:1px solid #d8e0e8}
.customer-invoice dl{display:grid;grid-template-columns:1fr auto;gap:.35rem 1.25rem;margin:1rem 0 0 auto;max-width:20rem}
.customer-invoice dd{margin:0;text-align:right}
@media print {
    @page{size:letter;margin:.5in}
    .customer-dashboard-shell{width:100%!important;padding:0!important}
    body:has(.customer-invoice) .storefront-reference-header,
    body:has(.customer-invoice) .portal-footer,
    body:has(.customer-invoice) .account-sidebar,
    body:has(.customer-invoice) .order-toolbar{display:none!important}
    .account-layout:has(.customer-invoice){display:block}
    .customer-invoice{border:0!important;box-shadow:none!important;padding:0!important}
    .customer-invoice thead{display:table-header-group}
    .customer-invoice tr{break-inside:avoid}
}
.customer-invoice-logo{display:block;width:260px;max-width:100%;height:auto;margin:0 0 1rem}

.customer-dashboard-shell .checkout-empty{grid-template-columns:minmax(0,1fr)}
#customer-profile .profile-grid{margin-bottom:1rem}

.invoice-product{display:flex;align-items:center;gap:.75rem;min-width:9rem}
.invoice-product img{width:54px;height:54px;object-fit:contain;flex:none;border-radius:6px;background:#f5f7fa}
.customer-invoice thead{background:#edf3f8;color:#194975}
@media print{.invoice-product img{width:38px;height:38px}}
.invoice-product-placeholder{display:grid;place-items:center;width:54px;height:54px;flex:none;border-radius:6px;background:#f5f7fa}
