.quote-page .title-band {
  background: #f6f6f6;
  color: var(--ink);
}
.quote-page .title-band .container {
  padding-top: 35px;
  padding-bottom: 30px;
}
.quote-page .title-band p {
  color: var(--muted);
}
.quote-page .title-band h1 {
  font-size: clamp(32px, 4vw, 48px);
}
.quote-page .service-notice {
  padding: 15px 20px;
  margin-top: 24px;
  margin-bottom: 24px;
  background: #faf7f7;
  font-size: 13px;
  border-left: 2px solid var(--red);
}
.service-notice p {
  margin-top: 4px;
}
.quote-layout {
  align-items: start;
}
.quote-steps {
  position: static;
  display: flex;
  gap: 0;
  background: none;
  box-shadow: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0;
  margin: 0 0 28px;
}
.quote-steps button {
  flex: 1;
  padding: 14px 8px;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 13px;
  text-align: left;
}
.quote-steps b {
  font-weight: 400;
  margin-right: 8px;
}
.quote-steps [aria-current='step'] {
  border-color: var(--red);
  color: var(--red);
}
.quote-upload {
  border: 1px dashed #c9c9c9;
  background: #fafafa;
  text-align: center;
  padding: 38px 24px;
  margin-bottom: 24px;
}
.quote-upload.drag {
  border-color: var(--red);
  background: #fbf3f3;
}
.quote-upload h2 {
  font-size: 26px;
  margin-bottom: 12px;
}
.quote-upload p {
  font-size: 14px;
  max-width: 450px;
  margin: 0 auto 22px;
}
.quote-upload small {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
}
.part-settings > summary {
  padding: 18px 24px;
  cursor: pointer;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.part-settings .part-spec {
  border: 0;
}
.part-settings legend {
  display: none;
}
.part-top {
  padding: 24px;
}
.part-heading h2 {
  font-size: 20px;
}
.geometry-readout {
  font-size: 12px;
  margin-top: 18px;
  color: var(--muted);
}
.flow-actions {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 26px 0;
}
.flow-actions .button {
  margin-left: auto;
  font-weight: 400;
}
.flow-back {
  background: none;
  border: 0;
  text-decoration: underline;
  font-size: 14px;
}
.quote-page [hidden] {
  display: none !important;
}
.quote-page .summary {
  top: 24px;
}
.quote-page #review-title {
  font-size: 30px;
  margin-bottom: 18px;
}
.review-part {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.review-part h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.review-part p {
  font-size: 14px;
  margin: 5px 0;
}
.review-note {
  font-size: 14px;
  background: #f5f5f5;
  padding: 20px;
  margin-top: 24px;
}
.quote-page #form-status:empty {
  display: none;
}
@media (max-width: 760px) {
  .quote-steps {
    display: flex;
    flex-direction: row;
    left: auto;
    right: auto;
    top: auto;
  }
  .quote-steps button {
    font-size: 11px;
    padding: 12px 4px;
  }
  .quote-steps b {
    display: block;
    margin-bottom: 4px;
  }
  .quote-upload {
    padding: 28px 18px;
  }
  .quote-upload h2 {
    font-size: 25px;
  }
  .flow-actions {
    flex-wrap: wrap;
  }
  .flow-actions .button {
    width: 100%;
    margin-left: 0;
  }
  .flow-back {
    padding: 10px 0;
  }
  .part-settings > summary {
    padding: 16px;
  }
  .quote-page .summary {
    position: static;
  }
  .quote-layout {
    gap: 24px;
  }
  .quote-page .service-notice {
    margin-top: 16px;
    margin-bottom: 16px;
  }
  .geometry-readout {
    overflow-wrap: anywhere;
  }
}
.quote-page .quote-layout {
  padding-top: 0;
}
.quote-page .title-band .container {
  padding-top: 26px;
  padding-bottom: 24px;
}
.quote-page .title-band h1 {
  margin-bottom: 14px;
}
.quote-page .title-band .eyebrow {
  margin-bottom: 14px;
}
.quote-page .service-notice {
  margin-bottom: 20px;
}
.quote-page .review-part {
  overflow-wrap: anywhere;
}

.quote-page .summary .summary-part p.summary-measurement {
  margin: 0;
  padding: 0;
  line-height: 1.4;
}

.quote-page .processes input[type='radio'] {
  width: 14px;
  height: 14px;
  padding: 0;
  min-height: 0;
  border: 0;
  appearance: auto;
  background: transparent;
}

