#openingBalances .nx-open-head{display:grid;grid-template-columns:minmax(180px,230px) minmax(260px,1fr) minmax(320px,2fr);gap:12px;align-items:end}
#openingBalances label{display:grid;gap:6px;font-weight:750}
#openingBalances input,#openingBalances select{min-height:42px}
#openingBalances .nx-open-note{background:#fff8e8;border:1px solid #ead09b;border-radius:12px;padding:11px 13px;line-height:1.7}
.nx-open-status{margin:12px 0;padding:12px 14px;border-radius:12px;border:1px solid #d5dbe5;background:#f8fafc;font-weight:750}
.nx-open-status.ok{background:#eefbf3;border-color:#a8dab9;color:#176b38}.nx-open-status.locked{background:#fff4e5;border-color:#e4bd83;color:#7a4a00}
.nx-open-panel{margin-top:14px}.nx-open-panel .tablewrap{max-height:360px;overflow:auto}.nx-open-panel table{min-width:780px}
.nx-open-panel td select,.nx-open-panel td input{width:100%;min-width:90px;padding:7px 8px;min-height:36px}
.nx-open-panel td:first-child select{min-width:240px}.nx-open-panel button.nx-row-del{padding:6px 10px;min-height:34px}
.nx-open-totals{display:flex;gap:24px;flex-wrap:wrap;padding:10px 4px 0;font-size:14px}.nx-open-totals b{font-size:16px}
.nx-open-confirm{margin:16px 0 28px;display:flex;justify-content:space-between;gap:14px;align-items:center;border:2px solid #d8b45d}
.nx-file{position:relative;cursor:pointer}.nx-file input{position:absolute;inset:0;opacity:0;cursor:pointer}
#nxOpenAccountsBody .nx-open-account{min-width:260px}
@media(max-width:1100px){#openingBalances .nx-open-head{grid-template-columns:1fr 1fr}.nx-open-note{grid-column:1/-1}}

/* PROD125 flexible opening-stock importer */
.nx-inv-map-panel{margin:14px 0;padding:14px;border:1px solid #d8d4cd;border-radius:14px;background:#fbfaf7}
.nx-map-grid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:10px;margin-top:10px}
.nx-map-grid label{display:flex;flex-direction:column;gap:6px;font-weight:700}
.nx-map-grid select,.nx-map-grid input{min-height:38px;border:1px solid #d6d0c6;border-radius:9px;padding:6px;background:#fff}
.nx-map-actions{display:flex;gap:8px;justify-content:flex-start;margin-top:12px}
.nx-map-result{white-space:pre-wrap;margin-top:10px;padding:10px;border-radius:10px;background:#fff;border:1px dashed #c9c2b7;line-height:1.8}
.nx-open-inventory-post{justify-content:flex-start;margin-top:12px}
@media(max-width:900px){.nx-map-grid{grid-template-columns:repeat(2,minmax(140px,1fr))}}
