.movement-receipt{padding:24px;background:#fff;color:#182238;border:1px solid #dfe3ec;border-radius:12px;max-width:1000px;margin:16px auto;line-height:1.8}
.movement-receipt .si-invoice-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;border-bottom:2px solid #493c8c;padding-bottom:16px;margin-bottom:18px}
.movement-receipt h1{font-size:22px;margin:6px 0}.movement-receipt .si-brand{color:#596171;font-size:12px}
.movement-receipt dl{margin:0}.movement-receipt dl>div{display:flex;gap:12px;padding:5px 0}.movement-receipt dt{color:#596171;min-width:85px}.movement-receipt dd{margin:0;font-weight:600;overflow-wrap:anywhere}
.movement-receipt .si-parties{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:10px;align-items:stretch}
.movement-receipt .si-party{border:1px solid #dfe3ec;border-radius:6px;padding:8px;min-width:0}.movement-receipt .si-party h3{margin:0 0 4px;color:#493c8c;font-size:12px}.movement-receipt .si-party dl>div{padding:2px 0;gap:4px;justify-content:flex-start;align-items:baseline;font-size:11px;line-height:1.5}.movement-receipt .si-party dt{min-width:0;flex:0 0 auto;white-space:nowrap}.movement-receipt .si-party dd{min-width:0;flex:0 1 auto;text-align:right}
.movement-receipt table{width:100%;border-collapse:collapse;table-layout:fixed;text-align:right}.movement-receipt th,.movement-receipt td{border:1px solid #dfe3ec;padding:10px 7px;overflow-wrap:anywhere}.movement-receipt th{background:#f1f0f7}.movement-receipt th:first-child{width:7%}.movement-receipt th:nth-child(2){width:29%}.movement-receipt th:nth-child(3){width:22%}.movement-receipt th:nth-child(4){width:8%}.movement-receipt th:nth-child(5),.movement-receipt th:nth-child(6){width:17%}
.movement-receipt-temporary th:first-child{width:8%}.movement-receipt-temporary th:nth-child(2){width:44%}.movement-receipt-temporary th:nth-child(3){width:34%}.movement-receipt-temporary th:nth-child(4){width:14%}
.movement-receipt-summary{display:flex;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid #dfe3ec;font-size:12px}
.movement-receipt .si-signatures{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:24px;border:0;padding:0;break-inside:avoid}.movement-receipt .si-signatures>div{border:1px solid #cbd1dc;border-radius:8px;min-height:32mm;padding:12px 6px;text-align:center;font-size:12px}.movement-receipt .si-signatures span{display:block;margin-top:10px;font-size:10px;color:#596171}
@media screen and (max-width:640px){.movement-receipt{padding:12px}.movement-receipt .si-invoice-head{flex-direction:column}.movement-receipt .si-parties{grid-template-columns:1fr}.movement-receipt .table-wrap{overflow-x:auto}.movement-receipt table{min-width:550px}.movement-receipt .si-signatures{grid-template-columns:1fr}}
@media print{
 .movement-receipt{box-sizing:border-box;width:100%;padding:4mm;border:1px solid #8791a3;border-radius:2mm;margin:0;max-width:none;line-height:1.6;box-decoration-break:clone;-webkit-box-decoration-break:clone}
 .movement-receipt .si-invoice-head{gap:3mm;padding-bottom:3mm;margin-bottom:3mm}.movement-receipt h1{font-size:16px}.movement-receipt .si-brand{font-size:9px}.movement-receipt .si-invoice-head>dl{min-width:0;padding:2mm}
 .movement-receipt dl>div{gap:2mm;padding:1mm 0}.movement-receipt dt{min-width:0}.movement-receipt .si-party dt{flex:0 0 auto}.movement-receipt .si-parties{gap:2mm;margin-bottom:2mm}.movement-receipt .si-party{padding:1.5mm}.movement-receipt .si-party h3{font-size:9px;margin-bottom:1mm}.movement-receipt .si-party dl>div{font-size:9px;line-height:1.5;padding:.3mm 0;gap:1mm}
 .movement-receipt .si-parties,.movement-receipt .si-invoice-head,.movement-receipt-summary{break-inside:avoid}.movement-receipt .table-wrap{overflow:visible;margin:3mm 0}.movement-receipt table{font-size:9px;min-width:0}.movement-receipt th,.movement-receipt td{padding:2mm 1mm}.movement-receipt-summary{padding:2mm 0;font-size:10px}
 .movement-receipt .si-signatures{gap:2mm;margin-top:4mm}.movement-receipt .si-signatures>div{font-size:9px;min-height:26mm;padding:2mm 1mm}.movement-receipt .si-signatures span{font-size:8px;margin-top:2mm}.movement-receipt thead{display:table-header-group}.movement-receipt tr{break-inside:avoid}
}

/* Serial identity stays grouped inside the existing serial column. */
.si-document-serials{display:grid;gap:5px;line-height:1.6}
.si-document-serials>span{display:grid;gap:1px}
.si-document-serials small{font-size:10px;color:#374151;font-weight:600}
.si-document-serials bdi{font-variant-numeric:tabular-nums;font-weight:650;direction:ltr;unicode-bidi:isolate;overflow-wrap:anywhere}
@media screen{
 .movement-receipt,.si-document-invoice{color:#18212f;background:#fff;border:1px solid #cfd5df;border-radius:14px;padding:24px;box-shadow:0 5px 20px #15213408;line-height:1.8}
 .movement-receipt .si-invoice-head,.si-document-invoice .si-invoice-head{border-bottom:2px solid #b45316;padding-bottom:16px;gap:18px}
 .movement-receipt .si-brand,.si-document-invoice .si-brand{color:#263342;font-weight:650}
 .movement-receipt .si-invoice-head>dl,.si-document-invoice .si-invoice-head>dl{background:#f8fafc;border:1px solid #d1d7e0;border-radius:9px;padding:10px 14px}
 .movement-receipt .si-party,.si-document-invoice .si-party{border:1px solid #cbd2dc;border-radius:9px;padding:12px;background:#fff}
 .movement-receipt .si-party h3,.si-document-invoice .si-party h3{color:#263342;font-weight:700;border-bottom:1px solid #dce1e8;padding-bottom:7px;margin:0 0 8px}
 .movement-receipt dt,.si-document-invoice dt{color:#374151}.movement-receipt dd,.si-document-invoice dd{font-weight:650}
 .movement-receipt th,.si-document-invoice th{background:#f0f3f7;color:#18212f;font-weight:750}
 .movement-receipt td,.si-document-invoice td{color:#18212f;border-color:#d1d7e0;vertical-align:middle}
 .movement-receipt-summary,.si-document-invoice .si-grand-total{background:#fff6ec;color:#71310b;border:1px solid #edc7a5;border-radius:8px;padding:12px}
 .movement-brand{display:flex;align-items:center;gap:10px}.movement-brand-logo svg{width:38px;height:38px}.movement-brand .si-brand small{display:block;font-size:11px}
 .movement-specs{display:block;color:#374151;font-size:11px;margin-top:3px}
}
@media screen and (max-width:640px){
 .si-document-invoice,.movement-receipt{padding:12px;border-radius:10px}
 .si-document-invoice .si-invoice-head{flex-direction:column;align-items:stretch}
 .si-document-invoice .si-invoice-head>dl{min-width:0;width:100%;box-sizing:border-box}
 .si-document-invoice .si-parties{grid-template-columns:1fr}
 .si-document-invoice .si-invoice-bottom{grid-template-columns:1fr}
}
