/* A1.4 L6.1 (A32.4): the client order manage page (core FOSSBilling 0.8.7 mod_order_manage, body.order-manage)
   must not scroll sideways at 390 px. Its core tables (Service Details, Addons) have no table-responsive
   wrapper, so the card bodies scroll horizontally instead and the tables stay inside their cards.
   CSS only: no core template is copied. File renamed from jvh-order-manage-r1.css in #114 and from r2 in M3-8e, so a
   browser that cached an older name loads the rules below. */
.order-manage .card > .card-body{overflow-x:auto}
/* #114 item 5 (LA option A): on a page that holds the JVH VPS section, hide only the duplicate core "Service
   Details" card. Selected by markup, never by its translated text: the one card, beside the JVH section, whose
   footer holds the core #open-ticket button. The Addons card has no footer (hidden by the next rule); an order without the JVH
   section (pending_setup, suspended, canceled, domain) keeps the core card. The core footer script that defines
   window.onRenewalInvoiceCreated still runs while the card is hidden. */
.order-manage .col-md-12:has(> section.jvh-vps[data-jvh-vps-manager]) > .card:has(> .card-footer #open-ticket){display:none}
/* M3-8e CS7 (Q9): D-b folds the add-ons into the parent price, so on a page that holds the JVH VPS section (an
   active jvhvm order) the core "Addons" card is a stale second list. It is the only other direct .card child
   beside the JVH section and has no footer, unlike Service Details (its footer holds #open-ticket). Selected by
   markup, never by text. Pending, suspended and canceled orders carry no JVH section and keep the card (and the
   only client link to an add-on order's own manage page). The core modals and scripts stay in the DOM. */
.order-manage .col-md-12:has(> section.jvh-vps[data-jvh-vps-manager]) > .card:not(:has(> .card-footer)){display:none}
