.waybill-dialog {
  width:min(890px,calc(100% - 28px)); max-width:none; max-height:94dvh;
  padding:0; background:#edf2f5; overflow:auto;
}
.waybill-toolbar {
  position:sticky; top:0; z-index:2; display:flex; align-items:center;
  justify-content:space-between; gap:8px; padding:11px 22px;
  background:#edf2f5; border-bottom:1px solid #d6e0e7;
}
.waybill-toolbar .button { margin:0; }
.waybill-toolbar:has(.waybill-signature-actions) { flex-wrap:wrap; }
.waybill-signature-actions { display:flex; flex-wrap:wrap; gap:7px; }
.waybill-review-status { flex-basis:100%; margin:0; color:#5b4437; font-size:13px; }
.waybill-review-status:empty { display:none; }

.waybill {
  --ink:#07162f;
  --navy:#032746;
  --orange:#f26900;
  --rule:#9cacc4;
  --pale:linear-gradient(106deg,#fafcff 0%,#e4edf9 53%,#d3e2f5 100%);
  position:relative; isolation:isolate; box-sizing:border-box;
  width:min(210mm,100%); min-height:297mm; margin:20px auto 0; padding:28px 21px 0;
  display:flex; flex-direction:column; gap:7px;
  background:#fff; color:var(--ink); font:14px/1.18 Arial,Helvetica,sans-serif;
  overflow-wrap:anywhere;
}
/* The two waves use the width of the receipt as their view box. */
.waybill::before {
  content:""; position:absolute; inset:0 0 auto; height:30px; pointer-events:none;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 40' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='orange'%3E%3Cstop stop-color='%23db5100'/%3E%3Cstop offset='.19' stop-color='%23ff7a00'/%3E%3Cstop offset='1' stop-color='%23ff8e00'/%3E%3C/linearGradient%3E%3ClinearGradient id='navy'%3E%3Cstop stop-color='%230a365f'/%3E%3Cstop offset='1' stop-color='%23032153'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23orange)' d='M0 0H675c-20 4-31 11-47 16H131C92 16 80 6 44 14 24 17 12 22 0 29Z'/%3E%3Cpath fill='url(%23navy)' d='M702 0h298v24H716c-47 0-84 1-113 14C628 18 666 4 702 0Z'/%3E%3C/svg%3E") center top / 100% 100% no-repeat;
}
.waybill-security { position:absolute; inset:0; overflow:hidden; z-index:-1; pointer-events:none; }
.waybill-watermark { position:absolute; inset:45% 0 auto; text-align:center; transform:rotate(-24deg); font-size:70px; font-weight:800; opacity:.032; white-space:nowrap; }
.waybill-watermark-pattern { position:absolute; inset:-10% -15%; display:grid; grid-template-columns:repeat(3,1fr); place-items:center; transform:rotate(-20deg); font-size:14px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; opacity:.028; }
.waybill-watermark-seal { position:absolute; inset:auto 7% 10% auto; width:100px; opacity:.025; }
.waybill-watermark-seal img { display:block; width:100%; }
.waybill-icon { width:22px; height:22px; flex:none; fill:none; stroke:currentColor; stroke-width:1.95; stroke-linecap:round; stroke-linejoin:round; }

.waybill-head { display:flex; align-items:center; gap:18px; min-height:61px; padding:0 12px 3px; }
.waybill-brand { display:flex; align-items:center; gap:10px; color:var(--navy); font-size:35px; line-height:.92; font-weight:800; letter-spacing:-.035em; text-transform:uppercase; }
.waybill-brand img { width:57px; height:57px; }
.waybill-brand small { display:block; margin-top:5px; font-size:16px; letter-spacing:.31em; }
.waybill-brand-tag { border-left:1px solid var(--ink); padding:3px 0 3px 16px; color:var(--navy); font-size:14px; font-style:italic; }
.waybill-document { margin-left:auto; text-align:right; }
.waybill h2 { margin:0; color:var(--ink); font:800 31px/1 Arial,Helvetica,sans-serif; letter-spacing:-.025em; }
.waybill-document h2::after { content:""; display:block; width:68%; height:5px; margin:7px 0 0 auto; border-radius:5px 0; background:linear-gradient(90deg,#f06000,#ff9600); }
.waybill-document > span { display:block; margin-top:4px; }

.waybill-receipt-meta { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:4px 12px; margin:0 12px 3px; padding:5px 0; border-block:1px solid var(--rule); font-weight:700; }
.waybill-receipt-meta strong { color:#d85000; }
.waybill-receipt-meta span:last-child,.waybill-status { display:inline-flex; align-items:center; gap:5px; }
.waybill-receipt-meta .waybill-icon { width:19px; height:19px; }

.waybill-reference {
  display:grid; grid-template-columns:minmax(0,32fr) minmax(0,40fr) minmax(0,28fr);
  align-items:center; min-height:91px; padding:7px 14px;
  border:1px solid #02162c; border-radius:11px; background:linear-gradient(118deg,#073557 0%,#03284b 40%,#051a32 100%);
  color:white;
}
.waybill-reference:not(:has(.waybill-qr)) { grid-template-columns:1fr; }
.waybill-tracking-number { display:grid; gap:3px; justify-items:start; min-width:0; padding:0 5px; }
.waybill-tracking-number > span:first-child { text-transform:uppercase; font-weight:700; }
.waybill-tracking-number > strong { font-size:22px; line-height:1.04; letter-spacing:-.02em; }
.waybill-short-code { white-space:nowrap; }
.waybill-status { padding:2px 8px; border:1px solid #b7d5ea; border-radius:8px; background:linear-gradient(110deg,#09639e,#054477); font-weight:700; }
.waybill-status .waybill-icon { width:18px; height:18px; }
.waybill-barcode-cell { display:grid; align-items:center; border-inline:2px solid #eff6ff; padding:3px 22px; }
.waybill-barcode-cell:empty,.waybill-scan:empty { display:none; }
.waybill-barcode { width:100%; margin:0; padding:4px 4px 3px; border-radius:7px; background:#fff; box-shadow:inset 0 0 0 1px #e0e8f2; color:#080e17; text-align:center; }
.waybill-barcode svg { display:block; width:100%; height:36px; }
.waybill-barcode figcaption { font-size:13px; line-height:1.12; font-weight:700; }
.waybill-scan { display:grid; grid-template-columns:74px minmax(0,1fr); align-items:center; gap:13px; padding-left:13px; }
.waybill-qr { display:block; border-radius:9px; background:#fff; overflow:hidden; box-shadow:inset 0 0 0 1px #e0e8f2; }
.waybill-qr svg { display:block; width:100%; height:auto; }
.waybill-qr:focus-visible,.waybill a:focus-visible { outline:2px solid var(--orange); outline-offset:2px; }
.waybill-scan-copy strong { font-size:15px; }
.waybill .waybill-scan-copy p { margin:2px 0 0; color:#e9f3ff; line-height:1.16; }

.waybill h3,.waybill h4 { margin:0; font:800 17px/1.08 Arial,Helvetica,sans-serif; color:inherit; letter-spacing:-.012em; }
.waybill dt { color:inherit; }
.waybill dd { margin:1px 0 0; font-weight:700; }
.waybill-highlights {
  display:grid; grid-template-columns:repeat(auto-fit,minmax(0,1fr)); margin:0;
  border:1px solid var(--rule); border-radius:10px;
  background:linear-gradient(#fff,#f4f8fc); padding:4px 0;
}
.waybill-highlights > div { display:flex; align-items:center; gap:7px; padding:0 8px; min-width:0; }
.waybill-highlights > div + div { border-left:1px solid var(--rule); }
@media screen and (min-width:761px), print {
  .waybill-highlights:has(> :nth-child(5)) {
    grid-template-columns:minmax(0,19fr) minmax(0,23fr) minmax(0,18fr) minmax(0,22fr) minmax(0,18fr);
  }
}
.waybill-highlights dt { font-size:12px; font-weight:700; }
.waybill-highlights dd { font-size:14px; }
.waybill-highlights .waybill-icon { width:23px; height:23px; }
.waybill-highlights dd:is(.waybill-state,.waybill-active,.waybill-positive,.waybill-payment-state) {
  display:inline-flex; align-items:center; gap:3px; padding:1px 5px; border-radius:7px;
}
.waybill-highlights dd .waybill-icon { width:13px; height:13px; }
.waybill-state { background:#edf1f7; color:#172e47; }
.waybill-active { background:linear-gradient(#def8e7,#c3f1d4); color:#105933; }
.waybill-positive { background:linear-gradient(#ddf8e5,#b7eec8); color:#11562a; }
.waybill-payment-state { background:linear-gradient(#fff5c4,#ffeb95); color:#332400; }

.waybill-shipment-layout { display:grid; grid-template-columns:minmax(0,64fr) minmax(0,35fr); gap:12px; }
.waybill-shipment-layout:has(> :only-child) { grid-template-columns:1fr; }
.waybill-shipment-aside { display:flex; flex-direction:column; gap:8px; min-width:0; }
.waybill-section,.waybill-party,.waybill-lookup {
  min-width:0; border:1px solid var(--rule); border-radius:10px;
  background:linear-gradient(140deg,#fff 0%,#f4f8fd 100%);
}
.waybill .waybill-section-title,.waybill-party > h3 {
  display:flex; align-items:center; gap:11px; padding:2px 11px;
  border-bottom:1px solid #b2c1d5; border-radius:9px 9px 0 0; background:var(--pale);
}
.waybill-section-title .waybill-icon,.waybill-party h3 .waybill-icon { color:var(--orange); }
.waybill-party .waybill-icon--person circle,.waybill-party .waybill-icon--pin > path { fill:currentColor; }
.waybill-party .waybill-icon--pin circle { fill:white; stroke:white; }
.waybill-shipment-main > .waybill-section > h3 {
  background:linear-gradient(100deg,#032451 0%,#075084 38%,#e1ebf8 70%);
  color:white; text-shadow:0 1px 2px #071e3e;
}
.waybill-meta { display:grid; grid-template-columns:minmax(0,1.15fr) repeat(2,minmax(0,1fr)); gap:4px 0; margin:0; padding:5px 6px; }
.waybill-meta > div { padding:0 8px; }
.waybill-meta > div:not(:nth-child(3n + 1)) { border-left:1px solid var(--rule); }
.waybill-meta dt { font-size:12px; }
.waybill-parties { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px; margin-top:9px; }
.waybill-party-body { padding:4px 10px; }
.waybill-party-details { margin-top:2px; white-space:pre-line; font-size:12px; }
.waybill-lookup { display:flex; align-items:flex-start; gap:10px; padding:5px 9px; background:linear-gradient(135deg,#fff,#edf4fa); }
.waybill-verification-symbol { display:grid; place-items:center; flex:none; width:47px; height:47px; border:1px solid #bfcdde; border-radius:10px; background:linear-gradient(#fff,#f1f6fc); color:#07162f; }
.waybill-verification-symbol svg { width:31px; height:31px; stroke-width:2.3; }
.waybill .waybill-lookup p { margin:3px 0 4px; font-size:13px; line-height:1.18; }
.waybill-lookup a { display:inline-flex; align-items:center; gap:4px; color:#075e30; font-weight:700; text-decoration:underline; text-underline-offset:2px; }
.waybill-lookup a svg { width:14px; height:14px; }
.waybill-extra-details { display:flex; flex-wrap:wrap; gap:3px 12px; margin:0; padding-inline:3px; }
.waybill-extra-details dt { font-size:12px; }
.waybill-extra-details dd { margin:0; }
.waybill .waybill-notes,.waybill .waybill-payment-terms { margin:0; padding:4px 10px; line-height:1.2; white-space:pre-line; }
.waybill-important .waybill-section-title { font-size:14px; }

.waybill-goods { width:100%; border-collapse:collapse; text-align:left; }
.waybill-goods th,.waybill-goods td { padding:3px 8px; line-height:1.13; vertical-align:top; }
.waybill-goods th { border-bottom:1px solid #cad4df; background:#eaf0f7; font-size:12px; }
.waybill-goods td { white-space:pre-line; font-weight:600; font-size:13px; }
.waybill-goods td:first-child { width:47%; }
.waybill-cost-table td:first-child { width:auto; }
.waybill-cost-table td.waybill-cost-description { width:29%; }
.waybill-cell-label { display:none; }
.waybill-package { margin:0; padding:7px 10px; border-top:1px solid var(--rule); }
.waybill-package img { display:block; max-width:100%; max-height:110px; object-fit:contain; }
.waybill-package figcaption { margin-top:4px; }

.waybill-payment-layout { display:grid; grid-template-columns:minmax(0,47fr) minmax(0,53fr); gap:16px; break-inside:avoid; }
.waybill-method-strip {
  display:flex; align-items:center; justify-content:center; gap:8px;
  padding:1px 7px; margin:2px 9px; border:1px solid #c6d2e2; border-radius:6px;
  background:linear-gradient(#fff,#fbfdff); color:#0b2856; text-align:left;
}
.waybill-payment-marks { display:flex; align-items:center; flex-wrap:wrap; justify-content:center; gap:13px; }
.waybill-payment-marks img + img { border-inline-start:1px solid #d8e0ea; padding-inline-start:7px; box-sizing:content-box; }
.waybill-payment-marks img { display:block; width:54px; height:20px; object-fit:contain; }
.waybill-payment-marks .waybill-payment-mark--amex { width:23px; }
.waybill-payment-marks .waybill-payment-mark--mastercard { width:36px; }
.waybill-payment-marks .waybill-payment-mark--paypal { width:65px; }
.waybill-method-strip .waybill-icon { width:24px; height:19px; }
.waybill .waybill-receipt-empty { margin:0; padding:8px 11px; font-size:13px; line-height:1.18; }
.waybill .waybill-payment > h3 { color:#fff; background:linear-gradient(105deg,#d45100,#e96100 48%,#f68300 100%); text-shadow:0 1px #8b3200; }
.waybill .waybill-payment > h3 svg { color:#fff; }
.waybill-charges { margin:0; }
.waybill-charges > div,.waybill-collection { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:baseline; gap:5px; padding:2px 10px; }
.waybill-charges > div + div,.waybill-collection,.waybill-payment-terms:not(:nth-child(2)) { border-top:1px solid #d9e0ea; }
.waybill-charges dd,.waybill-collection > strong { margin:0; text-align:right; font-variant-numeric:tabular-nums; }
.waybill-total { font-size:16px; font-weight:800; background:linear-gradient(92deg,#fff1da,#ffdeb0); }
.waybill-collection { background:#fff7eb; }
.waybill-collection { grid-template-columns:minmax(0,3fr) minmax(0,1fr); }
.waybill-collection h4 { display:inline; font-size:13px; }
.waybill-collection small { margin-inline-start:5px; font-size:12px; }

.waybill .shipment-stamp { display:grid; grid-template-columns:143px minmax(0,1fr); gap:15px; align-items:center; margin:0; padding:6px 11px; border-width:1px; border-radius:11px; }
.waybill .stamp-impression { width:91px; height:91px; min-height:0; justify-self:center; border:3px double currentColor; border-radius:50%; background:#fffdfb; }
.waybill .stamp-impression::before { inset:3px; border-style:solid; }
.waybill .stamp-impression b { font-size:12px; overflow-wrap:normal; }
.waybill .stamp-impression small,.waybill .stamp-impression time { font-size:9px; overflow-wrap:normal; }
.waybill .shipment-stamp-info { border-left:1px solid currentColor; padding-left:15px; }
.waybill .shipment-stamp-info h3 { display:flex; align-items:center; gap:7px; font-size:21px; }
.waybill .stamp-red { --stamp-ink:#bd1118; border-color:#e15353; background:linear-gradient(115deg,#fff7f6,#fff0ed 75%,#fff6f4); }
.waybill .stamp-red .stamp-impression { padding:6px; }
.waybill .stamp-red .stamp-impression small { max-width:54px; margin-bottom:2px; text-transform:uppercase; }
.waybill .stamp-red .stamp-impression b { padding:2px 0; border-block:1px solid currentColor; line-height:1; }
.waybill-stamp-stars { display:block; flex:none; width:30px; height:9px; margin-top:3px; fill:currentColor; }
.waybill .stamp-red .shipment-stamp-info h3 { color:#b91216; }
.waybill-customs-meta { display:flex; flex-wrap:wrap; gap:3px 12px; margin-top:3px; padding-top:3px; border-top:1px solid color-mix(in srgb,var(--stamp-ink) 28%,transparent); font-size:13px; }
.waybill-customs-meta > span + span { padding-inline-start:12px; border-inline-start:1px solid color-mix(in srgb,var(--stamp-ink) 52%,transparent); }
.waybill .shipment-stamp-info p { margin:2px 0; font-size:13px; line-height:1.18; }
.waybill .shipment-stamp-signature { display:none; }

.waybill-thanks { display:flex; justify-content:center; align-items:center; gap:20px; min-height:55px; padding:4px 13px; border-radius:12px; background:linear-gradient(105deg,#c6dff7,#f0f6fc 35%,#c3ddf7); font-size:21px; text-align:center; letter-spacing:-.025em; }
.waybill-thanks > svg { width:38px; height:38px; color:var(--orange); }
.waybill-thanks strong { border-left:1px solid var(--ink); padding-left:20px; }
.waybill-footer { display:grid; grid-template-columns:minmax(0,24fr) minmax(0,27fr) minmax(0,29fr) minmax(0,20fr); align-items:center; min-height:67px; margin-top:auto; }
.waybill-footer > div { min-width:0; padding:0 10px; }
.waybill-footer > div + div { border-left:1px solid var(--rule); }
.waybill-footer h3,.waybill-footer small { font-size:12px; }
.waybill-issuer { display:grid; gap:3px; }
.waybill-sender-signature,.waybill-signer { text-align:center; line-height:1.1; }
.waybill-sender-signature { display:grid; align-content:end; min-height:51px; }
.waybill-sender-ink { position:relative; width:min(148px,100%); height:34px; margin:0 auto; }
.waybill-sender-ink img,.waybill-sender-ink svg { position:absolute; inset:0; display:block; width:100%; height:100%; }
.waybill-sender-ink img { object-fit:contain; mix-blend-mode:multiply; }
.waybill-mark-watermark { fill:#39608b; fill-opacity:.65; stroke:none; font:700 8px Arial,sans-serif; letter-spacing:1.25px; }
.waybill-sender-signature span,.waybill-house-signature { border-bottom:1px solid #8595aa; margin-bottom:4px; }
.waybill-house-signature img { display:block; width:128px; max-width:100%; height:29px; margin:auto; object-fit:contain; mix-blend-mode:multiply; }
.waybill-brand-seal-column { display:grid; align-self:stretch; align-items:center; }
.waybill-brand-seal { display:grid; justify-items:center; align-content:center; justify-self:center; width:76px; aspect-ratio:1; gap:2px; border:3px double #06264c; text-decoration:none; border-radius:50%; color:#082a54;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 70' fill='%230e3157'%3E%3Cg id='branch'%3E%3Cpath d='M28 52C20 50 13 42 13 31c1 9 5 16 16 22Z'/%3E%3Cpath d='M20 47c-4 0-8-3-9-7 4 0 7 3 9 7Zm2 2c-5-2-3-8-2-9 3 3 4 6 2 9Zm-7-8c-4-2-6-5-5-10 3 2 5 5 5 10Zm1 0c-2-4 1-7 4-10 0 4-1 8-4 10Zm-3-7c-3-2-3-6-1-10 2 3 3 6 1 10Zm3-4c0-4 3-7 6-8 0 4-3 6-6 8Z'/%3E%3C/g%3E%3Cuse href='%23branch' transform='translate(70) scale(-1 1)'/%3E%3C/svg%3E") center / 100% 100% no-repeat,
    radial-gradient(circle,#fff 30%,#eff6ff);
}
.waybill-brand-seal > span { display:grid; place-items:center; width:30px; height:30px; color:var(--orange); }
.waybill-brand-seal svg { width:30px; height:30px; fill:none; stroke:currentColor; stroke-width:3.7; stroke-linecap:round; stroke-linejoin:round; }
.waybill-brand-seal small { font-size:7px; font-weight:800; letter-spacing:.005em; text-align:center; text-transform:uppercase; }
.waybill-contacts,.waybill-footer-band { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:6px 14px; padding:3px 12px; font-size:12px; }
.waybill-contacts { border-top:1px solid var(--orange); justify-content:space-evenly; }
.waybill-contacts a { display:inline-flex; align-items:center; gap:7px; color:var(--ink); text-decoration:none; }
.waybill-contacts a + a { border-inline-start:1px solid #a3b0c1; padding-inline-start:14px; }
.waybill-contacts a:hover { text-decoration:underline; }
.waybill-contacts .waybill-icon { width:19px; height:19px; color:var(--orange); }
.waybill-footer-band { min-height:23px; margin:0 -21px; padding-inline:30px 46px; color:white; background:linear-gradient(117deg,#062b49 0 94%,#fff 94.2% 95%,#ff7800 95.2%); }

@media screen and (max-width:760px) {
  .waybill-dialog { width:calc(100% - 14px); }
  .waybill { min-height:0; margin:0; padding:22px 12px 0; }
  .waybill-head { gap:7px; padding-inline:0; }
  .waybill-brand { font-size:21px; gap:6px; }
  .waybill-brand img { width:36px; height:36px; }
  .waybill-brand small { font-size:10px; }
  .waybill-brand-tag { display:none; }
  .waybill h2 { font-size:21px; }
  .waybill-receipt-meta { margin-inline:0; font-size:12px; }
  .waybill-reference { grid-template-columns:minmax(0,1fr) 72px; gap:8px; padding:9px; }
  .waybill-tracking-number > strong { font-size:19px; }
  .waybill-short-code { white-space:normal; }
  .waybill-scan { grid-area:1 / 2; display:block; padding:0; }
  .waybill-scan-copy { display:none; }
  .waybill-barcode-cell { grid-column:1 / -1; padding:3px; border:0; }
  .waybill-highlights { grid-template-columns:repeat(2,minmax(0,1fr)); row-gap:8px; }
  .waybill-highlights > div:nth-child(odd) { border-left:0; }
  .waybill-shipment-layout,.waybill-payment-layout { grid-template-columns:1fr; gap:9px; }
  .waybill .shipment-stamp { grid-template-columns:75px minmax(0,1fr); gap:8px; }
  .waybill .stamp-impression { width:72px; height:72px; }
  .waybill .stamp-impression b { font-size:10px; }
  .waybill .stamp-impression small,.waybill .stamp-impression time { font-size:8px; }
  .waybill .shipment-stamp-info { padding-left:8px; }
  .waybill-footer { grid-template-columns:repeat(2,minmax(0,1fr)); row-gap:8px; }
  .waybill-footer-band { margin-inline:-12px; }
  .waybill-contacts a + a { padding-inline-start:0; border-inline-start:0; }
  .waybill-customs-meta > span + span { padding-inline-start:0; border-inline-start:0; }
}
@media screen and (max-width:540px) {
  .waybill-goods thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  .waybill-goods,.waybill-goods tbody { display:block; }
  .waybill-goods tr { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); padding:4px 0; }
  .waybill-goods td:first-child,.waybill-cost-table td.waybill-cost-description { grid-column:1 / -1; width:auto; }
  .waybill-cell-label { display:block; font-size:12px; font-weight:400; }
}

@media print {
  @page { size:210mm 297mm; margin:0; }
  body.printing-waybill { display:block; margin:0; overflow:visible; background:white; }
  body.printing-waybill > *:not(#waybill-dialog) { display:none!important; }
  #waybill-dialog[open] { position:static; display:block; width:210mm; max-width:none; max-height:none; margin:0; padding:0; border:0; overflow:visible; background:white; }
  #waybill-dialog::backdrop,.waybill-toolbar { display:none!important; }
  #waybill-dialog .waybill { margin:0; width:100%; print-color-adjust:exact; -webkit-print-color-adjust:exact; }
  .waybill-reference,.waybill-lookup,.waybill-party,.waybill-goods tr,.waybill-footer,.waybill-package,.shipment-stamp { break-inside:avoid; }
  .waybill-section-title { break-after:avoid; }
}
.waybill-brand-seal small:first-child { max-width:47px; text-wrap:balance; }
