.nx-store{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:10px 0}.nx-store small{display:block;color:var(--muted,#5a6b70)}.nx-picker-results{display:grid;gap:6px;max-height:280px;overflow:auto}.nx-picker-results button{text-align:left;display:flex;flex-direction:column;gap:4px}.nx-bom-row{display:grid;grid-template-columns:1fr 150px auto;align-items:center;gap:12px;margin:12px 0}.nx-filters{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.nx-prewrap{white-space:pre-wrap}.nx-issue-photo{max-width:100%;max-height:280px;object-fit:contain}.nx-offer-photo{display:grid;grid-template-columns:180px 1fr;gap:16px;padding:16px 0;border-bottom:1px solid #dce6e9}.nx-offer-photo img{width:100%;max-height:230px;object-fit:contain}.nx-offer-preview{width:100%;height:65vh;border:1px solid #dce6e9;background:white;margin-top:16px}.nx-stl-canvas{width:100%;height:450px;touch-action:none;background:#eff5f7;border-radius:12px}.nx-stl-help{color:#52666d}.nx-store a{font-size:13px}#nx-offer-form [hidden]{display:none}#nx-offer-form textarea[name=description]{min-height:280px;font-family:monospace}#nx-offer-form [data-offer-panel]{padding:12px 0}#nx-offer-form fieldset .check{display:inline-flex;margin:6px 12px 6px 0}@media(max-width:650px){.nx-filters{grid-template-columns:1fr 1fr}.nx-bom-row{grid-template-columns:1fr 90px}.nx-bom-row button{grid-column:1/-1}.nx-offer-photo{grid-template-columns:1fr}.nx-offer-photo img{max-height:160px}.nx-stl-canvas{height:330px}}
.nx-sales-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.nx-sales-tabs button{flex:1;min-width:140px;padding:14px;text-align:center}.nx-sales-tabs button.active{background:var(--teal,#008a98);border-color:var(--teal,#008a98);color:#fff}.nx-sales-tabs button span{display:inline-block;margin-left:6px;padding:2px 8px;border-radius:12px;background:#e8f3f3;color:#174750}.nx-sales-tabs button.active span{background:#ffffff30;color:#fff}.nx-sales-archive{margin-top:24px;padding:16px;border:1px solid var(--line,#dce6e9);border-radius:12px}.nx-sales-archive summary{cursor:pointer;font-weight:700}#nx-sales-queue details{margin:12px 0}#nx-sales-queue .table-wrap{max-height:350px;overflow:auto}.accounting-tabs{display:flex;flex-wrap:wrap}.accounting-tabs button{flex:1 1 110px}@media(max-width:650px){.nx-sales-tabs button{min-width:100px}.accounting-tabs button{flex:1 1 40%}}
.material-photo{display:block;width:100%;height:150px;object-fit:contain;background:#fff;border:1px solid #d5e5e9;border-radius:12px;margin-bottom:12px}
.material-photo-button{display:block;width:100%;padding:0;background:transparent;border:0;cursor:zoom-in}
.material-photo-empty{display:flex;align-items:center;justify-content:center;background:#f4f8f9;color:#66818a}
.component-item{display:flex;gap:12px;align-items:center;min-width:0}.component-item>div,.component-item>span{min-width:0}.component-thumb,.component-visual{width:96px;height:96px;flex:0 0 96px;object-fit:contain;border:1px solid #d5e5e9;border-radius:10px;background:#f4f8f9}.component-placeholder{display:flex;align-items:center;justify-content:center;text-align:center;font-size:11px;color:#66818a}.component-visual{display:flex;flex-direction:column;padding:3px;align-items:center;justify-content:center;overflow:hidden}.component-visual canvas{width:88px;height:66px}.component-visual small{font-size:10px}.model-product-photo{margin:0 0 12px}.model-product-photo figcaption{font-size:12px;color:#66818a}.nx-bom-row>.component-item{min-width:0}.model-file-list .component-item{margin-bottom:10px}.model-file-list .model-download{flex:1}@media(max-width:650px){.nx-bom-row{grid-template-columns:1fr 90px}.nx-bom-row>.component-item{grid-column:1/-1}.component-thumb,.component-visual{width:80px;flex-basis:80px}}
.carton-dimensions-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}@media(max-width:420px){.carton-dimensions-grid{grid-template-columns:1fr}}
#nx-material [hidden]{display:none!important}
dialog:has(#part-needed){max-width:1120px}
dialog:has(#part-needed) td:first-child{min-width:145px}
dialog:has(#part-needed) td,dialog:has(#part-needed) th{vertical-align:middle}

/* Independent offers comparison preview. */
.op-filters{display:grid;grid-template-columns:2fr 1fr 1fr;gap:16px}.op-table{overflow-x:auto}.op-table table{min-width:960px}.op-table th{vertical-align:top}.op-table td{vertical-align:top;min-width:150px}.op-product{display:flex;gap:12px;min-width:250px;max-width:340px}.op-product small{display:block;margin-top:8px}.op-product img{width:64px;height:64px;object-fit:contain}.op-offer{padding:8px 0}.op-offer+.op-offer{border-top:1px solid #d3e3e7}.op-offer details{margin-top:8px}.op-offer summary{cursor:pointer;font-size:12px}@media(max-width:700px){.op-filters{grid-template-columns:1fr}}

/* Marketplace description template: image + text, matching the ERLI sample. */
.ol-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.ol-source{white-space:pre-wrap}.ol-thumbnail{width:160px;height:130px;object-fit:contain;background:#fff;margin:12px 0}.ol-preview{background:#fff;color:#183b44;padding:20px}.ol-preview-section{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;align-items:start;margin:0 0 36px}.ol-preview-section img{width:100%;max-height:500px;object-fit:contain}.ol-preview-section h2{font-size:24px;line-height:1.25;margin:0 0 16px}.ol-preview-section p,.ol-preview-section li{line-height:1.65;overflow-wrap:anywhere}.ol-preview-section p{margin:0 0 16px}.ol-preview-section ul{padding-left:22px;margin:0 0 16px}.ol-full,.ol-single{grid-template-columns:1fr}#ol-editor label{display:block;margin:12px 0}#ol-editor textarea,#ol-editor input,#ol-editor select{width:100%}@media(max-width:650px){.ol-fields,.ol-preview-section{grid-template-columns:1fr}.ol-right img{grid-row:1}.ol-preview{padding:12px}}

/* Purchase shortage picker: searchable visual catalogue, 1.0.79. */
.nx-purchase-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:12px;max-height:390px;overflow:auto;padding:4px;margin:12px 0}
.nx-purchase-choice{display:flex;flex-direction:column;align-items:center;text-align:center;gap:7px;padding:12px;white-space:normal;min-width:0;border:1px solid #cbdde0;border-radius:12px;background:#fff;color:#163a42}
.nx-purchase-choice:hover,.nx-purchase-choice[aria-pressed="true"]{border-color:#008b99;background:#edfafa}
.nx-purchase-choice:focus-visible{outline:3px solid #008b99;outline-offset:2px}
.nx-purchase-choice img{width:100%;height:112px;object-fit:contain;background:#fff;border-radius:8px}
.nx-purchase-choice strong{font-size:14px;line-height:1.35;overflow-wrap:anywhere}
.nx-purchase-choice small,.nx-purchase-selected small{display:block;color:#52717a;font-size:12px}
.nx-purchase-box,.nx-purchase-no-photo{display:flex;align-items:center;justify-content:center;width:100%;height:112px;background:#f3f7f8;border-radius:8px}
.nx-purchase-box{font-size:64px}.nx-purchase-no-photo{font-size:13px;color:#627d83}
.nx-purchase-reported{font-size:12px;background:#fff0ce;color:#704500;border-radius:6px;padding:4px 7px}
.nx-purchase-selected{display:flex;align-items:center;gap:15px;padding:12px;margin-top:14px;border:2px solid #008b99;border-radius:12px;background:#f2fbfb}
.nx-purchase-selected img,.nx-purchase-selected .nx-purchase-box,.nx-purchase-selected .nx-purchase-no-photo{width:95px;height:85px;object-fit:contain;flex-shrink:0}
#nx-general [hidden]{display:none!important}#nx-component-check{margin-top:12px}#nx-component-catalog-panel{margin-top:10px}#nx-component-manual{margin-top:16px}
@media(max-width:480px){.nx-purchase-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-height:330px}.nx-purchase-choice{padding:8px}.nx-purchase-selected{gap:10px}}

.nx-purchase-box svg{width:110px;height:100px}

/* Per-order raster previews for the 3D printing service only. */
.custom-print-cover{flex:0 0 66px;max-width:66px}.custom-print-cover small{display:block;font-size:11px;text-align:center}
.custom-print-thumb{display:block;width:100%;padding:0;border:1px solid #cde0e3;border-radius:10px;overflow:hidden;background:#f0f6f7;cursor:pointer}.custom-print-thumb img{display:block;width:100%;height:130px;object-fit:contain}.custom-print-thumb.is-compact{width:66px}.custom-print-thumb.is-compact img{height:64px}
.custom-print-files{margin:12px 0;padding:10px;border:1px solid #cde0e3;border-radius:10px;background:#f5fafb}.custom-print-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:10px}.custom-print-model{padding:8px;border:1px solid #d7e7ea;border-radius:10px;background:white;min-width:0}.custom-print-model>strong{display:block;overflow-wrap:anywhere;margin-top:6px}.custom-print-model>small{display:block}.custom-print-model p{margin:6px 0;font-size:12px;overflow-wrap:anywhere}.custom-print-unavailable{display:block;padding:16px 6px;font-size:11px}.custom-raster-large{display:block;width:100%;max-height:65vh;object-fit:contain;background:#f0f6f7;border-radius:12px}
