.quote-preview-workspace{min-height:100%}.quote-preview-canvas{background:#f4f6f9;border:1px solid #e4e7ec;border-radius:8px;justify-content:center;padding:16px 8px 32px;display:flex;overflow:auto}.quote-preview-scaler{transform-origin:top;transition:transform .15s}.quote-a4-page{box-sizing:border-box;color:#1a1a1a;width:210mm;min-height:297mm;font-family:var(--font-roboto,"Noto Sans JP", "Hiragino Sans", "Yu Gothic", Roboto, sans-serif);background:#fff;padding:12mm 14mm 14mm;font-size:10pt;line-height:1.45;box-shadow:0 2px 12px #0000001f}.quote-a4-page *{box-sizing:border-box}.quote-a4-header{justify-content:space-between;gap:16px;margin-bottom:10mm;display:flex}.quote-a4-recipient{flex:1;min-width:0}.quote-a4-recipient-postal{margin-bottom:2mm;font-size:9pt}.quote-a4-recipient-company{border-bottom:1px solid #333;margin-bottom:2mm;padding-bottom:1mm;font-size:12pt;font-weight:700;display:inline-block}.quote-a4-title-block{text-align:right;min-width:42%}.quote-a4-document-title{letter-spacing:.08em;margin:0 0 4mm;font-size:18pt;font-weight:700}.quote-a4-meta-row{justify-content:flex-end;gap:4mm;margin-bottom:1mm;font-size:9pt;display:flex}.quote-a4-meta-label{color:#555;text-align:right;min-width:22mm}.quote-a4-company-block{text-align:right;margin-bottom:8mm;font-size:9pt}.quote-a4-company-name{font-size:11pt;font-weight:700}.quote-a4-summary{background:#fafafa;border:1px solid #ccc;margin-bottom:6mm;padding:4mm}.quote-a4-greeting{margin:0 0 3mm}.quote-a4-total-highlight{margin:2mm 0;font-size:13pt;font-weight:700}.quote-a4-terms-grid{grid-template-columns:24mm 1fr;gap:1mm 3mm;margin-top:3mm;font-size:9pt;display:grid}.quote-a4-table-wrap{margin-bottom:6mm;overflow-x:auto}.quote-a4-table{border-collapse:collapse;table-layout:fixed;width:100%;font-size:8.5pt}.quote-a4-table thead{display:table-header-group}.quote-a4-table th,.quote-a4-table td{vertical-align:top;word-break:break-word;border:1px solid #333;padding:1.5mm}.quote-a4-table th{text-align:center;background:#f0f0f0;font-weight:600}.quote-a4-table td.num,.quote-a4-table th.num{text-align:center}.quote-a4-table td.money,.quote-a4-table th.money{text-align:right;white-space:nowrap}.quote-a4-table tbody tr{page-break-inside:avoid;break-inside:avoid}.quote-a4-total-row{justify-content:flex-end;margin-bottom:6mm;display:flex}.quote-a4-total-box{text-align:right;border:1px solid #333;min-width:52mm;padding:3mm 4mm}.quote-a4-notes{white-space:pre-wrap;margin-bottom:8mm;font-size:9pt}.quote-a4-footer{color:#444;border-top:1px solid #ccc;justify-content:space-between;gap:8mm;margin-top:auto;padding-top:6mm;font-size:8.5pt;display:flex}.quote-a4-signature{text-align:center;min-width:40mm}.quote-a4-signature-line{border-bottom:1px solid #333;height:10mm;margin-top:2mm}@media screen and (max-width:900px){.quote-preview-canvas{justify-content:flex-start;padding-inline:4px}.quote-preview-scaler{transform-origin:0 0}}@media print{body{background:#fff!important}.quote-preview-toolbar,.no-print{display:none!important}.quote-preview-canvas{background:0 0;padding:0;overflow:visible}.quote-preview-scaler{transform:none!important}.quote-a4-page{box-shadow:none;page-break-after:always;width:auto;min-height:auto;margin:0;padding:0}.quote-a4-page:last-child{page-break-after:auto}@page{size:A4 portrait;margin:12mm 14mm}}
