
.customer-document-status{padding:12px 16px;margin:12px 0;border:1px solid #ccdce3;border-radius:10px;background:#f5f9fa;display:flex;flex-wrap:wrap;align-items:center;gap:10px}.customer-document-status>small{flex-basis:100%;color:var(--muted)}.customer-document-status>[data-doc-state]{font-size:13px}.customer-document-status .mini-actions{margin-left:auto}.customer-document-status button:disabled{opacity:.55}
@media print{.customer-document-status{display:none!important}}

@media print{.qp-item-table td,.quote-print-only .qp-item-table th{font-size:12pt!important}.quote-print-only .qp-footer{position:static!important;margin:12px 0 0!important}.qp-table-photos img:only-child{width:100%!important}}
.qp-item-table{border:1px solid #9baab2}.qp-item-table td{border:1px solid #9baab2!important;font-size:14px!important;padding:8px!important}.qp-table-photos{min-height:160px;padding:6px;box-sizing:border-box}.qp-table-photos img{max-height:155px!important;object-fit:contain!important}.qp-meta span{font-size:14px;min-height:40px}.qp-final{break-inside:avoid;page-break-inside:avoid;margin-top:18px}.qp-banks h3{font-size:15px;border-bottom:1px solid #9baab2;padding-bottom:8px}.qp-banks p{font-size:14px;line-height:1.7;margin:8px 0}.qp-signatures{display:grid;grid-template-columns:1fr 1fr;border:1px solid #9baab2;margin-top:16px;min-height:135px}.qp-signatures>div{padding:12px;box-sizing:border-box}.qp-customer-sign{border-left:1px solid #9baab2}.qp-signatures p{font-size:14px;margin:20px 0}.qp-company-sign img{display:block;width:210px;max-width:90%;height:auto;max-height:95px;object-fit:contain;margin-top:12px}.repair-summary p{white-space:pre-wrap}.quote-print-only .qp-footer{font-size:12px!important}.quote-print-only .qp-item-table th{font-size:14px!important}
@media print{.qp-table-row{break-inside:avoid;page-break-inside:avoid}.qp-final{break-inside:avoid!important;page-break-inside:avoid!important}.qp-signatures{min-height:34mm}.qp-company-sign img{width:55mm}.quote-print-only{font-size:11pt}.quote-print-only .qp-table-photos{min-height:40mm}}
.qsheet-photo-slots{height:auto;min-height:66px;flex-wrap:wrap;align-content:center}
.qsheet-photo-slots>.qsheet-thumb{flex:0 0 54px;width:54px}
.qsheet-photo-slots>.qsheet-new-photos{display:contents}
.qsheet-new-photos img{flex:0 0 54px;max-width:54px;object-fit:contain}
.qsheet-photo-slots>.qsheet-photo-add{flex:0 0 62px;min-width:62px;width:62px;white-space:nowrap;box-sizing:border-box}
.qsheet-photo-add b,.qsheet-photo-add small{white-space:nowrap}
.qsheet-photo-add{position:relative}
.qp-customer-sign{border-left:0}.qp-company-sign{border-left:1px solid #9baab2;display:flex;flex-direction:column;align-items:flex-end}.qp-company-sign b{align-self:flex-start}.qp-company-sign img{margin-top:auto}
@media print{
 .quote-print-only .qp-item-table td,.quote-print-only .qp-item-table th{font-size:12pt!important;line-height:1.3;padding:5px!important;overflow-wrap:anywhere}
 .quote-print-only .qp-table-row{height:auto}.quote-print-only .qp-table-photos{height:auto;min-height:0;padding:2px}.quote-print-only .qp-table-photos img{height:76px;max-height:76px!important;max-width:100%}
 .quote-print-only .qp-table-photos:empty{display:none}.quote-print-only .qp-table-description span{white-space:pre-wrap}.quote-print-only .qp-meta span{min-height:28px}.quote-print-only .qp-final{margin-top:8px}
 .quote-print-only .qp-banks h3{font-size:12pt;padding-bottom:4px;margin:6px 0}.quote-print-only .qp-banks p{font-size:12pt;line-height:1.3;margin:4px 0}
 .quote-print-only .qp-signatures{grid-template-columns:3fr 2fr;min-height:30mm;margin-top:8px}.quote-print-only .qp-signatures>div{padding:8px}.quote-print-only .qp-signatures p{font-size:12pt;margin:14px 0}.quote-print-only .qp-company-sign img{max-height:22mm;width:50mm;align-self:flex-end}
}
.qsheet-photo-add input[type=file]{left:0;top:0;width:1px;height:1px;padding:0;border:0}
.qsheet-new-photos>.qsheet-thumb{position:relative;display:block;flex:0 0 54px;width:54px}
.qsheet-photo-empty{flex:0 0 54px;width:54px;height:58px;padding:3px;border:1px dashed #8caab8;border-radius:6px;background:#f4f8fa;color:var(--muted);font-size:10px}
.quote-print-only .qp-brand{display:flex;justify-content:space-between;width:100%;box-sizing:border-box}
.quote-print-only .qp-document{margin-left:auto;padding-right:0;text-align:right}
.quote-print-only .qp-document strong,.quote-print-only .qp-document small,.quote-print-only .qp-document em{text-align:right}
@media print{
 .quote-print-only .qp-totals{width:19%;margin-left:74%;margin-top:0;font-size:12pt;break-inside:avoid}
 .quote-print-only .qp-totals div{grid-template-columns:9fr 10fr;padding:0;border:1px solid #9baab2;border-top:0;min-height:28px}
 .quote-print-only .qp-totals span,.quote-print-only .qp-totals b{padding:5px;font-size:12pt}
 .quote-print-only .qp-totals span{border-right:1px solid #9baab2}
 .quote-print-only .qp-totals .grand{font-size:12pt}
 .quote-print-only .qp-terms{margin-top:6px}.quote-print-only .qp-terms h3{padding:4px 8px}
 .quote-print-only .qp-terms>div{line-height:1.3;padding:5px 8px;white-space:pre-wrap}
 .quote-print-only .qp-terms span{display:inline;margin:0}.quote-print-only .qp-terms span+span::before{content:'； '}
 .quote-print-only .qp-table-photos img{width:0;flex:1;min-width:0}.quote-print-only .qp-table-photos img:only-child{width:100%!important}
 .quote-print-only .qp-item-table th{white-space:nowrap}.quote-print-only .qp-number{white-space:nowrap}
}
@media print{
 .quote-print-only .qp-totals{width:100%;margin-left:0;margin-top:0}
 .quote-print-only .qp-totals div{display:grid;grid-template-columns:74% 9% 10% 7%;border:0;border-bottom:1px solid #9baab2;background:transparent;min-height:26px;box-sizing:border-box}
 .quote-print-only .qp-totals span{grid-column:2;border:0;text-align:right}
 .quote-print-only .qp-totals b{grid-column:3;text-align:right;font-weight:400}
 .quote-print-only .qp-totals .grand{border-bottom:2px solid currentColor;background:transparent}
 .quote-print-only .qp-totals .grand b{font-weight:700}
}
