/* BizCore V266.7 — phone & tablet screens (approved 14 Oct 2026). Loaded last; see js/responsive.js.
   Sizes:  phone ≤ 760 px · tablet portrait 761–900 px · tablet landscape / small laptop 901–1279 px.   */

/* Injected pieces are hidden on wide screens */
.bc-chiprow,.bc-cards,.bc-mfilter,.bc-step-line,.bc-more-wrap{display:none}
.bcr-sheet[hidden]{display:none!important}

/* ═════════ Tablet portrait + phone (≤ 900 px) ═════════ */
@media (max-width: 900px){
  /* The sidebar is a slide-out drawer (it stayed in the page flow at 761–900 px and left an empty band) */
  html body .app>.sidebar{position:fixed!important;top:0;left:0;height:100vh;z-index:200;transform:translateX(-105%);transition:transform .25s ease;box-shadow:4px 0 16px rgba(0,0,0,.2)}
  html body .app>.sidebar.mobile-open{transform:translateX(0)}
  html body .sidebar-overlay.show{display:block!important;position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:199}
  html body .app>.main{width:100%!important;min-width:0!important;margin-left:0!important}
  html body .mobile-menu-btn{display:inline-flex!important}

  /* Registers: monitor becomes status chips (+ "Summary" panel); the register uses the full width */
  html body :is(#page-rfq,#page-costing,#page-quotations,#page-salesorders,#page-deliverynotes,#page-customerinvoices,#page-receipts,#page-purchaseinvoices,#page-stock,#page-supplierpayments) :is(.module-main-workspace,.dn-register-shell,.rfq-main-workspace){display:block!important;grid-template-columns:1fr!important}
  html body :is(#page-rfq,#page-costing,#page-quotations,#page-salesorders,#page-deliverynotes,#page-customerinvoices,#page-receipts,#page-purchaseinvoices,#page-stock,#page-supplierpayments) :is(aside.dn-overview-panel.module-monitor.bc-monitor,aside.module-monitor.module-monitor.module-monitor,button.module-monitor-rail.module-monitor-rail.module-monitor-rail,.rfq-monitor-expand.rfq-monitor-expand.rfq-monitor-expand){display:none!important}
  html body :is(#page-rfq,#page-costing,#page-quotations,#page-salesorders,#page-deliverynotes,#page-customerinvoices,#page-receipts,#page-purchaseinvoices,#page-stock,#page-supplierpayments) :is(.module-register-area,.rfq-register-area,.dn-register-area){grid-column:auto!important;width:auto!important;margin-left:0!important;min-width:0!important}
  html body :is(#page-rfq,#page-costing,#page-quotations,#page-salesorders,#page-deliverynotes,#page-customerinvoices,#page-receipts,#page-purchaseinvoices,#page-stock,#page-supplierpayments) .bc-chiprow{display:flex;gap:7px;overflow-x:auto;padding:2px 2px 10px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  html body :is(#page-rfq,#page-costing,#page-quotations,#page-salesorders,#page-deliverynotes,#page-customerinvoices,#page-receipts,#page-purchaseinvoices,#page-stock,#page-supplierpayments) .bc-chiprow::-webkit-scrollbar{display:none}

  /* Tables: show every column again (the old rule hid them up to 768 px); the table scrolls sideways if needed */
  html body :is(#page-rfq,#page-costing,#page-quotations,#page-salesorders,#page-deliverynotes,#page-customerinvoices,#page-receipts,#page-purchaseinvoices,#page-stock,#page-supplierpayments) table .mob-hide{display:table-cell!important}
  html body :is(#page-rfq,#page-costing,#page-quotations,#page-salesorders,#page-deliverynotes,#page-customerinvoices,#page-receipts,#page-purchaseinvoices,#page-stock,#page-supplierpayments) .bc-table-wrap{overflow-x:auto!important}
  /* the table wrapper scrolls sideways, so the column headings stick to its own top (not 48 px down) */
  html body :is(#page-rfq,#page-costing,#page-quotations,#page-salesorders,#page-deliverynotes,#page-customerinvoices,#page-receipts,#page-purchaseinvoices,#page-stock,#page-supplierpayments) .bc-table-wrap :is(#quotes-table,#so-register-table,#dn-register-table,#invreg-table,#rctreg-table,.pricing-register-table,table) thead th{top:0!important}
  html body :is(#page-rfq,#page-costing,#page-quotations,#page-salesorders,#page-deliverynotes,#page-customerinvoices,#page-receipts,#page-purchaseinvoices,#page-stock,#page-supplierpayments) .bc-chiprow{padding-left:2px}
}

/* Chips (status row and filter panel) */
.bc-chip{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border:1px solid #d8e0ea;border-radius:999px;background:#fff;color:#334155;font:600 12.5px/1 Inter,system-ui,sans-serif;white-space:nowrap;cursor:pointer}
.bc-chip b{font-weight:700;color:var(--blue)}
.bc-chip-dot{width:8px;height:8px;border-radius:50%;flex:0 0 8px;display:inline-block}
.bc-chip.on .bc-chip-dot{box-shadow:0 0 0 2px rgba(255,255,255,.85)}
.bc-chip.on{background:var(--blue);border-color:var(--blue);color:#fff}
.bc-chip.on b{color:#fff}
.bc-chip-summary{color:var(--blue);border-style:dashed}
.bc-chip-summary i{font-size:15px}

/* Slide-up panel */
.bcr-sheet{position:fixed;inset:0;z-index:1200}
.bcr-sheet-dim{position:absolute;inset:0;background:rgba(15,23,42,.45);opacity:0;transition:opacity .18s}
.bcr-sheet-panel{position:absolute;left:0;right:0;bottom:0;max-height:86vh;overflow:auto;background:#fff;border-radius:18px 18px 0 0;padding:8px 16px calc(16px + env(safe-area-inset-bottom));box-shadow:0 -8px 30px rgba(0,0,0,.18);transform:translateY(100%);transition:transform .2s ease}
@media (min-width: 761px){.bcr-sheet-panel{left:50%;right:auto;width:560px;margin-left:-280px}}
.bcr-sheet.open .bcr-sheet-dim{opacity:1}
.bcr-sheet.open .bcr-sheet-panel{transform:translateY(0)}
.bcr-sheet-handle{width:42px;height:5px;border-radius:3px;background:#cbd5e1;margin:2px auto 10px}
.bcr-sheet-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}
.bcr-sheet-head h3{font-size:17px;font-weight:700;color:var(--blue);margin:0}
.bcr-sheet-link{border:0;background:none;color:var(--blue-mid);font-weight:600;font-size:13px;cursor:pointer;padding:6px 0}
.bcr-sheet-label{font-size:11.5px;font-weight:600;color:#4b5563;letter-spacing:.04em;text-transform:uppercase;margin:14px 0 7px}
.bcr-sheet-select{width:100%;height:42px;border:1px solid #cfd8e3;border-radius:9px;padding:0 10px;font-size:14px;background:#fff;color:#0f172a}
.bcr-sheet-chips{display:flex;flex-wrap:wrap;gap:7px}
.bcr-sheet-custom{display:flex;align-items:center;gap:8px;margin-top:10px}
.bcr-sheet-custom input{flex:1;min-width:0;height:38px;border:1px solid #cfd8e3;border-radius:8px;padding:0 8px;font-size:13px}
.bcr-sheet-actions{display:flex;gap:10px;margin-top:20px}
.bcr-sheet-actions .btn{flex:1;height:44px;justify-content:center;font-size:14.5px}
.bcr-sheet-actions .btn-primary{flex:1.6}
body.bcr-sheet-lock{overflow:hidden}
/* the real monitor inside the Summary panel */
html body .bcr-sheet aside.bc-in-sheet{display:block!important;position:static!important;width:auto!important;max-width:none!important;height:auto!important;max-height:none!important;margin:0!important;box-shadow:none!important;border:0!important;transform:none!important}
html body .bcr-sheet aside.bc-in-sheet .module-monitor-collapse{visibility:hidden}

/* ═════════ Phone (≤ 760 px) ═════════ */
@media (max-width: 760px){
  /* Toolbar: one line — search, filter icon, Excel, + new */
  html body :is(#page-rfq,#page-costing,#page-quotations,#page-salesorders,#page-deliverynotes,#page-customerinvoices,#page-receipts,#page-purchaseinvoices,#page-stock,#page-supplierpayments) .bc-filterbar{flex-wrap:nowrap!important;height:auto!important;min-height:0!important;padding:8px!important;gap:8px!important;position:static!important;overflow:visible!important}
  html body :is(#page-rfq,#page-costing,#page-quotations,#page-salesorders,#page-deliverynotes,#page-customerinvoices,#page-receipts,#page-purchaseinvoices,#page-stock,#page-supplierpayments) .bc-filterbar-left{display:none!important}
  html body :is(#page-rfq,#page-costing,#page-quotations,#page-salesorders,#page-deliverynotes,#page-customerinvoices,#page-receipts,#page-purchaseinvoices,#page-stock,#page-supplierpayments) .bc-filterbar-right{flex:1 1 auto!important;flex-wrap:nowrap!important;justify-content:flex-start!important;gap:8px!important;min-width:0!important;width:100%!important}
  html body :is(#page-rfq,#page-costing,#page-quotations,#page-salesorders,#page-deliverynotes,#page-customerinvoices,#page-receipts,#page-purchaseinvoices,#page-stock,#page-supplierpayments) .bc-filterbar-right>:is(.bc-filter-customer,.bc-filter-status,.bc-date,.register-clear-filters){display:none!important}
  html body :is(#page-costing,#page-quotations) .bc-filterbar-right>.bc-filter-type{display:none!important}   /* V271.10: phones — Type like Customer / Status */
  html body :is(#page-rfq,#page-costing,#page-quotations,#page-salesorders,#page-deliverynotes,#page-customerinvoices,#page-receipts,#page-purchaseinvoices,#page-stock,#page-supplierpayments) .bc-filterbar-right>input.bc-filter.bc-filter-search{order:1;min-height:40px!important;flex:1 1 auto!important;min-width:0!important;max-width:none!important;height:40px!important;font-size:14px!important}
  html body :is(#page-rfq,#page-costing,#page-quotations,#page-salesorders,#page-deliverynotes,#page-customerinvoices,#page-receipts,#page-purchaseinvoices,#page-stock,#page-supplierpayments) .bc-filterbar-right>.bc-mfilter{order:2;display:inline-flex!important}
  html body :is(#page-rfq,#page-costing,#page-quotations,#page-salesorders,#page-deliverynotes,#page-customerinvoices,#page-receipts,#page-purchaseinvoices,#page-stock,#page-supplierpayments) .bc-filterbar-right>.btn:not(.bc-mfilter){order:3}
  html body :is(#page-rfq,#page-costing,#page-quotations,#page-salesorders,#page-deliverynotes,#page-customerinvoices,#page-receipts,#page-purchaseinvoices,#page-stock,#page-supplierpayments) .bc-filterbar-right>.bc-filter-new{order:4}
  html body :is(#page-rfq,#page-costing,#page-quotations,#page-salesorders,#page-deliverynotes,#page-customerinvoices,#page-receipts,#page-purchaseinvoices,#page-stock,#page-supplierpayments) .bc-filterbar-right>:is(.btn,.bc-mfilter){flex:0 0 40px!important;width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;justify-content:center!important;align-items:center!important;position:relative}
  html body :is(#page-rfq,#page-costing,#page-quotations,#page-salesorders,#page-deliverynotes,#page-customerinvoices,#page-receipts,#page-purchaseinvoices,#page-stock,#page-supplierpayments) .bc-filterbar-right>.btn span:not(.bc-mfilter-n){display:none!important}
  html body :is(#page-rfq,#page-costing,#page-quotations,#page-salesorders,#page-deliverynotes,#page-customerinvoices,#page-receipts,#page-purchaseinvoices,#page-stock,#page-supplierpayments) .bc-filterbar-right>.btn i{margin:0!important;font-size:19px}
  .bc-mfilter.on{border-color:var(--blue)!important;color:var(--blue)!important}
  .bc-mfilter-n{position:absolute;top:-6px;right:-6px;min-width:18px;height:18px;padding:0 4px;border-radius:9px;background:var(--blue);color:#fff;font:700 10px/18px Inter,system-ui,sans-serif;text-align:center;border:2px solid #fff;box-sizing:border-box}
  /* Receipts: the green floating button is replaced by the + in the toolbar */
  html body #page-receipts .rct-fab{display:none!important}
  html body #page-receipts #rct-new-btn{display:inline-flex!important}

  /* Cards instead of the table */
  html body :is(#page-rfq,#page-costing,#page-quotations,#page-salesorders,#page-deliverynotes,#page-customerinvoices,#page-receipts,#page-purchaseinvoices,#page-stock,#page-supplierpayments) .bc-cards-wrap{display:none!important}
  html body :is(#page-rfq,#page-costing,#page-quotations,#page-salesorders,#page-deliverynotes,#page-customerinvoices,#page-receipts,#page-purchaseinvoices,#page-stock,#page-supplierpayments) .bc-cards{display:block;padding:8px 0 4px;width:100%}
  html body :is(#page-rfq,#page-costing,#page-quotations,#page-salesorders,#page-deliverynotes,#page-customerinvoices,#page-receipts,#page-purchaseinvoices,#page-stock,#page-supplierpayments) :is(.dn-register-card,.quotation-register-card,.so-register-card,.card){background:transparent!important;border:0!important;box-shadow:none!important}
  .bc-card{background:#fff;border:1px solid #dfe6ee;border-radius:12px;padding:11px 12px;margin:0 0 9px;cursor:pointer}
  .bc-card:active{background:#f8fbff}
  .bc-card:focus-visible{outline:2px solid var(--blue-mid);outline-offset:1px}
  .bc-card-r1{display:flex;justify-content:space-between;align-items:center;gap:8px}
  .bc-card-no{color:var(--c-1d5fa3,#1d5fa3);font-size:14px;font-weight:650}
  .bc-card-status{display:inline-flex;gap:5px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
  .bc-card-status .badge,.bc-card-status [class*="pill"],.bc-card-status [class*="status"]{font-size:12px!important;padding:3px 9px!important}
  .bc-card-cust{font-weight:600;font-size:14px;color:#0f172a;margin:5px 0 3px}
  .bc-card-r3{display:flex;justify-content:space-between;align-items:flex-end;gap:10px}
  .bc-card-meta{font-size:12.5px;color:#64748b;min-width:0}
  .bc-card-chip{margin-top:5px}
  .bc-card-chip *{font-size:11.5px!important}
  .bc-card-amt{font-size:15.5px;font-weight:700;color:#0f172a;font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}
  .bc-card-extra{display:block;font-size:11.5px;font-weight:500;color:#64748b}
  .bc-cards-empty{padding:30px 10px;text-align:center;color:#64748b}
  html body :is(#page-rfq,#page-costing,#page-quotations,#page-salesorders,#page-deliverynotes,#page-customerinvoices,#page-receipts,#page-purchaseinvoices,#page-stock,#page-supplierpayments) .rows-per-page-bar{justify-content:center!important}

  /* View / entry screens: action bar keeps two buttons + "⋯" */
  html body .modal-overlay.open .bc-more-hidden{display:none!important}
  html body .modal-overlay.open .bc-more-wrap{display:block;position:relative;flex:0 0 auto}
  .bc-more-btn{width:44px;height:42px;padding:0!important;justify-content:center}
  .bc-more-btn i{margin:0!important;font-size:18px}
  .bc-more-menu{position:absolute;right:0;bottom:calc(100% + 8px);min-width:220px;background:#fff;border:1px solid #dbe3ec;border-radius:12px;box-shadow:0 10px 30px rgba(15,23,42,.18);padding:6px;z-index:50}
  .bc-more-item{display:flex;align-items:center;gap:10px;width:100%;border:0;background:none;padding:11px 12px;border-radius:8px;font:600 14px Inter,system-ui,sans-serif;color:#1e293b;text-align:left;cursor:pointer}
  .bc-more-item:hover,.bc-more-item:focus{background:#f1f5f9}
  .bc-more-item.danger{color:#b91c1c}
  .bc-more-item:disabled{opacity:.45}
  html body .modal-overlay.open .bc-has-more{display:flex!important;flex-wrap:nowrap!important;gap:8px!important;align-items:center}
  html body .modal-overlay.open .bc-has-more>.btn:not(.bc-more-hidden),
  html body .modal-overlay.open .bc-has-more>*>.btn:not(.bc-more-hidden){flex:1 1 0!important;min-width:0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;justify-content:center}

  /* Order progress: "Step x of n" line instead of six crowded labels */
  .bc-step-line{display:block;margin:0 0 4px}
  .bc-step-text{display:flex;justify-content:space-between;gap:8px;font-size:12.5px;color:#64748b}
  .bc-step-text b{color:var(--blue)}
  .bc-step-next{white-space:nowrap}
  .bc-step-bar{height:6px;border-radius:3px;background:#e2e8f0;margin-top:7px;overflow:hidden}
  .bc-step-bar i{display:block;height:100%;background:var(--blue);border-radius:3px}
  html body .modal-overlay.open .pipeline-track{display:none!important}
}

/* Master Data / Administration on a phone: header buttons wrap instead of running off the screen */
@media (max-width: 760px){
  html body .page-command-header{flex-wrap:wrap!important;gap:8px!important}
  html body .page-command-header>div{flex-wrap:wrap!important;width:100%}
  html body .page-command-header>div>.btn{flex:1 1 auto}
}
.bcr-sheet-custom[hidden]{display:none!important}

/* ═════════ Tablet landscape / small laptop (901–1279 px) ═════════ */
@media (min-width: 901px) and (max-width: 1279px){
  /* customer names stay on one line (rows were three lines tall); the table scrolls sideways if needed */
  html body :is(#page-quotations #quotes-table,#page-salesorders #so-register-table,#page-deliverynotes #dn-register-table,#page-customerinvoices #invreg-table,#page-receipts #rctreg-table,#page-purchaseinvoices #pireg-table,#page-stock #streg-table,#page-supplierpayments #spreg-table) td{white-space:nowrap}
  html body :is(#page-rfq,#page-costing,#page-quotations,#page-salesorders,#page-deliverynotes,#page-customerinvoices,#page-receipts,#page-purchaseinvoices,#page-stock,#page-supplierpayments) .bc-table-wrap{overflow-x:auto!important}
}

/* ═════════ Tablets and small laptops (≤ 1279 px) ═════════ */
@media (max-width: 1279px){
  /* When the table wrapper scrolls sideways, the column headings stick to its own top
     (with 48 px they covered the first row and left an empty band above the headings) */
  html body :is(#page-rfq,#page-costing,#page-quotations,#page-salesorders,#page-deliverynotes,#page-customerinvoices,#page-receipts,#page-purchaseinvoices,#page-stock,#page-supplierpayments) .bc-table-wrap :is(#quotes-table,#so-register-table,#dn-register-table,#invreg-table,#rctreg-table,.pricing-register-table,table) thead th{top:0!important}
}
@media (min-width: 901px) and (max-width: 1279px){
  /* Monitor: sticks to the top of the page (was 96 px down — a gap above it) and scrolls on its own when taller than the screen */
  html body :is(#page-rfq,#page-costing,#page-quotations,#page-salesorders,#page-deliverynotes,#page-customerinvoices,#page-receipts,#page-purchaseinvoices,#page-stock,#page-supplierpayments) aside.dn-overview-panel.module-monitor.bc-monitor{position:sticky!important;top:0!important;align-self:start!important;max-height:calc(100vh - 72px)!important;overflow-y:auto!important;overscroll-behavior:contain}
  html body :is(#page-rfq,#page-costing,#page-quotations,#page-salesorders,#page-deliverynotes,#page-customerinvoices,#page-receipts,#page-purchaseinvoices,#page-stock,#page-supplierpayments) :is(button.module-monitor-rail.module-monitor-rail,.rfq-monitor-expand.module-monitor-rail.rfq-monitor-expand.module-monitor-rail){top:0!important}
}

/* ═════════ Quotation / Invoice / Payment Receipt views below 900 px: Document | Details tabs ═════════ */
.bcv-tabs{display:none}
@media (max-width: 899px){
  html body .modal-overlay .bcv-tabs:not([hidden]){display:flex;position:sticky;top:0;z-index:6;background:#fff;border-bottom:1px solid #e3e9f0;margin:0}
  .bcv-tabs button{flex:1;border:0;background:none;font:700 13.5px Inter,system-ui,sans-serif;color:#64748b;padding:11px 0;cursor:pointer}
  .bcv-tabs button.on{color:var(--blue);box-shadow:inset 0 -3px 0 var(--blue-mid)}
  html body .modal-overlay :is(.qv-document-workspace,.inv-view-workspace)[data-bctab]{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important;padding:10px!important;min-height:0!important;width:auto!important}
  html body .modal-overlay :is(.qv-document-workspace,.inv-view-workspace)[data-bctab]>*{min-width:0!important;max-width:none!important}
  html body .modal-overlay :is(.qv-document-workspace,.inv-view-workspace)[data-bctab="details"]>:is(.qv-document-column,.dn-view-document){display:none!important}
  html body .modal-overlay :is(.qv-document-workspace,.inv-view-workspace)[data-bctab="doc"]>aside.qv-erp-panel{display:none!important}
  html body .modal-overlay :is(.qv-document-workspace,.inv-view-workspace)[data-bctab="details"]>aside.qv-erp-panel{display:flex!important;flex-direction:column;position:static!important;width:100%!important;max-width:none!important;top:auto!important}
  html body .modal-overlay :is(.qv-document-workspace,.inv-view-workspace)[data-bctab="doc"]>:is(.qv-document-column,.dn-view-document){display:block!important;width:100%!important;overflow:hidden!important;padding:0!important;margin:0!important}
}
/* Up to 1100 px the A4 page keeps its real size and layout and is scaled down to fit (as in the Delivery Note view) */
@media (max-width: 1100px){
  html{-webkit-text-size-adjust:100%;text-size-adjust:100%}   /* phones must not enlarge the document text */
  html body .modal-overlay:not(#dn-print-modal) :is(.qv-document-column,.dn-view-document)>:is(.qdoc-sheet,.dn-a4){margin:0 auto!important;flex:0 0 auto!important;width:210mm!important;min-width:210mm!important;max-width:none!important}
  html body .modal-overlay:not(#dn-print-modal) :is(.qv-document-column,.dn-view-document){overflow:hidden!important;min-width:0!important}
}

/* ═════════ Pricing document view below 900 px: Details | Summary tabs ═════════ */
@media (max-width: 899px){
  html body #pricing-ro-modal .pricing-view-document[data-bctab="details"] .pricing-view-side{display:none!important}
  html body #pricing-ro-modal .pricing-view-document[data-bctab="summary"] :is(.pricing-view-topbar,.pricing-view-meta-grid,.pricing-view-main){display:none!important}
  html body #pricing-ro-modal .pricing-view-document[data-bctab] .pricing-view-workspace{display:block!important}
  html body #pricing-ro-modal .pricing-view-document[data-bctab="summary"] .pricing-view-side{display:flex!important;flex-direction:column;position:static!important;width:100%!important;max-width:none!important}
  html body #pricing-ro-modal .pricing-view-meta-grid{grid-template-columns:1fr 1fr!important}
  html body #pricing-ro-modal .pricing-view-notes-costs-row{display:flex!important;flex-direction:column!important;gap:12px!important}
  /* Summary tab: one clear list — label on the left, amount on the right */
  html body #pricing-ro-modal .pricing-view-side .pricing-summary{display:flex!important;flex-direction:column!important;gap:0!important;padding:4px 14px 10px!important}
  html body #pricing-ro-modal .pricing-view-side .pricing-summary-section{grid-column:auto!important;margin:12px 0 4px!important;padding:0!important;border:0!important}
  html body #pricing-ro-modal .pricing-view-side .ps-item{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:12px!important;padding:9px 0!important;border:0!important;border-bottom:1px solid #edf1f5!important;background:none!important;border-radius:0!important;min-height:0!important;grid-column:auto!important}
  html body #pricing-ro-modal .pricing-view-side .ps-item.ps-highlight{background:#f0faf3!important;padding:10px 10px!important;border-radius:8px!important;border:0!important;margin:3px 0!important}
  html body #pricing-ro-modal .pricing-view-side .ps-label{font-size:13.5px!important;color:#475569!important}
  html body #pricing-ro-modal .pricing-view-side .ps-val{font-size:15px!important;font-weight:700!important;white-space:nowrap!important}
}
/* Phone: each line item is a small card (label · value) instead of a 9-column table */
@media (max-width: 760px){
  html body #pricing-ro-modal .pricing-view-table-wrap{overflow:visible!important}
  html body #pricing-ro-modal .pricing-view-table{min-width:0!important;width:100%!important;table-layout:auto!important}
  html body #pricing-ro-modal .pricing-view-table thead{display:none!important}
  html body #pricing-ro-modal .pricing-view-table tbody tr{display:grid!important;grid-template-columns:1fr 1fr;gap:4px 14px;padding:10px 12px;border-bottom:1px solid #edf1f5}
  html body #pricing-ro-modal .pricing-view-table tbody td{display:flex!important;justify-content:space-between;gap:8px;padding:2px 0!important;border:0!important;height:auto!important;text-align:right!important;white-space:normal!important;font-size:13px}
  html body #pricing-ro-modal .pricing-view-table tbody td[data-label]::before{content:attr(data-label);color:#64748b;font-size:11.5px;font-weight:600;text-align:left}
  html body #pricing-ro-modal .pricing-view-table tbody td:nth-child(1){display:none!important}
  html body #pricing-ro-modal .pricing-view-table tbody td:nth-child(2){grid-column:1 / -1;display:block!important;text-align:left!important;font-weight:600}
  html body #pricing-ro-modal .pricing-view-table tbody td:nth-child(2)::before,
  html body #pricing-ro-modal .pricing-view-table tbody td:nth-child(3)::before{display:none}
  html body #pricing-ro-modal .pricing-view-table tbody td:nth-child(3){grid-column:1 / -1;display:block!important;text-align:left!important;color:#475569}
}
