/* R V Bhadraiah Poojaloka ERP — Stock Transfer (billing style) and Online Deliveries →
 * Pack & Dispatch (v110.11). Own class names (rvo- / rvpk-) so nothing else changes. */
.rvo{--rv-blue:#2a4be0;--rv-blue-d:#1e39c2;--rv-blue-l:#eef2ff;--rv-green:#1e9e5a;--rv-green-d:#178048;--rv-red:#d5342e;--rv-amber:#c7811a;--rv-ink:#1e293b;--rv-mute:#64748b;--rv-line:#e2e8f0;--rv-soft:#f8f9fa}
.rvo-tabs{display:flex;gap:4px;margin:-6px 0 18px;border-bottom:1px solid var(--rv-line);overflow-x:auto}
.rvo-tabs button{padding:9px 16px;font-size:14px;font-weight:600;color:var(--rv-mute);border-bottom:2px solid transparent;margin-bottom:-1px;white-space:nowrap;display:inline-flex;align-items:center;gap:8px;background:none}
.rvo-tabs button:hover{color:var(--rv-ink)}
.rvo-tabs button.on{color:var(--rv-blue-d);border-bottom-color:var(--rv-blue)}
.rvo-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--rv-red);color:#fff;font-size:11px;font-weight:700}
.rvo-count.warn{background:#fdf1dd;color:#9a5d0a}
.rvo-muted{color:var(--rv-mute)}
.rvo-red{color:var(--rv-red)!important}
.rvo-sub{display:block;font-size:11px;color:var(--rv-mute);font-weight:400;margin-top:1px}
.rvo-small{font-size:12px;color:var(--rv-mute);line-height:1.45;margin:8px 0 0}
.rvo-linkbtn{background:none;border:0;color:var(--rv-blue-d);font-weight:600;font-size:12.5px;cursor:pointer;padding:2px 4px}
.rvo-linkbtn:hover{text-decoration:underline}
kbd{display:inline-block;padding:0 5px;border:1px solid #cbd5e1;border-bottom-width:2px;border-radius:4px;font:600 11px "Segoe UI",Tahoma,sans-serif;background:#fff;color:#334155}

/* layout: like Sales Billing — work on the left, summary on the right */
.rvo-split{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px;align-items:start}
.rvo-side{position:sticky;top:12px}
.rvo-field{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1 1 200px}
.rvo-field>span{font-size:12px;font-weight:600;color:#475569}
.rvo-field select,.rvo-field input{width:100%;min-width:0}
.rvo-route{margin-bottom:14px}
.rvo-route-row{display:flex;gap:10px;align-items:flex-end}
.rvo-swap{flex:0 0 auto;width:40px;height:40px;border-radius:10px;border:1px solid var(--rv-line);background:#fff;color:var(--rv-blue-d);font-size:18px;font-weight:700;cursor:pointer}
.rvo-swap:hover{background:var(--rv-blue-l)}
.rvo-note{margin-top:10px}
.rvo-search{position:relative;margin-bottom:4px}
.rvo-results{position:absolute;z-index:20;left:0;right:0;top:100%;margin-top:4px;background:#fff;border:1px solid var(--rv-line);border-radius:12px;box-shadow:0 14px 34px rgba(15,23,42,.14);max-height:330px;overflow:auto}
.rvo-results button{width:100%;display:flex;align-items:center;gap:12px;padding:9px 12px;text-align:left;border-bottom:1px solid #f1f5f9;background:#fff}
.rvo-results button:last-child{border-bottom:0}
.rvo-results button.on{background:var(--rv-blue-l)}
.rvo-results img,.rvo-noimg{width:36px;height:36px;border-radius:8px;object-fit:cover;flex:0 0 auto;background:#f1f5f9}
.rvo-r-name{flex:1;min-width:0}
.rvo-r-name b{display:block;font-size:14px;font-weight:600;color:var(--rv-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rvo-r-name small{display:block;font-size:12px;color:#94a3b8}
.rvo-r-stock{font-size:12px;font-weight:600;color:var(--rv-green);white-space:nowrap}
.rvo-r-stock.zero{color:var(--rv-red)}
.rvo-r-stock i{font-style:normal}
.rvo-enter{font-size:10px;font-weight:700;color:var(--rv-blue)}
.rvo-hint{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 14px;font-size:11px;color:#94a3b8;margin:4px 2px 10px}

.rvo-tablewrap{overflow:auto;background:#fff}
.rvo-main .rvo-tablewrap{max-height:calc(100vh - 330px);min-height:220px}
.rvo-table{width:100%;border-collapse:collapse;font-size:13.5px}
.rvo-table thead th{position:sticky;top:0;z-index:1;background:var(--rv-soft);text-align:left;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.03em;color:var(--rv-mute);padding:9px 10px;border-bottom:1px solid var(--rv-line);white-space:nowrap}
.rvo-table td{padding:8px 10px;border-bottom:1px solid #f1f5f9;vertical-align:middle}
.rvo-table .n{text-align:right}.rvo-table .c{text-align:center}.rvo-table .r{text-align:right}
.rvo-table tbody tr{transition:background-color .6s}
.rvo-table tbody tr.flash{background:#fef9c3}
.rvo-table tbody tr.over{background:#fef2f2}
.rvo-thsub{display:block;font-size:10px;text-transform:none;letter-spacing:0;font-weight:500;color:#94a3b8;max-width:140px;margin-left:auto;overflow:hidden;text-overflow:ellipsis}
.rvo-table td:nth-child(2){min-width:210px}
.rvo-sn{color:var(--rv-mute);font-weight:600;font-size:12px}
.rvo-prod{display:flex;align-items:center;gap:10px;min-width:0}
.rvo-prod img{width:34px;height:34px}
.rvo-prod .rvo-noimg{display:none}
.rvo-prod b{display:block;font-weight:600;color:var(--rv-ink);line-height:1.25}
.rvo-prod small{display:block;font-size:11.5px;color:#94a3b8}
.rvo-stepper{display:inline-flex;align-items:center;border:1px solid #cbd5e1;border-radius:10px;overflow:hidden;background:#fff}
.rvo-stepper button{width:32px;height:34px;font-size:17px;font-weight:700;color:#334155;background:#f8fafc}
.rvo-stepper button:hover{background:var(--rv-blue-l);color:var(--rv-blue-d)}
.rvo-stepper input{width:64px!important;height:34px;border:0!important;border-left:1px solid #e2e8f0!important;border-right:1px solid #e2e8f0!important;border-radius:0!important;text-align:center;font-size:15px!important;font-weight:700;padding:0 4px!important;-moz-appearance:textfield;appearance:textfield;box-shadow:none!important}
.rvo-stepper input::-webkit-inner-spin-button,.rvo-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.rvo-all{display:block;margin:3px auto 0;font-size:10.5px;color:var(--rv-blue-d);background:none;border:0;cursor:pointer}
.rvo-all:hover{text-decoration:underline}
.rvo-x{width:28px;height:28px;border-radius:8px;color:#94a3b8;font-size:18px;line-height:1;background:none}
.rvo-x:hover{background:#fee2e2;color:var(--rv-red)}
.rvo-empty{text-align:center;padding:38px 16px;color:#94a3b8;font-size:13.5px}
.rvo-empty b{display:block;color:#475569;font-size:15px;margin-bottom:4px}

.rvo-sum{background:#fff}
.rvo-sum h3{margin:0 0 12px;font-size:17px;font-weight:700;color:var(--rv-ink)}
.rvo-route-pill{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:var(--rv-blue-l);color:var(--rv-blue-d);border-radius:10px;padding:8px 10px;font-weight:600;font-size:13px;margin-bottom:12px}
.rvo-route-pill i{color:#94a3b8;font-style:normal}
.rvo-route-pill.big{font-size:14px}
.rvo-kv{display:flex;justify-content:space-between;padding:6px 0;font-size:14px;color:#475569}
.rvo-kv b{color:var(--rv-ink);font-size:16px}
.rvo-warn{background:#fef2f2;color:#b42318;border-radius:10px;padding:8px 10px;font-size:12.5px;margin:8px 0}
.rvo-big{width:100%;margin:12px 0 8px;padding:13px;border-radius:12px;background:var(--rv-blue);color:#fff;font-size:16px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:10px;box-shadow:0 6px 16px rgba(42,75,224,.25)}
.rvo-big:hover{background:var(--rv-blue-d)}
.rvo-big small{font-size:11px;font-weight:600;opacity:.75;border:1px solid rgba(255,255,255,.5);border-radius:5px;padding:0 5px}
.rvo-big[disabled],.rvo-sum .btn-secondary[disabled]{opacity:.45;cursor:not-allowed;box-shadow:none}
.rvo-clear{display:block;margin:8px auto 0;color:var(--rv-red)}

.rvo-confirm p{margin:0 0 10px;color:#334155;font-size:14px}
.rvo-confirm-list{max-height:260px;overflow:auto;border:1px solid var(--rv-line);border-radius:10px;margin-bottom:10px}
.rvo-confirm-list div{display:flex;justify-content:space-between;gap:12px;padding:6px 10px;font-size:13px;border-bottom:1px solid #f1f5f9}
.rvo-confirm-list div:last-child{border-bottom:0}
.rvo-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:14px}
.rvo-confirm .rvo-field{margin-bottom:10px}
.rvo-done{width:56px;height:56px;border-radius:50%;background:#dcfce7;color:var(--rv-green);font-size:30px;font-weight:700;display:flex;align-items:center;justify-content:center;margin:0 auto 8px}
.rvo-done-no{text-align:center;font-size:20px!important;font-weight:700;color:var(--rv-ink)!important;margin-bottom:4px!important}
.rvo-confirm .rvo-done~p{text-align:center}

/* lists / toolbars */
.rvo-toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:12px}
.rvo-input{flex:1 1 260px;min-width:0;max-width:420px}
.rvo-input.sm{flex:0 1 210px}
.rvo-chips{display:flex;gap:6px;flex-wrap:wrap}
.rvo-chips button{padding:7px 12px;border-radius:999px;border:1px solid var(--rv-line);background:#fff;font-size:12.5px;font-weight:600;color:#475569}
.rvo-chips button span{color:#94a3b8;margin-left:3px}
.rvo-chips button.on{background:var(--rv-blue);border-color:var(--rv-blue);color:#fff}
.rvo-chips button.on span{color:#c7d2fe}
.rvo-seg{display:inline-flex;background:#f1f5f9;border-radius:10px;padding:3px;gap:2px}
.rvo-seg button{padding:6px 12px;border-radius:8px;font-size:12.5px;font-weight:600;color:#475569;white-space:nowrap;background:none}
.rvo-seg button.on{background:#fff;color:var(--rv-blue-d);box-shadow:0 1px 3px rgba(0,0,0,.12)}
.rvo-upd{font-size:11.5px;margin-left:auto}
.rvo-list .rvo-grp{cursor:pointer}
.rvo-list .rvo-grp:hover{background:#f8fafc}
.rvo-list .rvo-grp.open{background:#f5f7ff}
.rvo-caret{color:#94a3b8;width:28px}
.rvo-ft{font-weight:600;color:var(--rv-ink)}
.rvo-ft i{color:#94a3b8;font-style:normal;margin:0 2px}
.rvo-rowbtns{display:inline-flex;gap:5px;flex-wrap:wrap;justify-content:flex-end;max-width:260px}
.rvo-mini{border-radius:8px;border:1px solid var(--rv-line);background:#fff;color:#334155;font-size:12.5px;font-weight:600;padding:4px 10px;white-space:nowrap}
.rvo-mini:hover{background:#f8fafc}
.rvo-mini.ok{background:var(--rv-green);border-color:var(--rv-green);color:#fff}.rvo-mini.ok:hover{background:var(--rv-green-d)}
.rvo-mini.bad{background:#fff;border-color:#fecaca;color:var(--rv-red)}.rvo-mini.bad:hover{background:#fef2f2}
.rvo-mini[disabled]{opacity:.5}
.rvo-ellip{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rvo-ok{border-radius:8px;background:var(--rv-green);color:#fff;font-weight:600;font-size:13px;padding:4px 12px}
.rvo-ok:hover{background:var(--rv-green-d)}
.rvo-ok.sm{font-size:12px;padding:2px 8px}
.rvo-ok[disabled]{opacity:.5}
.rvo-detail>td{background:#f8faff;padding-top:0!important}
.rvo-inner{width:100%;border-collapse:collapse;font-size:12.5px;background:#fff;border:1px solid var(--rv-line);border-radius:8px}
.rvo-inner th{font-size:10.5px;text-transform:uppercase;color:var(--rv-mute);text-align:left;padding:6px 8px;border-bottom:1px solid var(--rv-line);background:#fafbff}
.rvo-inner td{padding:6px 8px;border-bottom:1px solid #f1f5f9}
.rvo-inner .n{text-align:right}.rvo-inner .r{text-align:right}

/* Pack & Dispatch */
.rvpk-stages{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;margin-bottom:14px}
.rvpk-stage{text-align:left;border:1px solid var(--rv-line);background:#fff;border-radius:14px;padding:10px 14px;transition:box-shadow .15s,border-color .15s}
.rvpk-stage b{display:block;font-size:24px;line-height:1.1;color:var(--rv-ink)}
.rvpk-stage span{font-size:12px;font-weight:600;color:var(--rv-mute)}
.rvpk-stage:hover{box-shadow:0 4px 14px rgba(15,23,42,.08)}
.rvpk-stage.on{border-color:var(--rv-blue);box-shadow:0 0 0 2px #c7d2fe}
.rvpk-stage.new b{color:#b45309}.rvpk-stage.pack b{color:var(--rv-blue-d)}.rvpk-stage.packed b{color:#7c3aed}.rvpk-stage.ready b{color:#0e7490}.rvpk-stage.out b{color:var(--rv-green)}.rvpk-stage.failed b{color:var(--rv-red)}
.rvpk-list{display:grid;gap:12px}
.rvpk-card{background:#fff;border:1px solid var(--rv-line);border-left:4px solid #cbd5e1;border-radius:14px;padding:14px 16px}
.rvpk-card.st-new{border-left-color:#f59e0b}.rvpk-card.st-packing{border-left-color:var(--rv-blue)}.rvpk-card.st-packed{border-left-color:#7c3aed}.rvpk-card.st-ready{border-left-color:#0891b2}.rvpk-card.st-out{border-left-color:var(--rv-green)}.rvpk-card.st-failed{border-left-color:var(--rv-red)}.rvpk-card.st-done{border-left-color:#86efac}.rvpk-card.st-cancelled{border-left-color:#cbd5e1;opacity:.85}
.rvpk-card.fresh{animation:rvpkPulse 1.6s ease-in-out 3;box-shadow:0 0 0 3px #fde68a}
@keyframes rvpkPulse{50%{box-shadow:0 0 0 6px #fde68a}}
.rvpk-head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;align-items:flex-start}
.rvpk-id b{display:block;font-size:16px;color:var(--rv-ink);word-break:break-all}
.rvpk-id small{font-size:12px;color:var(--rv-mute)}
.rvpk-pills{display:flex;flex-wrap:wrap;gap:6px}
.rvpk-pill{display:inline-flex;align-items:center;border-radius:999px;padding:3px 10px;font-size:11.5px;font-weight:700;background:#f1f5f9;color:#475569}
.rvpk-pill.home{background:#eef2ff;color:var(--rv-blue-d)}.rvpk-pill.pick{background:#ecfeff;color:#0e7490}.rvpk-pill.paid{background:#dcfce7;color:#166534}
.rvpk-pill.s-new{background:#fef3c7;color:#92400e}.rvpk-pill.s-packing{background:#e0e7ff;color:#3730a3}.rvpk-pill.s-packed{background:#ede9fe;color:#5b21b6}.rvpk-pill.s-ready{background:#cffafe;color:#155e75}.rvpk-pill.s-out{background:#dcfce7;color:#166534}.rvpk-pill.s-failed{background:#fee2e2;color:#991b1b}.rvpk-pill.s-done{background:#f0fdf4;color:#15803d}
.rvpk-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.7fr) minmax(0,2fr);gap:8px 18px;margin-top:10px}
.rvpk-grid label{display:block;font-size:10.5px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:#94a3b8}
.rvpk-grid p{margin:1px 0 0;font-size:14px;color:var(--rv-ink);font-weight:500}
.rvpk-amt{font-weight:700!important}
.rvpk-addr{font-weight:400!important;color:#334155!important;white-space:pre-line;line-height:1.35}
.rvpk-tel{font-size:13px;color:var(--rv-blue-d);font-weight:600}
.rvpk-trail{display:flex;flex-wrap:wrap;gap:4px 14px;margin-top:8px;font-size:12px;color:#15803d}
.rvpk-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:12px}
.rvpk-btn{border-radius:9px;padding:7px 14px;font-size:13px;font-weight:600;border:1px solid transparent;cursor:pointer;white-space:nowrap}
.rvpk-btn[disabled]{opacity:.55;cursor:default}
.rvpk-btn.green{background:var(--rv-green);color:#fff}.rvpk-btn.green:hover{background:var(--rv-green-d)}
.rvpk-btn.blue{background:var(--rv-blue);color:#fff}.rvpk-btn.blue:hover{background:var(--rv-blue-d)}
.rvpk-btn.blue.soft{background:#6b82ea}
.rvpk-btn.ghost{background:#fff;border-color:var(--rv-line);color:#334155}.rvpk-btn.ghost:hover{background:#f8fafc}
.rvpk-btn.red-ghost{background:#fff;border-color:#fecaca;color:var(--rv-red);margin-left:auto}.rvpk-btn.red-ghost:hover{background:#fef2f2}
.rvpk-pack{margin-top:12px;border:1px solid #e0e7ff;background:#fafbff;border-radius:12px;padding:12px}
.rvpk-pack-head{display:flex;align-items:center;gap:12px;margin-bottom:8px}
.rvpk-pack-head h4{margin:0;font-size:11.5px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--rv-mute);white-space:nowrap}
.rvpk-pack-head>span{font-size:12.5px;font-weight:700;color:var(--rv-mute);white-space:nowrap}
.rvpk-pack-head>span.rvpk-allok{color:var(--rv-green)}
.rvpk-progress{flex:1;height:6px;background:#e2e8f0;border-radius:99px;overflow:hidden}
.rvpk-progress i{display:block;height:100%;background:var(--rv-green);border-radius:99px;transition:width .25s}
.rvpk-scan{max-width:none;width:100%;margin-bottom:8px}
.rvpk-pack ul{list-style:none;margin:0;padding:0}
.rvpk-pack li{display:flex;align-items:center;gap:10px;padding:7px 8px;border-radius:9px}
.rvpk-pack li:hover{background:#eef2ff}
.rvpk-pack li label{display:flex;align-items:center;gap:10px;flex:1;min-width:0;cursor:pointer}
.rvpk-pack li input[type=checkbox]{width:20px;height:20px;flex:0 0 auto;accent-color:var(--rv-green)}
.rvpk-iname{min-width:0;font-size:14px;color:var(--rv-ink);word-break:break-word}
.rvpk-iname small{display:block;font-size:11px;color:#94a3b8}
.rvpk-pack li.ok .rvpk-iname{color:#94a3b8;text-decoration:line-through}
.rvpk-qty{font-size:13px;font-weight:700;color:#334155;white-space:nowrap}
.rvpk-count{display:inline-flex;align-items:center;gap:4px}
.rvpk-count button{width:26px;height:26px;border-radius:7px;border:1px solid var(--rv-line);background:#fff;font-weight:700}
.rvpk-count button[disabled]{opacity:.35}
.rvpk-count b{min-width:42px;text-align:center;font-size:13px}
.rvpk-price{width:84px;text-align:right;font-size:12.5px;color:var(--rv-mute);white-space:nowrap}
.rvpk-deliver{font-size:12px;color:var(--rv-mute);margin:8px 8px 0}
.rvpk-pack-foot{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;margin-top:10px;font-size:11.5px}

/* tablets / phones (the app switches to the ☰ menu below 1024px) */
@media (max-width:1100px){.rvo-split{grid-template-columns:minmax(0,1fr)}.rvo-side{position:static}.rvo-main .rvo-tablewrap{max-height:none}}
@media (max-width:760px){
  .rvo-table td:nth-child(2){min-width:140px}
  .rvo-route-row{flex-wrap:wrap}.rvo-route-row .rvo-field{flex:1 1 100%}.rvo-swap{width:100%;height:34px}
  .rvo-hide-sm{display:none}
  .rvo-table{font-size:13px}
  .rvo-table td,.rvo-table th{padding:7px 6px}
  .rvo-prod img,.rvo-prod .rvo-noimg{display:none}
  .rvo-stepper button{width:28px}.rvo-stepper input{width:48px!important}
  .rvpk-grid{grid-template-columns:1fr 1fr}.rvpk-wide{grid-column:1/-1}
  .rvpk-btn.red-ghost{margin-left:0}
  .rvo-upd{margin-left:0;flex-basis:100%}
  .rvo-input,.rvo-input.sm{max-width:none;flex-basis:100%}
  .rvpk-price{display:none}
}
@media (max-width:480px){.rvo-list thead th:nth-child(4),.rvo-list tbody .rvo-grp td:nth-child(4){display:none}}
@media (max-width:600px){
  .rvo-results button{flex-wrap:wrap;row-gap:2px}
  .rvo-r-name{flex:1 1 calc(100% - 50px)}
  .rvo-r-name b{white-space:normal}
  .rvo-r-stock{flex-basis:100%;padding-left:48px}
  .rvo-enter{display:none}
  .rvo-main .rvo-table thead{display:none}
  .rvo-main .rvo-table,.rvo-main .rvo-table tbody{display:block}
  .rvo-main .rvo-table tr{display:grid;grid-template-columns:22px minmax(0,1fr) auto;grid-template-areas:"sn prod x" "sn av qty";gap:6px 8px;align-items:center;padding:10px 8px;border-bottom:1px solid #eef2f7}
  .rvo-main .rvo-table tr.rvo-emptyrow{display:block}
  .rvo-main .rvo-table td{border:0;padding:0;min-width:0!important}
  .rvo-c-sn{grid-area:sn;align-self:start;padding-top:2px!important}
  .rvo-c-prod{grid-area:prod}
  .rvo-c-av{grid-area:av;text-align:left!important}
  .rvo-c-av b::before{content:"Available ";font-weight:500;color:#64748b;font-size:12px}
  .rvo-c-qty{grid-area:qty}
  .rvo-c-x{grid-area:x;align-self:start;justify-self:end}
  .rvo-main .rvo-table td.rvo-hide-sm{display:none}
}
.rvo-list td:nth-child(3){min-width:200px}
@media (max-width:600px){.rvpk-stages{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.rvpk-stage{padding:7px 9px;border-radius:11px}.rvpk-stage b{font-size:19px}.rvpk-stage span{font-size:10.5px;line-height:1.2;display:block}}

/* Inventory → Pricing (v110.12) */
.rvo-newtag{margin-left:6px;font-size:9.5px;font-weight:700;text-transform:uppercase;background:#dcfce7;color:#166534;border-radius:999px;padding:1px 6px;vertical-align:middle}
.rvo-invtabs{overflow-x:auto}
.rvpr-bulk{display:flex;flex-wrap:wrap;align-items:center;gap:8px;background:#fff;margin-bottom:10px;padding:12px 14px}
.rvpr-bulk b{font-size:13.5px;color:var(--rv-ink)}
.rvpr-bulk>.rvo-muted{font-size:12px;margin-right:6px}
.rvpr-bulk select,.rvpr-bulk input{font-size:13px;padding:6px 8px;min-width:0}
.rvpr-amt{width:90px}
.rvpr-errs{margin-bottom:10px;max-height:180px;overflow:auto}
.rvpr-errs b{display:block;margin-bottom:4px}
.rvpr-info{font-size:11.5px;color:#94a3b8;margin:2px 2px 8px}
.rvpr-gridwrap{overflow:auto;max-height:calc(100vh - 330px);min-height:260px;background:#fff}
.rvpr-grid{border-collapse:separate;border-spacing:0;font-size:13px;min-width:100%}
.rvpr-grid thead th{position:sticky;top:0;z-index:2;background:#f8f9fa;border-bottom:1px solid var(--rv-line);padding:8px 6px;text-align:right;font-size:11px;text-transform:uppercase;letter-spacing:.02em;color:var(--rv-mute);white-space:nowrap}
.rvpr-grid thead th small{display:block;text-transform:none;font-weight:500;color:#94a3b8;font-size:10px}
.rvpr-grid td{border-bottom:1px solid #f1f5f9;padding:3px 4px;background:#fff}
.rvpr-grid tr.sel td{background:#f5f7ff}
.rvpr-grid .rvpr-ck{width:34px;text-align:center;position:sticky;left:0;z-index:1}
.rvpr-grid thead .rvpr-ck{z-index:3}
.rvpr-grid .rvpr-prod{text-align:left;position:sticky;left:34px;z-index:1;min-width:230px;max-width:300px;padding-left:6px;box-shadow:1px 0 0 var(--rv-line)}
.rvpr-grid thead .rvpr-prod{z-index:3;text-align:left}
.rvpr-grid td.rvpr-prod b{display:block;font-weight:600;color:var(--rv-ink);line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rvpr-grid td.rvpr-prod small{display:block;font-size:11px;color:#94a3b8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rvpr-mainh{color:var(--rv-blue-d)!important}
.rvpr-mainc{background:#f7f9ff!important}
.rvpr-bh{max-width:130px;overflow:hidden;text-overflow:ellipsis}
.rvpr-in{width:96px!important;text-align:right;padding:5px 7px!important;font-size:13px!important;border:1px solid transparent!important;border-radius:7px!important;background:transparent;box-shadow:none!important}
.rvpr-in:hover{border-color:#e2e8f0!important;background:#fff}
.rvpr-in:focus{border-color:var(--rv-blue)!important;background:#fff;outline:2px solid #c7d2fe}
.rvpr-in.main{font-weight:700;color:var(--rv-blue-d)}
.rvpr-in.own{font-weight:700;color:#7c3aed}
.rvpr-in::placeholder{color:#cbd5e1;font-weight:400}
.rvpr-in.dirty{background:#fef9c3!important;border-color:#fde047!important}
.rvpr-in.low{color:#b45309}
.rvpr-in.bad{border-color:var(--rv-red)!important;color:var(--rv-red);background:#fef2f2}
.rvpr-pager{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:10px;font-size:13px;color:var(--rv-mute)}
.rvpr-savebar{position:sticky;bottom:10px;z-index:5;margin-top:12px;display:flex;flex-wrap:wrap;align-items:center;gap:10px;justify-content:flex-end;background:#0f172a;color:#fff;border-radius:14px;padding:10px 14px;box-shadow:0 12px 30px rgba(15,23,42,.3)}
.rvpr-savebar span{margin-right:auto;font-size:13.5px}
.rvpr-savebar .btn-primary small{opacity:.7;font-size:11px;margin-left:4px}
@media (max-width:760px){.rvpr-grid .rvpr-prod{min-width:150px;max-width:170px}.rvpr-in{width:78px!important}.rvpr-gridwrap{max-height:none}.rvpr-bulk>b{flex-basis:100%}}
.rvst-mailchips{margin:-4px 0 10px}.rvst-mailchips button{font-size:11.5px;padding:4px 10px}
@media (max-width:600px){.rvo-seg{flex-wrap:wrap}}
/* v110.13 — branch MRP under each branch price */
.rvpr-bcell{vertical-align:top}
.rvpr-bcell .rvpr-in{display:block}
.rvpr-in.bmrp{font-size:11.5px!important;padding:2px 7px!important;color:#64748b;margin-top:1px}
.rvpr-in.bmrp::placeholder{font-size:11px}
.rvpr-in.bmrp.own{color:#b45309;font-weight:700}
.rvpr-in.mrp{font-weight:600;color:#334155}
.rvpr-mrph{color:#b45309!important}
.rvst-from{font-size:12.5px;color:#334155;background:#f1f5f9;border-radius:8px;padding:7px 10px;margin:6px 0 4px}
/* v110.16 — "From Salespersons" queue: one card per bill on phones, Load & bill / Delete full width */
@media (max-width:640px){
.card:has([data-rv="pb-delete"]){overflow:visible!important}
table.table-base:has([data-rv="pb-delete"]){display:block;min-width:0!important;width:100%}
table.table-base:has([data-rv="pb-delete"]) thead{display:none}
table.table-base:has([data-rv="pb-delete"]) tbody{display:block}
table.table-base:has([data-rv="pb-delete"]) tbody tr{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;padding:12px 14px;border-bottom:1px solid #e2e8f0}
table.table-base:has([data-rv="pb-delete"]) tbody td{display:block;padding:0!important;border:0!important;white-space:normal!important;text-align:left!important}
table.table-base:has([data-rv="pb-delete"]) tbody td:nth-child(2){color:#64748b;font-size:12.5px}
table.table-base:has([data-rv="pb-delete"]) tbody td:nth-child(3){flex-basis:100%}
table.table-base:has([data-rv="pb-delete"]) tbody td:nth-child(4){flex-basis:100%}
table.table-base:has([data-rv="pb-delete"]) tbody td:nth-child(5){font-size:15px}
table.table-base:has([data-rv="pb-delete"]) tbody td:nth-child(7){flex-basis:100%;margin-top:6px}
table.table-base:has([data-rv="pb-delete"]) tbody td:nth-child(7)>div{display:flex!important;width:100%}
table.table-base:has([data-rv="pb-delete"]) tbody td:nth-child(7) button{flex:1;padding-top:10px!important;padding-bottom:10px!important}
}
/* v110.17 — Pricing: dark, easy-to-read text everywhere (owner's request) */
.rvpr,.rvpr .rvpr-grid{color:#0f172a}
.rvpr .rvo-muted,.rvpr .rvpr-bulk>.rvo-muted{color:#1e293b!important;font-weight:500}
.rvpr .rvpr-info{color:#1e293b;font-size:12.5px;font-weight:500}
.rvpr .rvpr-grid thead th{color:#0f172a;font-weight:700;font-size:11.5px}
.rvpr .rvpr-grid thead th small{color:#1e293b;font-weight:600;font-size:10.5px}
.rvpr .rvpr-grid td.rvpr-prod b{color:#0f172a;font-weight:700}
.rvpr .rvpr-grid td.rvpr-prod small{color:#334155;font-weight:500;font-size:11.5px}
.rvpr .rvpr-grid td{color:#0f172a;font-weight:500;border-bottom-color:#e2e8f0}
.rvpr .rvpr-in{color:#0f172a;font-weight:600}
.rvpr .rvpr-in::placeholder{color:#1e293b;opacity:1;font-weight:500}
.rvpr .rvpr-in.bmrp{color:#1e293b;font-weight:600}
.rvpr .rvpr-in.bmrp::placeholder{color:#334155;opacity:1;font-weight:500}
.rvpr .rvpr-in.main{color:#1d4ed8;font-weight:800}
.rvpr .rvpr-in.own{color:#6d28d9;font-weight:800}
.rvpr .rvpr-in.bmrp.own{color:#92400e;font-weight:800}
.rvpr .rvpr-in.mrp{color:#0f172a;font-weight:700}
.rvpr .rvpr-pager{color:#0f172a;font-weight:500}
.rvpr .rvo-seg button{color:#0f172a}

/* v110.18 — payment line on packing cards (Pack & Dispatch, Store Pickups) */
.rvpk-pay{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin:8px 0 2px;padding:8px 12px;border-radius:10px;font-size:13px}
.rvpk-pay.ok{background:#ecfdf3;color:#166534;border:1px solid #bbf7d0}
.rvpk-pay.no{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}
.rvpk-pay b{font-weight:700;letter-spacing:.02em}
.rvpk-pay span{white-space:nowrap}
