html[data-theme] body.n-site main.nx-account #customer[data-view=orders] .nx-dashboard-grid{grid-template-columns:minmax(0,1fr);max-width:800px}
.nx-cart-item-price{margin-inline-start:auto;white-space:nowrap;font-size:13px;font-weight:700}
.nx-cart-summary{display:grid;gap:9px;padding:16px 0;border-top:1px solid var(--nx-border);font-size:13px}
.nx-cart-summary>div{display:flex;justify-content:space-between;gap:12px}.nx-cart-summary .nx-cart-total{font-size:16px}.nx-cart-discount{color:var(--nx-accent)}.nx-cart-hint{margin:0;color:var(--nx-copy);font-size:12px}
.nx-orders-list{display:grid;gap:10px;margin-top:18px}.nx-order-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px;border:1px solid var(--nx-border);border-radius:14px}.nx-order-meta,.nx-order-side{display:grid;gap:6px}.nx-order-meta span,.nx-order-meta small{color:var(--nx-copy)}.nx-order-side{justify-items:end;white-space:nowrap}.nx-orders-empty{color:var(--nx-copy)}
@media(max-width:650px){html[data-theme] body.n-site main.nx-account .nx-dashboard-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}.nx-order-row{align-items:flex-start}.nx-cart-item-price{font-size:11px}}
.nx-account-heading .nx-account-eyebrow,.nxpay-history-entry{display:none!important}
.nxpay-product{display:flex;justify-content:space-between;align-items:center;gap:12px}.nxpay-product strong{white-space:nowrap;font-size:13px}.nxpay-coupon{display:grid;gap:8px;margin-top:18px}.nxpay-coupon label{font-weight:700}.nxpay-coupon input{width:100%;box-sizing:border-box}.nxpay-coupon small{color:var(--nx-copy)}
#nxpay-products .nxpay-product:last-child{border-bottom:0}

/* Consistent account panel height and compact order actions. */
.nx-cart-item-price{display:grid;gap:3px;justify-items:end}.nx-cart-item-old{color:var(--nx-copy);font-size:11px;font-weight:400}.nx-cart-summary{padding:14px 0}.nx-order-side .btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 16px}.nx-order-row{align-items:center}
@media(min-width:851px){html[data-theme] body.n-site main.nx-account #customer[data-view=overview] .nx-dashboard-grid{align-items:stretch}html[data-theme] body.n-site main.nx-account #customer[data-view=overview] :is(#account-cart,#account-licences){align-self:stretch;height:auto}}

/* Keep the cart actions at the bottom when overview panels share a height. */
html[data-theme] body.n-site main.nx-account #customer[data-view=overview] #account-cart:not([hidden]){display:flex;flex-direction:column}
html[data-theme] body.n-site main.nx-account #customer[data-view=overview] #account-cart .nx-add-tool{margin-top:auto;padding-top:20px}

/* Add plugins immediately after the list; keep the total and checkout together at the bottom. */
html[data-theme] body.n-site main.nx-account #customer[data-view=overview] #account-cart #cart{order:1}
html[data-theme] body.n-site main.nx-account #customer[data-view=overview] #account-cart .nx-add-tool{order:2;margin-top:0;padding-top:16px}
html[data-theme] body.n-site main.nx-account #customer[data-view=overview] #account-cart .nx-cart-summary{order:3;margin-top:auto}
html[data-theme] body.n-site main.nx-account #customer[data-view=overview] #account-cart .nx-cart-note{order:4}

/* Full-width order view and meaningful discount colours. */
html[data-theme] body.n-site main.nx-account #customer[data-view=orders] .nx-dashboard-grid{max-width:none;width:100%}
html[data-theme=light] body.n-site .nx-cart-item-price.nx-discounted .nx-cart-item-old{color:#b3261e}
html[data-theme=light] body.n-site .nx-cart-item-price.nx-discounted strong{color:#147a46}
html[data-theme=dark] body.n-site .nx-cart-item-price.nx-discounted .nx-cart-item-old{color:#ff9990}
html[data-theme=dark] body.n-site .nx-cart-item-price.nx-discounted strong{color:#85dda8}
