html.print-route #app-loading{display:none!important}

.order-print-page{min-height:100vh;background:#f6f7fb;padding:24px}
.order-print-toolbar{max-width:184mm;margin:0 auto 16px;display:flex;justify-content:flex-end}
.order-print-btn{border:1px solid #0f1533;background:#fff;color:#0f1533;border-radius:10px;padding:10px 16px;font:600 14px/1.1 Roboto,sans-serif;cursor:pointer}
.order-print-btn--primary{background:#0f1533;color:#fff}
.order-print-document{width:184mm;max-width:184mm;margin:0 auto;background:#fff;color:#111827;padding:8mm;border-radius:16px;box-shadow:0 12px 32px rgba(15,21,51,.10);box-sizing:border-box}
.order-print-top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:10px;border-bottom:1px solid #dbe2ea}
.order-print-top-main{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap}
.order-print-title{margin:0;font:500 18px/1.1 Marcellus,serif;color:#0f1533}
.order-print-generated-at{font:500 12px/1.2 Roboto,sans-serif;color:#64748b;padding-bottom:3px}
.order-print-top-status{padding:6px 10px;border:1px solid #cbd5e1;border-radius:999px;font:600 11px/1 Roboto,sans-serif;white-space:nowrap}
.order-print-top-data{display:flex;flex-wrap:wrap;gap:14px 20px;margin:10px 0 12px;font:500 12px/1.25 Roboto,sans-serif;color:#334155}
.order-print-top-data span{color:#64748b}
.order-print-inline-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:10px}
.order-print-inline-panel,.order-print-simple-panel,.order-print-product-block,.order-print-summary{border:1px solid #dbe2ea;border-radius:12px;background:#fff}
.order-print-inline-panel,.order-print-simple-panel{padding:10px 12px}
.order-print-inline-title,.order-print-summary-title{font:700 12px/1.2 Roboto,sans-serif;color:#0f1533;margin-bottom:6px}
.order-print-inline-body{display:flex;flex-wrap:wrap;gap:6px 14px;font:500 12px/1.35 Roboto,sans-serif;color:#0f172a}
.order-print-inline-body span{white-space:nowrap}
.order-print-note{white-space:pre-wrap;font:400 12px/1.45 Roboto,sans-serif}
.order-print-product-block{margin-bottom:12px;overflow:hidden}
.order-print-product-header{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1.05fr);gap:8px;padding:10px;border-bottom:1px solid #dbe2ea;background:#fafbfe}
.order-print-product-name{font:700 14px/1.15 Roboto,sans-serif;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.order-print-product-meta,.order-print-confirmed-amounts{display:flex;flex-wrap:wrap;gap:4px 10px;margin-top:6px;font:500 12px/1.3 Roboto,sans-serif;color:#334155}
.order-print-product-weight-row{display:flex;flex-wrap:wrap;gap:4px 10px;margin-top:4px;font:500 12px/1.3 Roboto,sans-serif;color:#334155}
.order-print-product-meta .order-print-weight-meta{font-size:11px;line-height:1.15}
.order-print-product-weight-row .order-print-weight-meta{font-size:11px;line-height:1.15}
.order-print-confirmed-amounts{padding-top:6px;border-top:1px dashed #dbe2ea}
.order-print-tech-title{font:700 10px/1.15 Roboto,sans-serif;color:#0f1533;margin-bottom:2px}
.order-print-tech-grid{display:grid;gap:3px;font:500 12px/1.3 Roboto,sans-serif}
.order-print-tech-grid span{color:#64748b}
.order-print-tech-inline{display:flex;flex-wrap:wrap;gap:1px 4px;font:500 10px/1.1 Roboto,sans-serif;color:#0f172a;align-items:center}
.order-print-tech-inline > span:not(:last-child)::after{content:"|";margin-left:4px;color:#94a3b8}
.order-print-tech-inline span span{color:#64748b}
.order-print-product-items{display:grid}
.order-print-detail-row{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1.05fr);gap:8px;padding:9px 10px;border-top:1px solid #edf2f7}
.order-print-detail-row:first-child{border-top:0}
.order-print-product-tech,.order-print-detail-tech{display:flex;flex-direction:column;justify-content:center}
.order-print-detail-name{font:700 13px/1.2 Roboto,sans-serif;color:#0f172a}
.order-print-detail-code{font:500 11px/1.2 Roboto,sans-serif;color:#64748b}
.order-print-detail-quantity{font:500 11px/1.2 Roboto,sans-serif;color:#334155}
.order-print-detail-divider{display:inline-block;margin:0 6px;color:#94a3b8;font:500 11px/1 Roboto,sans-serif}
.order-print-detail-meta,.order-print-detail-confirmed-weight,.order-print-detail-note{display:flex;flex-wrap:wrap;gap:4px 10px;margin-top:5px;font:500 11px/1.25 Roboto,sans-serif;color:#334155}
.order-print-detail-meta > span{white-space:nowrap}
.order-print-inventory{font-size:10px;line-height:1.15;color:#64748b}
.order-print-blank{display:inline-block;min-width:64px;height:.95em;border-bottom:1px solid #64748b;vertical-align:middle}
.order-print-muted{color:#64748b}
.order-print-table{width:100%;border-collapse:collapse;font:400 12px/1.35 Roboto,sans-serif}
.order-print-table th,.order-print-table td{border:1px solid #dbe2ea;padding:8px 10px;vertical-align:top;text-align:left}
.order-print-table th{background:#f8fafc;font-weight:700;color:#334155}
.order-print-summary{margin-top:12px;margin-left:auto;max-width:340px;padding:12px 14px;background:#f8fafc}
.order-print-summary-row{display:flex;justify-content:space-between;gap:16px;font:500 13px/1.35 Roboto,sans-serif}
.order-print-summary-row + .order-print-summary-row{margin-top:8px}
.order-print-loading,.order-print-error{max-width:1120px;margin:48px auto;background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:24px;font:500 16px/1.4 Roboto,sans-serif}
.order-print-loading-title{font:600 15px/1.25 Roboto,sans-serif;color:#0f1533}
.order-print-loading-subtitle{margin-top:6px;font:400 12px/1.35 Roboto,sans-serif;color:#64748b}

@media (max-width:900px){
    .order-print-page{padding:12px}
    .order-print-document{width:100%;max-width:100%;padding:16px;border-radius:12px}
    .order-print-top{flex-direction:column}
    .order-print-top-main{align-items:flex-start}
    .order-print-inline-panels,.order-print-product-header,.order-print-detail-row{grid-template-columns:1fr}
}

@media print{
    @page{size:A4 portrait;margin:12.7mm}
    html,body{background:#fff!important}
    .no-print{display:none!important}
    .order-print-page{padding:0;background:#fff}
    .order-print-document{width:184mm;max-width:184mm;margin:0 auto;padding:0;box-shadow:none;border-radius:0}
    .order-print-inline-panels{grid-template-columns:repeat(2,minmax(0,1fr))}
    .order-print-product-header{grid-template-columns:minmax(0,1.45fr) minmax(0,1.05fr)}
    .order-print-detail-row{grid-template-columns:minmax(0,1.45fr) minmax(0,1.05fr)}
    .order-print-top{flex-direction:row}
    .order-print-top-main{align-items:flex-end}
    .order-print-inline-panel,.order-print-simple-panel,.order-print-summary{break-inside:avoid}
    .order-print-product-block,.order-print-product-items{break-inside:auto;page-break-inside:auto}
    .order-print-product-header,.order-print-detail-row{break-inside:avoid;page-break-inside:avoid}
}
