.order-ledger-print-preview,.shipment-print-modal{display:flex;flex-direction:column;width:min(1120px,calc(100vw - 32px));height:min(94dvh,980px);max-height:calc(100dvh - 24px);overflow:hidden;border:1px solid #d7e0eb;border-radius:16px;background:#e9eef5;box-shadow:0 28px 90px rgba(16,34,61,.34)}.unified-print-header{position:relative;z-index:3;flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:72px;padding:12px 16px!important;border-bottom:1px solid #dce5f0;background:linear-gradient(180deg,#fff,#f8fbff)!important;box-shadow:0 4px 16px rgba(30,55,88,.07)}.unified-print-heading{display:grid;min-width:200px;gap:7px}.unified-print-heading h2{margin:0!important;color:#17385f!important;font-size:17px!important;line-height:1.2}.unified-print-badges{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.unified-print-badges span{display:inline-flex;align-items:center;height:24px;padding:0 9px;border:1px solid #d8e4f3;border-radius:999px;background:#f4f8fd;color:#526b89;font-size:11px;font-weight:600;white-space:nowrap}.unified-print-controls{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}.unified-print-controls>button,.unified-print-zoom button{height:34px;padding:0 13px;border:1px solid #cedbea;border-radius:8px;background:#fff;color:#355676;font-family:inherit;font-size:13px;font-weight:600;white-space:nowrap;cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.unified-print-controls>button:hover,.unified-print-zoom button:hover{border-color:#7ca9eb;background:#f7faff;box-shadow:0 2px 8px rgba(52,120,246,.12)}.unified-print-controls button:focus-visible{outline:2px solid #87b4ff;outline-offset:2px}.unified-print-controls button:disabled{opacity:.5;cursor:not-allowed}.shipment-print-modal .unified-print-header .primary,.unified-print-controls .unified-print-primary{border-color:#3478f6;background:#3478f6;color:#fff;box-shadow:0 5px 14px rgba(52,120,246,.24)}.unified-print-zoom{display:flex;align-items:center;gap:4px;padding:3px;border:1px solid #dbe5f1;border-radius:10px;background:#f5f8fc}.unified-print-zoom button{height:28px;padding:0 9px;border-color:transparent;background:transparent;font-size:12px}.unified-print-zoom span{min-width:44px;color:#42617f;font-size:12px;font-weight:700;text-align:center}.a4-print-pages{position:relative;flex:1;min-height:0;display:grid;justify-items:center;align-content:start;gap:20px;padding:20px 24px;overflow-x:hidden;overflow-y:auto;background:linear-gradient(145deg,#c4cad3,#aeb7c4)}.a4-isolated-preview-frame{position:relative;flex:none;overflow:hidden;border:1px solid rgba(63,82,106,.22);border-radius:4px;background:#fff;box-shadow:0 12px 30px rgba(32,48,70,.24)}.a4-isolated-preview-iframe{position:absolute;inset:0 auto auto 0;display:block;overflow:hidden;border:0;background:transparent;transform-origin:top left}.a4-print-layout-error{position:sticky;display:flex;align-items:center;justify-content:space-between;gap:12px;z-index:4;top:0;width:min(720px,calc(100% - 24px));padding:10px 14px;border:1px solid #efb0b0;border-radius:9px;background:#fff0f0;color:#a52626;font-size:13px;font-weight:700;box-shadow:0 8px 20px rgba(115,28,28,.12)}.a4-print-layout-error span{min-width:0}.a4-print-layout-error button{flex:none;height:30px;padding:0 12px;border:1px solid #d86b6b;border-radius:7px;background:#fff;color:#a52626;font:inherit;cursor:pointer}.a4-print-layout-error button:hover{background:#fff8f8}.a4-print-loading{position:absolute;z-index:2;inset:0;display:grid;place-items:center;background:rgba(255,255,255,.94);color:#476987;font-size:14px;font-weight:700;letter-spacing:.02em}.a4-print-loading:before{content:"";position:absolute;width:30px;height:30px;margin-top:-52px;border:3px solid #dce8f7;border-top-color:#3478f6;border-radius:50%;animation:a4-print-loading-spin .8s linear infinite}@keyframes a4-print-loading-spin{to{transform:rotate(1turn)}}@media (max-width:900px){.order-ledger-print-preview,.shipment-print-modal{width:calc(100vw - 20px);height:calc(100dvh - 20px);max-height:none}.unified-print-header{align-items:flex-start;flex-direction:column;gap:10px}.unified-print-controls{width:100%;justify-content:flex-start;overflow-x:auto;padding-bottom:2px}.a4-print-pages{padding:12px}}.unified-print-page-nav{display:flex;align-items:center;gap:5px;padding:3px;border:1px solid #dbe5f1;border-radius:10px;background:#f5f8fc}.unified-print-page-nav button{height:28px;padding:0 9px;border:1px solid transparent;border-radius:7px;background:transparent;color:#355676;font:600 12px inherit;white-space:nowrap;cursor:pointer}.unified-print-page-nav button:hover:not(:disabled){border-color:#b8cef0;background:#fff}.unified-print-page-nav button:disabled{opacity:.42;cursor:not-allowed}.unified-print-page-nav b{min-width:48px;color:#294b70;font-size:12px;text-align:center}.order-ledger-print-preview .order-ledger-print-toolbar{display:flex;flex-direction:column;align-items:stretch;gap:10px;min-height:0;max-height:55%;overflow-y:auto}.order-ledger-print-title-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px}.order-ledger-print-title-row .unified-print-heading{min-width:0}.order-ledger-print-toolbar .unified-print-badges span{height:auto;min-height:24px;max-width:100%;white-space:normal;overflow-wrap:anywhere}.order-ledger-print-toolbar .unified-print-controls{width:auto;flex-wrap:wrap;justify-content:flex-start;overflow:visible}.order-ledger-print-toolbar .order-ledger-print-actions{justify-content:flex-end;flex-wrap:nowrap}.order-ledger-print-actions>button{flex-shrink:0}.order-ledger-print-toolbar .unified-print-page-nav,.order-ledger-print-toolbar .unified-print-zoom{min-width:0;max-width:100%;flex-wrap:wrap}.order-ledger-print-preview .a4-print-layout-error{flex-wrap:wrap;overflow-wrap:anywhere}.order-ledger-print-preview .order-ledger-print-pages{overflow-x:auto}@media (max-width:600px){.factory-order-ledger-modal-backdrop:has(>.order-ledger-print-preview){padding:8px}.factory-order-ledger-modal-backdrop>.order-ledger-print-preview{width:calc(100vw - 16px);max-width:100%;height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)}.order-ledger-print-title-row{gap:8px}.order-ledger-print-toolbar .order-ledger-print-actions{flex-direction:column-reverse;align-items:flex-end;max-width:138px}.order-ledger-print-actions>.unified-print-primary{height:auto;min-height:44px;max-width:100%;white-space:normal;overflow-wrap:anywhere}.order-ledger-print-toolbar button{min-height:44px;min-width:44px}}.shipment-review-modal{display:flex;flex-direction:column;width:min(1320px,calc(100vw - 36px));max-height:calc(100dvh - 36px);overflow:hidden;border:1px solid #d6e1ef;border-radius:16px;background:#fff;box-shadow:0 28px 90px rgba(16,34,61,.34)}.shipment-review-modal>footer,.shipment-review-modal>header{flex:none;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 20px;background:#fff}.shipment-review-modal>header{border-bottom:1px solid #e1e8f1}.shipment-review-modal>header h2{margin:0;color:#17385f;font-size:20px}.shipment-review-modal>header p{margin:5px 0 0;color:#64748b;font-size:13px}.shipment-review-badges{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.shipment-review-badges span{padding:5px 10px;border:1px solid #d8e4f3;border-radius:999px;background:#f4f8fd;color:#456685;font-size:12px;font-weight:700;white-space:nowrap}.shipment-review-table-wrap{flex:1;min-height:0;overflow:auto;background:#f4f7fb;padding:14px}.shipment-review-table{width:100%;min-width:1120px;border-collapse:separate;border-spacing:0;table-layout:fixed;border:1px solid #dbe4ef;border-radius:10px;overflow:hidden;background:#fff}.shipment-review-table th{position:sticky;z-index:1;top:0;padding:11px 9px;border-bottom:1px solid #d5dfeb;background:#edf3fa;color:#34526f;font-size:12px;text-align:left}.shipment-review-table td{padding:10px 9px;border-bottom:1px solid #e7edf4;color:#1f334d;font-size:13px;vertical-align:middle}.shipment-review-table tr:last-child td{border-bottom:0}.shipment-review-table th:first-child{width:15%}.shipment-review-table th:nth-child(2){width:7%}.shipment-review-table th:nth-child(3){width:10%}.shipment-review-table th:nth-child(4){width:6%}.shipment-review-table th:nth-child(5),.shipment-review-table th:nth-child(6){width:10%}.shipment-review-table th:nth-child(7){width:20%}.shipment-review-table th:nth-child(8){width:22%}.shipment-review-table td b,.shipment-review-table td small{display:block}.shipment-review-table td small{margin-top:4px;color:#718096;font-size:11px;line-height:1.35}.shipment-review-no-image,.shipment-review-table img{display:grid;place-items:center;width:50px;height:50px;object-fit:contain;border:1px solid #d9e2ec;border-radius:7px;background:#f8fafc;color:#8a99aa;font-size:11px}.shipment-review-table input,.shipment-review-table textarea{width:100%;box-sizing:border-box;border:1px solid #cbd8e6;border-radius:7px;background:#fff;color:#213b58;font:inherit;outline:0}.shipment-review-table input{height:34px;padding:0 9px}.shipment-review-table textarea{min-height:52px;padding:8px;resize:vertical}.shipment-review-table input:focus,.shipment-review-table textarea:focus{border-color:#4b8df8;box-shadow:0 0 0 3px rgba(52,120,246,.1)}.shipment-review-not-applicable{color:#68798e;font-size:12px}.shipment-review-modal>footer{border-top:1px solid #e1e8f1;background:#fbfcfe}.shipment-review-modal>footer>div{display:flex;align-items:center;gap:10px}.shipment-review-total span{color:#63768d}.shipment-review-total b{color:#294b70}.shipment-review-total strong{color:#c52c37;font-size:18px}.shipment-review-modal>footer button{height:38px;padding:0 18px;border:1px solid #cad7e6;border-radius:8px;background:#fff;color:#3b5878;font:inherit;font-weight:700;cursor:pointer}.shipment-review-modal>footer button.primary{border-color:#3478f6;background:#3478f6;color:#fff;box-shadow:0 5px 14px rgba(52,120,246,.22)}@media (max-width:900px){.shipment-review-modal{width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.shipment-review-modal>footer,.shipment-review-modal>header{align-items:flex-start;flex-direction:column}.shipment-review-badges{justify-content:flex-start}.shipment-review-modal>footer>div:last-child{align-self:flex-end}}@media screen{:is(input,textarea,select)[data-business-value-filled],button[data-business-value-filled]>span:first-child{color:#c62828!important;-webkit-text-fill-color:#c62828}:is(input,textarea)[data-business-value-filled]::placeholder{-webkit-text-fill-color:initial}}