.quotation-tool { padding: clamp(16px, 4vw, 28px); border: 1px solid var(--line); border-radius: 16px; background: #f8fafc; margin-block: 28px; }
.quotation-tool h2 { margin-top: 0; }
.quotation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-block: 20px; }
.quotation-bid { min-width: 0; margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.quotation-bid legend { padding: 0 8px; font-weight: 800; }
.quotation-tool .field-group { margin-bottom: 16px; }
.quotation-tool input:not([type="checkbox"]), .quotation-tool textarea { width: 100%; box-sizing: border-box; }
.quotation-tool textarea { resize: vertical; min-height: 100px; font: inherit; padding: 10px; border: 1px solid var(--line); border-radius: 8px; }
.quotation-confirm { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; line-height: 1.5; }
.quotation-confirm input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 3px; }
.quotation-tool [aria-invalid="true"] { border: 2px solid #b42318; }
.quotation-tool [hidden] { display: none; }
.no-js #quotation-form, .no-js #quotation-example { display: none; }
.quotation-output { scroll-margin-top: 90px; padding-top: 24px; }
.quotation-output td { overflow-wrap: anywhere; }
.quotation-output table { min-width: 0; table-layout: fixed; }
.quotation-example-note { padding: 12px; border-left: 4px solid #9a6700; background: #fff7df; }
@media (max-width: 700px) { .quotation-grid { grid-template-columns: 1fr; } .quotation-tool { padding: 14px; } .quotation-output th, .quotation-output td { padding: 8px 5px; font-size: .84rem; } }
@media print { #quotation-form, #quotation-example, #quotation-export, #quotation-status { display: none; } .quotation-tool { border: 0; padding: 0; } }
