.repair-order-paper{font-family:Arial,Helvetica,sans-serif;color:#171717;font-size:11px;line-height:1.35;padding:28px}
.repair-order-paper h1,.repair-order-paper h2,.repair-order-paper h3,.repair-order-paper p{margin:0}
.repair-order-paper .or-box{border:1px solid #555;border-radius:9px;padding:10px 12px}
.repair-order-paper .or-header{display:grid;grid-template-columns:1fr 1fr;gap:42px;align-items:end;margin-bottom:12px}
.repair-order-paper .or-issuer h2{font-size:18px;margin-bottom:6px;letter-spacing:0}
.repair-order-paper .or-issuer p,.repair-order-paper .or-recipient p{margin:4px 0}
.repair-order-paper small{font-size:10px;color:inherit}
.repair-order-paper h3{font-size:10px;font-weight:700;letter-spacing:.02em;color:inherit;margin-bottom:4px}
.repair-order-paper .or-date{text-align:right;margin:0 0 13px;font-size:12px}
.repair-order-paper .or-title{display:flex;align-items:center;gap:12px;border:1px solid #555;background:#f0f0f0;border-radius:6px;padding:7px 10px}
.repair-order-paper .or-title h1{font-size:17px;line-height:1.2;letter-spacing:0;flex:1}
.repair-order-paper .or-title>strong{font-size:11px}.repair-order-paper .or-title>span{font-size:9px}
.repair-order-paper .or-reference{font-size:10px;margin:6px 0 8px}
.repair-order-paper .or-vehicle{display:grid;grid-template-columns:1fr 1fr;margin-top:10px;padding:0;overflow:hidden}
.repair-order-paper .or-field{padding:5px 10px;display:grid;grid-template-columns:110px 1fr;gap:7px;border-bottom:1px solid #d5d5d5;min-width:0}
.repair-order-paper .or-field:nth-child(odd){border-right:1px solid #d5d5d5}.repair-order-paper .or-field:nth-last-child(-n+2){border-bottom:0}
.repair-order-paper .or-field span{font-size:9px}.repair-order-paper .or-field strong{font-size:10px;overflow-wrap:anywhere}
.repair-order-paper .or-work{margin-top:12px}.repair-order-paper .or-work>h3{padding:6px 9px;background:#eee;border:1px solid #555;border-bottom:0;border-radius:6px 6px 0 0;margin:0}
.repair-order-paper table{width:100%;border-collapse:collapse;table-layout:fixed;white-space:normal}
.repair-order-paper th,.repair-order-paper td{border:1px solid #777;padding:5px 6px;font-size:10px;color:#171717;vertical-align:top;overflow-wrap:anywhere}
.repair-order-paper th{font-size:9px;background:#f0f0f0;letter-spacing:0;text-transform:none;font-weight:700;text-align:left}
.repair-order-paper tbody tr:last-child td{border:1px solid #777}
.repair-order-paper .or-lines th:nth-child(n+3),.repair-order-paper .or-lines td:nth-child(n+3){text-align:right;white-space:nowrap}
.repair-order-paper .or-code{width:12%}.repair-order-paper .or-description{width:40%}.repair-order-paper .or-quantity{width:9%}.repair-order-paper .or-price,.repair-order-paper .or-total{width:15%}.repair-order-paper .or-tax{width:9%}
.repair-order-paper .or-blank-row td{border-top:0}
.repair-order-paper .or-summary{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:start;margin-top:10px}
.repair-order-paper .or-vat th:first-child{width:35%}.repair-order-paper .or-vat td,.repair-order-paper .or-vat th{font-size:9px;padding:4px 5px}
.repair-order-paper .or-amounts{border:1px solid #555;border-radius:7px;padding:7px 10px;display:grid;gap:4px}
.repair-order-paper .or-amounts>div{display:flex;justify-content:space-between;gap:10px;font-size:10px}
.repair-order-paper .or-total-rule{border-top:1px solid #aaa;margin-top:3px;padding-top:5px}
.repair-order-paper .or-grand-total{font-size:13px!important;border-top:1px solid #555;margin-top:3px;padding-top:5px;font-weight:700}
.repair-order-paper .or-observations{margin-top:12px}.repair-order-paper .or-observations p{white-space:pre-wrap;overflow-wrap:anywhere}
.repair-order-paper .or-authorisation{margin-top:14px}.repair-order-paper .or-authorisation>p{font-size:10px;line-height:1.5}
.repair-order-paper .or-signatures{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:8px}
.repair-order-paper .or-signatures>div{border:1px solid #555;border-radius:8px;min-height:95px;padding:8px 10px;display:flex;flex-direction:column;gap:8px;font-size:10px}
.repair-order-paper .or-footer{margin-top:12px;display:grid;grid-template-columns:1fr auto;gap:4px;align-items:end;font-size:8px;color:#555}
.repair-order-paper .or-footer>span{grid-column:1}.repair-order-paper .or-footer .pm-document-mark{grid-column:2;grid-row:1/3;margin:0}
@media print{.repair-order-paper{width:calc(100% - 1mm)}}
@media(max-width:760px){.repair-order-paper{padding:12px}.repair-order-paper .or-header{gap:12px}.repair-order-paper .or-title{flex-wrap:wrap}.repair-order-paper .or-title h1{flex-basis:100%}.repair-order-paper .or-field{grid-template-columns:1fr;gap:2px}.repair-order-paper .or-summary{gap:12px}.repair-order-paper th,.repair-order-paper td{font-size:8px;padding:4px 3px}.repair-order-paper .or-lines td:nth-child(n+3){white-space:normal}}
@media print{.repair-order-paper{padding:0!important;font-size:9pt;color:#111!important}.repair-order-paper .or-header,.repair-order-paper .or-title,.repair-order-paper .or-vehicle,.repair-order-paper .or-summary,.repair-order-paper .or-authorisation,.repair-order-paper .or-footer{break-inside:avoid}.repair-order-paper .or-title h1{font-size:15pt}.repair-order-paper .or-field{grid-template-columns:105px 1fr}.repair-order-paper th,.repair-order-paper td{font-size:8pt;padding:5px 6px}.repair-order-paper thead{display:table-header-group}.repair-order-paper .or-lines{break-inside:auto}.repair-order-paper tr{break-inside:avoid}.repair-order-paper .or-work>h3{break-after:avoid}.repair-order-paper .or-signatures>div{min-height:27mm}.repair-order-paper .or-lines td:nth-child(n+3){white-space:nowrap}.repair-order-paper .or-footer{margin-bottom:3mm}}
