.quote-page .top { position: relative; background: var(--paper); border-bottom: 1px solid var(--line); }
.quote-main { padding-top: 52px; padding-bottom: 96px; }
.quote-heading h1 { font-size: clamp(34px,4vw,56px); line-height: 1.2; font-weight: 600; }
.quote-heading p { margin-top: 16px; font-size: 20px; }
.quote-heading .quote-sub { margin-top: 10px; color: var(--muted); font-size: 15px; }
.quote-grid { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: 56px; margin-top: 42px; border-top: 1px solid var(--ink); padding-top: 32px; }
.quote-grid h2 { font-size: 23px; line-height: 1.4; font-weight: 600; }
.quote-form { min-width: 0; }
.upload-zone { position: relative; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; margin-top: 24px; padding: 30px 20px; border: 1px dashed #7A848D; border-radius: 4px; text-align: center; cursor: pointer; }
.upload-zone.dragging { border-style: solid; border-color: var(--accent); background: #e9edfa; }
.upload-zone svg { width: 28px; height: 28px; }
.upload-zone b { font-size: 16px; font-weight: 500; }
.upload-zone > span { color: var(--muted); font-size: 13px; }
.upload-zone input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.upload-zone:focus-within { outline: 2px solid var(--accent); outline-offset: 4px; }
.file-summary { margin-top: 14px; font-size: 14px; font-weight: 500; overflow-wrap: anywhere; }
.quote-text-btn { border: 0; background: none; padding: 8px 0; color: var(--ink); font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.field-note { font-size: 13px; line-height: 1.65; color: var(--muted); margin-top: 10px; max-width: 55ch; }
.quote-form fieldset { min-width: 0; padding: 0; margin: 26px 0 20px; border: 0; }
.quote-form legend { font-size: 16px; font-weight: 500; margin-bottom: 14px; }
.quote-form fieldset:disabled { opacity: .55; }
.quote-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote-fields label:first-child { grid-column: 1/-1; }
.quote-form label:not(.upload-zone) { display: grid; gap: 7px; font-size: 14px; }
.quote-form select,.quote-form input[type=number] { min-width: 0; width: 100%; height: 44px; padding: 8px 12px; font: inherit; color: var(--ink); background: var(--white); border: 1px solid #7A848D; border-radius: 4px; }
.quote-form .quantity-label { max-width: 180px; }
.quote-actions { margin-top: 26px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.quote-actions .btn { border: 0; font-family: inherit; cursor: pointer; }
.quote-page button:disabled { opacity: .55; cursor: default; }
.quote-error { color: #a42727; background: #fbeeee; font-size: 14px; padding: 14px; margin-top: 18px; border-radius: 4px; }
.quote-results { min-width: 0; border-left: 1px solid var(--line); padding-left: 40px; }
.result-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
#state-label { font-size: 13px; color: var(--muted); }
#result-empty { padding: 74px 0 90px; }
#result-empty svg { width: 48px; height: 48px; stroke-width: 1; color: var(--muted); }
#result-empty h3 { font-size: 28px; line-height: 1.35; margin-top: 22px; font-weight: 500; }
#result-empty p { color: var(--muted); max-width: 32em; margin-top: 16px; font-size: 16px; }
#work-status { padding: 48px 0 80px; }
#work-label { margin-bottom: 20px; font-size: 19px; }
#work-progress { width: 100%; height: 6px; accent-color: var(--accent); }
.quote-price-note { padding-top: 20px; margin-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.result-source { font-size: 13px; color: var(--muted); margin-top: 20px; }
.result-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 28px 0; }
.result-metrics dt { font-size: 14px; color: var(--muted); }
.result-metrics dd { margin: 5px 0 0; font-size: clamp(24px,2.8vw,38px); line-height: 1.3; font-weight: 500; font-variant-numeric: tabular-nums; }
.result-fields { display: grid; grid-template-columns: max-content minmax(0,1fr); gap: 10px 20px; margin: 0; font-size: 14px; }
.result-fields dt { color: var(--muted); }
.result-fields dd { margin: 0; overflow-wrap: anywhere; text-align: right; font-variant-numeric: tabular-nums; }
.result-section { margin-top: 30px; border-top: 1px solid var(--line); padding-top: 22px; }
.result-section h3 { font-size: 17px; font-weight: 500; margin-bottom: 14px; }
.result-plate { padding: 14px 0; border-bottom: 1px solid var(--line); }
.result-plate b { font-size: 15px; font-weight: 500; }
.result-plate p { font-size: 13px; color: var(--muted); margin-top: 8px; }
.result-filaments { list-style: none; padding: 0; margin: 10px 0 0; font-size: 14px; }
.result-filaments li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 5px 0; }
.filament-dot { width: 18px; height: 18px; border: 1px solid #7A848D; border-radius: 3px; flex: none; }
.result-warning { font-size: 14px; padding: 12px; background: #fff4dc; color: #805800; margin-top: 20px; }
.quote-page [hidden] { display: none !important; }
@media (max-width: 999px) { .quote-grid { gap: 32px; } .quote-results { padding-left: 28px; } }
@media (max-width: 767px) { .quote-main { padding-top: 32px; } .quote-grid { grid-template-columns: 1fr; margin-top: 30px; gap: 40px; } .quote-results { padding: 30px 0 0; border-left: 0; border-top: 1px solid var(--ink); } #result-empty { padding: 35px 0; } }
@media (max-width: 399px) { .result-fields { grid-template-columns: 1fr; gap: 4px; } .result-fields dd { text-align: left; margin-bottom: 8px; } .result-metrics { gap: 16px; } }
