#shipmentPreview{width:96vw;max-width:1500px;height:94vh;max-height:96vh;border:0;border-radius:12px;padding:0;background:#f3f6f8;color:#193e52}#shipmentPreview[open]{display:flex;flex-direction:column}#shipmentPreview::backdrop{background:#142c40aa}#shipmentPreview header{position:static;display:flex;justify-content:space-between;align-items:center;gap:12px;background:#193e52;color:white;padding:14px 18px;min-height:64px;height:auto;flex-shrink:0}#shipmentPreview h2{margin:0;font-size:20px}#shipmentPreview nav{display:flex;flex-wrap:wrap;gap:8px;padding:10px 14px}#shipmentPreview button{padding:9px 12px;border:1px solid #b7cbd5;border-radius:7px;background:white;color:#193e52;cursor:pointer}#shipmentPreview button.active{background:#193e52;color:white}#shipmentPreview button:disabled{opacity:.5}#shipmentPreview p,#shipmentPreview form{margin:0;padding:8px 14px}#shipmentPreview iframe{width:100%;flex:1;min-height:0;border:0;background:#52616b}.item-note-panel{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:10px}.item-note-panel label{display:block!important}.item-note-panel textarea{width:100%;min-height:64px;font-size:11pt}.item-note-panel .internal-tracking{grid-column:1/-1;font-size:11pt;white-space:pre-wrap;color:#526775}.item-note-panel .internal-tracking:empty{display:none}.item-note-panel .internal-note-field{padding:6px;border:1px solid #d1dde3;border-radius:6px}.item-note-panel .internal-note-field input{font-size:11pt!important}.quote-sheet-head,.quote-sheet-row{grid-template-columns:190px minmax(160px,1fr) minmax(190px,1.3fr) minmax(85px,.65fr) 70px 55px 90px 50px 85px 50px}.qsheet-photo-cell .qsheet-thumb{width:72px;height:72px}.qp-table-remark{font-size:11pt!important}@media(max-width:900px){.quote-sheet-row{grid-template-columns:1fr 1fr}.item-note-panel{grid-template-columns:1fr}}@media(max-width:480px){.quote-sheet-row{grid-template-columns:1fr}#shipmentPreview{width:100vw;height:96vh;border-radius:0}#shipmentPreview nav{gap:5px;padding:6px}#shipmentPreview button{font-size:12px;padding:8px}}
#shipmentPreview nav select{max-width:100%;padding:8px;border:1px solid #b7cbd5;border-radius:7px}.quote-sheet{overflow-x:auto}.quote-sheet-head,.quote-sheet-row{grid-template-columns:210px minmax(140px,1fr) minmax(180px,1.3fr) 64px 60px 48px 78px 44px 105px minmax(180px,1fr) 45px}.quote-sheet-head{min-width:1220px}.quote-sheet-row{min-width:1220px}.quote-sheet-row>.internal-note-field{background:white;min-width:0;padding:7px;margin:0}.quote-sheet-row>.internal-note-field>span{display:none}.internal-note-field textarea,.customer-note-field textarea{width:100%;border:0;resize:vertical;min-height:56px;padding:7px;font:11pt 'Microsoft JhengHei',sans-serif;white-space:pre-wrap;overflow-wrap:anywhere}.customer-note-field textarea{height:100%;min-height:70px}.internal-tracking{font-size:11pt;line-height:1.4;white-space:pre-wrap;margin:0 0 6px;color:#365365}.internal-tracking:empty{display:none}.qsheet-photo-cell{padding:4px;display:flex;align-items:center;justify-content:center}.qsheet-photo-slots{height:auto;width:100%;flex-wrap:wrap;justify-content:center;align-content:center;gap:4px}.qsheet-photo-cell .qsheet-thumb{flex:1 1 58px;min-width:0;height:116px;width:auto}.qsheet-thumb img{display:block;width:100%;height:100%;padding:2px;object-fit:contain;object-position:center;border:1px solid var(--line);border-radius:4px}.qsheet-new-photos{flex:1 1 58px;min-width:0}.qsheet-new-photos img{width:100%;height:116px;padding:2px;object-fit:contain;object-position:center}.qsheet-photo-add{flex:0 0 100%;width:100%;min-height:26px;display:flex!important;gap:5px}.qsheet-photo-add small{font-size:10px}.qp-table-photos img:only-child{width:100%;height:112px;max-height:112px;object-fit:contain;object-position:center;padding:2px}.qp-table-photos:has(img:only-child){height:116px}@media(max-width:1100px){.quote-sheet-head{display:none}.quote-sheet-row{min-width:0;grid-template-columns:1fr 1fr}.quote-sheet-row>.internal-note-field,.quote-sheet-row>.customer-note-field{grid-column:1/-1}.quote-sheet-row>.internal-note-field>span,.quote-sheet-row>.customer-note-field>span{display:block;font-size:12px;color:var(--muted)}.qsheet-photo-cell{grid-column:1/-1}.qsheet-photo-cell .qsheet-thumb{flex:0 1 180px}.qsheet-photo-add{flex:0 0 100%}}@media(max-width:480px){.quote-sheet-row{grid-template-columns:1fr}.qsheet-photo-cell .qsheet-thumb{flex:1 1 80px}}
.qsheet-photo-cell .qsheet-photo-slots>.qsheet-photo-add{flex:0 0 100%;width:100%;min-width:0;min-height:26px}.qsheet-photo-cell .qsheet-photo-slots>.qsheet-photo-add[hidden]{display:none!important}
:is(#directQuoteRows,.quote-sheet) .qsheet-photo-cell .qsheet-photo-slots{display:flex!important;align-items:center!important;align-content:center!important;justify-content:center!important;width:100%;height:100%;min-height:150px;gap:4px}
:is(#directQuoteRows,.quote-sheet) .qsheet-photo-cell .qsheet-thumb,:is(#directQuoteRows,.quote-sheet) .qsheet-photo-cell .qsheet-new-photos{flex:1 1 80px!important;width:auto!important;max-width:100%;height:150px!important;margin:0!important;display:flex;align-items:center;justify-content:center}
:is(#directQuoteRows,.quote-sheet) .qsheet-photo-cell img{width:100%!important;height:100%!important;max-height:150px!important;object-fit:contain!important;object-position:50% 50%!important;display:block!important;padding:2px!important;box-sizing:border-box}
.qp-item-table .qp-table-photos{display:flex!important;align-items:center!important;justify-content:center!important;gap:4px;min-height:150px!important;height:auto!important;padding:2px!important}
.qp-item-table .qp-table-photos img{flex:1 1 0;min-width:0;max-width:100%;width:100%;height:146px!important;max-height:146px!important;object-fit:contain!important;object-position:center!important;margin:0!important;padding:0!important}
