/* Explicit numeric widths: tables scroll within their container instead of squeezing price fields. */
.selling-percent-entry{display:inline-flex;align-items:center;gap:4px;flex:0 0 auto;min-width:96px;max-width:100%}
.selling-percent-entry>input{box-sizing:border-box;width:82px!important;min-width:82px!important;height:36px;padding:6px!important;text-align:right}
.inclusive-selling-input{box-sizing:border-box;width:124px!important;min-width:124px!important;max-width:none!important;height:36px;text-align:right}
.inclusive-selling-value{white-space:nowrap;font-variant-numeric:tabular-nums}
.mrp-entry-scroll{display:block;max-width:100%;min-width:0;overflow-x:auto!important;isolation:isolate}
:is(.opening-stock-page,.purchase-entry-page,.challan-page) table.mrp-entry-table{width:100%;min-width:1320px!important;table-layout:auto!important}
:is(.opening-stock-page,.purchase-entry-page,.challan-page) table.mrp-entry-table :is(th,td){width:auto!important;overflow-wrap:normal;vertical-align:top;padding:7px!important}
:is(.opening-stock-page,.purchase-entry-page,.challan-page) table.mrp-entry-table th{white-space:normal;line-height:1.3;min-width:88px}
:is(.opening-stock-page,.purchase-entry-page,.challan-page) table.mrp-entry-table :is(th,td):first-child{position:sticky;left:0;z-index:2;background:var(--z-surface,#fff);min-width:270px;max-width:330px;white-space:normal;overflow-wrap:break-word}
:is(.opening-stock-page,.purchase-entry-page,.challan-page) table.mrp-entry-table :is(th,td):nth-child(2){min-width:140px;max-width:240px;white-space:normal;overflow-wrap:break-word}
:is(.opening-stock-page,.purchase-entry-page,.challan-page) table.mrp-entry-table input:not([type=checkbox]){width:112px;min-width:88px;max-width:none;height:36px;box-sizing:border-box}
:is(.opening-stock-page,.purchase-entry-page,.challan-page) table.mrp-entry-table .mrp-percent-cell{min-width:102px}
:is(.opening-stock-page,.purchase-entry-page,.challan-page) table.mrp-entry-table .mrp-selling-cell{min-width:138px}
.mrp-entry-table .zn-field-error{display:block;white-space:normal;max-width:160px}
.opening-stock-page .ops-editor{grid-template-columns:repeat(5,minmax(130px,1fr))!important}
.purchase-entry-page .compact-line-entry{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))!important}
.power-stock-fields{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))!important;gap:8px!important}
.power-stock-fields>.lens-selling-inclusive,.power-stock-fields>.lens-selling-percent{display:grid;align-content:start;gap:4px}
.catalogue-v2-create .pricing-field-percent .selling-percent-entry{display:flex;width:100%;gap:6px}
.catalogue-v2-create .pricing-field-percent .selling-percent-entry>input{width:100%!important;flex:1;min-width:82px!important;padding:8px!important}
.catalogue-v2-create .pricing-field-sales .product-money-input{min-width:120px}
.catalogue-v2-create .variant-card-row--pricing>.zn-field:nth-child(n){grid-column:span 4}
@media(max-width:1100px){.catalogue-v2-create .variant-card-row--pricing>.zn-field:nth-child(n){grid-column:span 8}.opening-stock-page .ops-editor{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))!important}}
@media(max-width:700px){.catalogue-v2-create .variant-card-row--pricing>.zn-field:nth-child(n){grid-column:span 12}.opening-stock-page .ops-editor{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

.challan-page table.mrp-entry-table td:first-child input:not([type=checkbox]){width:100%!important;min-width:0;max-width:100%!important}