.quote-page .processes label {
  display: block;
}
.quote-page .processes input[type='radio'] {
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  margin: 0;
}
.quote-page .processes input[type='radio'] + span {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 11px 14px 11px 40px;
  line-height: 1.5;
}

.quote-page .documentation-options {
  border: 0;
  padding: 20px 0 0;
  margin: 0;
  min-width: 0;
}
.quote-page .documentation-options legend {
  float: none;
  width: auto;
  font-size: 14px;
  padding: 0;
  margin: 0 0 10px;
}
.quote-page .documentation-options .field-help {
  margin: 0 0 14px;
}
.quote-page .documentation-options label {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin: 0;
  cursor: pointer;
}
.quote-page .documentation-options input[type='checkbox'] {
  appearance: auto;
  position: static;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 0;
  padding: 0;
  accent-color: var(--red);
}
.quote-page .documentation-options label span {
  font-size: 14px;
  line-height: 1.5;
}

.quote-page .summary-material-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.quote-page .summary-material-label {
  min-width: 0;
}
.quote-page .summary-material-total {
  flex-shrink: 0;
  white-space: nowrap;
  text-align: right;
}

.quote-page .documentation-choice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.quote-page .documentation-options .documentation-upload {
  display: block;
  padding: 8px 0;
  cursor: default;
}
@media (max-width: 650px) {
  .quote-page .documentation-choice {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.quote-page .material-choice {
  border: 0;
  padding: 0;
  margin: 0 0 18px;
  min-width: 0;
}
.quote-page .material-choice legend {
  float: none;
  width: auto;
  padding: 0;
  margin: 0 0 10px;
  font-size: 14px;
}
.quote-page .material-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.quote-page .material-buttons button {
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid #d8d5d5;
  border-radius: 3px;
  background: #fff;
  color: var(--ink, #252525);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.quote-page .material-buttons button[aria-pressed='true'] {
  border-color: var(--red);
  color: var(--red);
  background: #fff5f5;
}
.quote-page .material-buttons button:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.quote-page .extras-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 24px;
}
@media (max-width: 520px) {
  .quote-page .extras-columns {
    grid-template-columns: 1fr;
  }
}

.quote-page .summary-additions {
  margin-top: 10px;
}
.quote-page .summary-files {
  margin-top: 12px;
}
.quote-page .summary-files h3 {
  font-family: inherit;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0;
  margin: 0 0 4px;
}
.quote-page .summary-files ul {
  list-style: none;
  margin: 0;
  padding: 0 0 0 12px;
}
.quote-page .summary-files li {
  font-size: 11px;
  line-height: 1.6;
  margin: 0;
  overflow-wrap: anywhere;
}
.quote-page .summary-files .missing-file {
  color: var(--muted);
}

.quote-page .upload-button,
.quote-page .drawing-upload .upload-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  padding: 11px 18px;
  margin: 8px 0;
  border: 1px solid var(--red);
  border-radius: 3px;
  background: var(--red);
  color: #fff;
  cursor: pointer;
  overflow: hidden;
}
.quote-page .upload-button [data-upload-caption],
.quote-page .upload-button [data-bulk-caption] {
  display: block;
  font: inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: #fff;
  overflow-wrap: anywhere;
  text-align: center;
  max-width: 100%;
  margin: 0;
}
.quote-page .upload-button input[type='file'] {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}
.quote-page .upload-button:hover {
  background: #a01518;
}
.quote-page .upload-button:focus-within {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* Align specification uploads with adjacent select controls; leave the top upload area unchanged. */
.quote-page .drawing-upload .upload-button {
  height: 47px;
  min-height: 47px;
  width: 100%;
  margin: 7px 0 0;
  padding: 11px 12px;
  border-radius: 3px;
}
.quote-page .drawing-upload .upload-button [data-upload-caption] {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}
.quote-page .drawing-upload > .field-help {
  display: block;
  margin: 5px 0 0;
  padding: 0;
  color: #777;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
}

.quote-page .drawing-upload,
.quote-page .documentation-options .documentation-upload {
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0;
  font-family: inherit;
  cursor: default;
}
.quote-page .drawing-upload > .upload-title {
  display: block;
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: 21.45px;
  color: var(--ink);
  margin: 0;
  padding: 0;
  letter-spacing: normal;
}
.quote-page .drawing-upload > .field-help,
.quote-page .documentation-options .drawing-upload > .field-help {
  display: block;
  margin: 5px 0 0;
  padding: 0;
  color: #777;
  font-family: inherit;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: normal;
}
.quote-page .drawing-upload .upload-button [data-upload-caption] {
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: 19.5px;
}
