.repair-editor{padding:0!important;border:1px solid #d4d8da;border-radius:12px;width:min(1060px,96vw)!important;max-width:96vw;max-height:95vh!important;overflow:hidden!important;color:#202725;background:#f4f6f7;box-shadow:0 16px 65px #0006}.repair-editor::backdrop{background:#0007}.repair-editor-header,.repair-editor-footer{display:flex;justify-content:space-between;gap:12px;align-items:center;background:white;padding:16px 24px}.repair-editor-header h2{margin:0;font-size:22px}.repair-editor-tabs{display:flex;gap:10px;padding:0 24px;background:white;border-bottom:1px solid #d5dadb}.repair-editor-tabs button{background:transparent;border:0;border-bottom:3px solid transparent;padding:14px 12px;color:#343a37;font:inherit;cursor:pointer}.repair-editor-tabs button[aria-selected=true]{border-color:#ae9242;font-weight:700}.repair-editor-body{overflow:auto;max-height:calc(95vh - 200px);padding:24px}.repair-editor-sheet{max-width:980px;margin:auto;background:white;border:1px solid #d4d8da;box-shadow:0 1px 6px #0001}.repair-editor-business{padding:28px 32px}.repair-editor-business h3{font-size:15px;margin:0 0 24px}.repair-payment-line{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.repair-payment-line strong{margin-right:10px}.repair-payment-status{display:inline-block;background:#e4f5e8;color:#275e36;font-size:12px;padding:3px 7px;border-radius:4px}.repair-payment-methods{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0 0}.repair-payment-methods span{font-size:12px;padding:6px 9px;border:1px solid #ccd3d8;border-radius:4px;background:white;font-weight:700}.repair-payment-methods .unavailable{color:#686e70;background:#f4f4f4;font-weight:400}.repair-payment-note{font-size:12px;color:#626867;margin-bottom:0}.repair-editor-customer{background:#edf5fa;padding:28px 32px}.repair-editor-customer label,.repair-editor-lines label,.repair-editor-notes label{display:block;font-size:13px;margin:0 0 14px}.repair-editor :is(input,textarea,select){font:inherit;color:#283431;background:white;border:1px solid #bcc8cf;border-radius:5px;padding:8px;box-sizing:border-box;max-width:100%}.repair-editor label :is(input,textarea,select){display:block;width:100%;margin-top:6px}.repair-editor :is(input,textarea)[readonly]{background:#f6f8fa}.repair-editor-owner{font-size:13px;margin:12px 0 20px}.repair-editor-owner p{margin:5px 0}.repair-editor-customer-grid{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:24px}.repair-editor-customer-grid textarea{min-height:110px;resize:vertical}.repair-editor-source{font-size:12px;color:#56636d}.repair-editor-lines,.repair-editor-notes{padding:24px 32px}.repair-editor-lines table{width:100%;border-collapse:collapse;font-size:13px}.repair-editor-lines th{text-align:left;border-bottom:1px solid #cbd3d7;padding:10px 8px;background:#f6f8f9}.repair-editor-lines td{padding:12px 8px;vertical-align:top;border-bottom:1px solid #e2e7e9}.repair-editor-lines textarea{width:100%;min-height:80px}.repair-editor-lines input{width:100%;min-width:75px}.repair-editor-lines .repair-number{width:110px}.repair-editor-totals{text-align:right;font-size:17px;font-weight:700;margin:25px 0 0}.repair-editor-notes{display:grid;grid-template-columns:1fr 1fr;gap:24px;border-top:1px solid #e2e7e9}.repair-editor-notes textarea{min-height:90px}.repair-editor-footer{border-top:1px solid #d5dadb;flex-wrap:wrap}.repair-editor-footer .btn{width:auto}.repair-editor-preview{background:white;padding:28px 32px;min-height:350px}.repair-editor-preview .repair-preview-heading{display:flex;justify-content:space-between;gap:20px;border-bottom:2px solid #b49a4c;margin-bottom:20px;padding-bottom:16px}.repair-editor-preview table{width:100%;border-collapse:collapse;margin:22px 0}.repair-editor-preview th,.repair-editor-preview td{padding:12px;border-bottom:1px solid #ddd;text-align:left}.repair-preview-email{max-width:620px;margin:auto;border:1px solid #ddd;padding:24px}.repair-preview-email .btn{display:inline-block}.repair-editor [hidden]{display:none!important}@media(max-width:700px){.repair-editor-customer-grid{grid-template-columns:1fr 1fr;gap:14px}.repair-editor-body{padding:10px}.repair-editor-business,.repair-editor-customer,.repair-editor-lines,.repair-editor-notes{padding:20px}.repair-editor-notes{grid-template-columns:1fr}.repair-editor-header,.repair-editor-footer{padding:12px 16px}.repair-editor-tabs{gap:0;padding:0 8px}.repair-editor-tabs button{font-size:13px;padding:12px 9px}.repair-editor-lines{overflow:auto}.repair-editor-lines table{min-width:550px}}@media(max-width:420px){.repair-editor-customer-grid{grid-template-columns:1fr}}
.repair-editor[open]{display:flex;flex-direction:column;height:95vh}.repair-editor>form{display:flex;flex-direction:column;min-height:0;flex:1}.repair-editor-header,.repair-editor-tabs,.repair-editor-footer{flex-shrink:0}.repair-editor-body{flex:1;min-height:0;max-height:none;box-sizing:border-box}
