#mt-freight-quote {
  color-scheme: light;
  --ink: #182f39;
  --muted: #4e6972;
  --teal: #087587;
  --teal-dark: #065968;
  --line: #c8d9db;
  --mist: #edf7f6;
  font-family: Arial, sans-serif;
  background: #f2f7f6;
  color: var(--ink);
}

#mt-freight-quote *, #mt-freight-quote *::before, #mt-freight-quote *::after { box-sizing: border-box; }
#mt-freight-quote [hidden] { display: none !important; }
#mt-freight-quote button, #mt-freight-quote input, #mt-freight-quote select { font: inherit; }
#mt-freight-quote button { cursor: pointer; }
#mt-freight-quote button:disabled { cursor: default; }
#mt-freight-quote input[type="checkbox"], #mt-freight-quote input[type="radio"] { accent-color: var(--teal); }

#mt-freight-quote :focus-visible {
  outline: 2px solid var(--teal-dark);
  outline-offset: 3px;
}





#mt-freight-quote {
  min-width: 0;
  padding: clamp(20px, 2.6vw, 30px);
  border: 1px solid #d7e5e5;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 40px #14384408;
  scroll-margin-top: 128px;
}

#mt-freight-quote .quote-title, #mt-freight-quote .confirmation h2, #mt-freight-quote p { margin: 0; }
#mt-freight-quote .quote-title {
  max-width: 610px;
  font-size: clamp(29px, 4vw, 43px);
  line-height: 1.06;
  letter-spacing: -.035em;
}

#mt-freight-quote .confirmation h2 { font-size: 25px; line-height: 1.15; letter-spacing: -.022em; }
#mt-freight-quote .intro { margin-top: 10px; color: var(--muted); line-height: 1.5; }
#mt-freight-quote fieldset { margin: 0; padding: 0; min-width: 0; border: 0; }
#mt-freight-quote .section { margin-top: 21px; }
#mt-freight-quote .section legend { padding: 0; margin-bottom: 10px; font-size: 17px; font-weight: 700; }
#mt-freight-quote .modes, #mt-freight-quote .grid { display: grid; gap: 9px; }
#mt-freight-quote .modes, #mt-freight-quote .three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#mt-freight-quote .two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

#mt-freight-quote .mode {
  display: grid;
  grid-template-columns: 30px 1fr;
  grid-template-rows: 28px auto;
  align-items: center;
  gap: 7px 8px;
  min-width: 0;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #f8fbfb;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

#mt-freight-quote .mode:has(input:checked) { border-color: var(--teal); background: #e7f6f5; color: var(--teal-dark); }
#mt-freight-quote .mode input { grid-column: 2; grid-row: 1; justify-self: end; width: 17px; height: 17px; margin: 0; }
#mt-freight-quote .mode svg { grid-column: 1; grid-row: 1; width: 27px; fill: none; stroke: var(--teal); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
#mt-freight-quote .mode span { grid-column: 1 / -1; }

#mt-freight-quote .route-grid { display: grid; grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr); align-items: end; gap: 9px; }
#mt-freight-quote .field { display: block; min-width: 0; font-size: 14px; font-weight: 700; }
#mt-freight-quote .field :is(input, select) {
  display: block;
  width: 100%;
  min-width: 0;
  height: 45px;
  margin-top: 6px;
  padding: 8px 11px;
  border: 1px solid #b8cdcf;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
}

#mt-freight-quote .field select { padding-right: 9px; }
#mt-freight-quote .field input::placeholder { color: #627981; }
#mt-freight-quote .date-field { grid-column: 1 / -1; max-width: 260px; }
#mt-freight-quote .optional { margin-left: 4px; color: var(--muted); font-size: 12px; font-weight: 400; }
#mt-freight-quote .swap, #mt-freight-quote .stepper button {
  height: 45px;
  border: 1px solid #c7e2e2;
  border-radius: 9px;
  background: var(--mist);
  color: var(--teal-dark);
  font-size: 22px;
}

#mt-freight-quote .parameters {
  padding: 0 14px 14px;
  border: 1px solid #d6e7e7;
  border-radius: 14px;
  background: #f6fbfb;
}

#mt-freight-quote .parameters legend { padding: 0 5px; margin-left: -5px; }
#mt-freight-quote .truck-option { margin-top: 11px; }
#mt-freight-quote .hint { color: var(--muted); font-size: 13px; line-height: 1.48; }
#mt-freight-quote .parameters > .hint:first-of-type { margin-bottom: 9px; }
#mt-freight-quote .parameters > .volume-hint { margin-top: 9px; margin-bottom: 0; }
#mt-freight-quote .stepper { display: grid; grid-template-columns: 34px minmax(0, 1fr) 34px; margin-top: 6px; }
#mt-freight-quote .stepper button { padding: 0; }
#mt-freight-quote .stepper button:first-child { border-radius: 9px 0 0 9px; }
#mt-freight-quote .stepper button:last-child { border-radius: 0 9px 9px 0; }
#mt-freight-quote .stepper input {
  appearance: textfield;
  text-align: center;
  margin: 0;
  padding: 0 4px;
  border-inline: 0;
  border-radius: 0;
}
#mt-freight-quote .stepper input::-webkit-inner-spin-button { appearance: none; }
#mt-freight-quote .checks { display: flex; flex-wrap: wrap; gap: 11px 16px; }
#mt-freight-quote .check { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; line-height: 1.4; }
#mt-freight-quote .check input { flex: 0 0 18px; width: 18px; height: 18px; margin: 0; }
#mt-freight-quote .insurance-value { max-width: 260px; margin-top: 10px; }
#mt-freight-quote .extras .hint { margin-top: 8px; }
#mt-freight-quote .documents-hint, #mt-freight-quote .container-hint { margin-top: 8px; }
#mt-freight-quote .consent { margin: 14px 0 13px; color: var(--muted); font-size: 13px; }
#mt-freight-quote .consent a { color: var(--teal-dark); text-decoration: underline; }

#mt-freight-quote .primary, #mt-freight-quote .secondary {
  min-height: 45px;
  padding: 8px 15px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-weight: 700;
}

#mt-freight-quote .primary { width: 100%; background: var(--teal); color: #fff; }
#mt-freight-quote .primary:hover { background: var(--teal-dark); }
#mt-freight-quote .primary:disabled { background: #32656c; }
#mt-freight-quote .secondary { border-color: #bad6d7; background: #f3fbfa; color: var(--teal-dark); font-size: 14px; }
#mt-freight-quote .secondary:hover { background: #e5f3f3; }
#mt-freight-quote .secondary:disabled { opacity: .65; }
#mt-freight-quote .after-submit { margin-top: 8px; }
#mt-freight-quote .send-status { margin-top: 9px; color: var(--teal-dark); font-size: 14px; }
#mt-freight-quote .send-status:empty { margin: 0; }
#mt-freight-quote .send-status[data-state="error"] { color: #922f23; }

#mt-freight-quote .stage-next { margin-top: 22px; }
#mt-freight-quote .wizard-panel { margin-top: 0; }
#mt-freight-quote .wizard-panel > .wizard-title { padding: 0; margin-bottom: 12px; font-size: clamp(29px, 4vw, 43px); font-weight: 700; line-height: 1.06; letter-spacing: -.035em; }
#mt-freight-quote .field input { scroll-margin-top: 140px; }
#mt-freight-quote .wizard-intro { color: var(--muted); line-height: 1.55; }
#mt-freight-quote .company-links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 14px; }
#mt-freight-quote .company-links a { color: var(--teal-dark); font-size: 14px; text-underline-offset: 3px; }
#mt-freight-quote .privacy-choice { margin-top: 20px; padding: 14px; border: 1px solid #94c9cb; border-radius: 12px; background: #edf7f6; color: var(--teal-dark); font-weight: 700; }
#mt-freight-quote .private-panel > legend { font-size: 21px; line-height: 1.25; font-weight: 700; margin-bottom: 10px; }
#mt-freight-quote .private-channels { margin-top: 15px; }
#mt-freight-quote .privacy-return { margin-top: 20px; color: var(--muted); font-size: 14px; line-height: 1.5; }
#mt-freight-quote .email-hint { margin-top: 8px; }
#mt-freight-quote .channels-hint { margin-top: 9px; }
#mt-freight-quote .copy-panel .primary { margin-top: 14px; }
#mt-freight-quote .copy-panel .hint { margin-top: 9px; }
#mt-freight-quote .copy-fallback textarea { display: block; width: 100%; margin-top: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); font: inherit; font-weight: 400; }
#mt-freight-quote .request-summary { display: grid; gap: 0; margin: 20px 0; padding: 0 18px; border: 1px solid var(--line); border-radius: 15px; background: #f6fbfb; }
#mt-freight-quote .request-summary > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
#mt-freight-quote .request-summary > div:last-child { border-bottom: 0; }
#mt-freight-quote .request-summary dt { margin-bottom: 5px; color: var(--muted); font-size: 13px; }
#mt-freight-quote .request-summary dd { margin: 0; color: var(--ink); font-size: 16px; font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
#mt-freight-quote .wizard-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 10px; }
#mt-freight-quote .document-notice { margin-top: 16px; padding: 14px; border-left: 3px solid var(--teal); border-radius: 0 12px 12px 0; background: var(--mist); color: var(--ink); line-height: 1.5; }
#mt-freight-quote .channel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
#mt-freight-quote .channel-option { display: flex; align-items: center; gap: 9px; min-height: 48px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #f8fbfb; color: var(--ink); cursor: pointer; }
#mt-freight-quote .channel-option input { width: 18px; height: 18px; margin: 0; flex: 0 0 18px; }
#mt-freight-quote .channel-option:has(input:checked) { border-color: var(--teal); background: #e7f6f5; box-shadow: inset 0 0 0 1px var(--teal); }
#mt-freight-quote .text-button { display: block; margin-top: 18px; padding: 5px 0; border: 0; background: transparent; color: var(--teal-dark); text-align: left; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }

/* Readable form surfaces, shared by desktop and mobile. */
#mt-freight-quote { --ink: #172e3a; --muted: #465e6c; --line: #b4c6d1; --mist: #eaf2f9; background: #f2f5f8; }
#mt-freight-quote .quote-title, #mt-freight-quote .wizard-panel > .wizard-title { font-size: clamp(26px, 3vw, 36px); line-height: 1.18; letter-spacing: -.025em; }
#mt-freight-quote .intro, #mt-freight-quote .wizard-intro { color: #3e5361; font-size: 16px; line-height: 1.55; }
#mt-freight-quote .section { margin-top: 20px; padding: 20px; border: 0; border-radius: 14px; background: #fff; }
#mt-freight-quote .section > legend { float: left; display: block; width: 100%; max-width: 100%; padding: 0; margin: 0 0 16px; border: 0; color: #172e3a; font-size: 20px; line-height: 1.3; letter-spacing: -.015em; }
#mt-freight-quote .section > legend + * { clear: both; }
#mt-freight-quote .mode-section { background: #fff; }
#mt-freight-quote .modes { gap: 12px; }
#mt-freight-quote .mode { grid-template-columns: 32px minmax(0, 1fr) 20px; grid-template-rows: auto; gap: 10px; min-height: 66px; padding: 14px 12px; border-color: #b4c6d1; border-radius: 10px; background: #fff; color: #253d4c; font-size: 16px; line-height: 1.3; }
#mt-freight-quote .mode svg { grid-column: 1; grid-row: 1; width: 30px; }
#mt-freight-quote .mode span { grid-column: 2; grid-row: 1; overflow-wrap: normal; word-break: normal; }
#mt-freight-quote .mode input { grid-column: 3; grid-row: 1; width: 20px; height: 20px; }
#mt-freight-quote .mode:has(input:checked), #mt-freight-quote .channel-option:has(input:checked) { background: #e8f3fa; border-color: #087587; box-shadow: inset 0 0 0 1px #087587; color: #123f50; }
#mt-freight-quote .parameters { padding: 20px; border: 0; border-radius: 14px; background: #fff; }
#mt-freight-quote .parameters legend { margin-left: 0; }
#mt-freight-quote .parameters > .hint:first-of-type { margin-bottom: 16px; }
#mt-freight-quote .field { color: #203b4b; font-size: 15px; line-height: 1.4; }
#mt-freight-quote .field :is(input, select) { min-height: 50px; height: 50px; margin: 8px 0 0; padding: 10px 12px; border-color: #96afbf; border-radius: 8px; background: #fff; color: #172e3a; font-size: 16px; box-shadow: none; }
#mt-freight-quote .field input::placeholder { color: #60717d; opacity: 1; }
#mt-freight-quote .field :is(input, select):focus { border-color: #087587; box-shadow: 0 0 0 3px #0875871c; outline: 0; }
#mt-freight-quote .grid { gap: 16px; }
#mt-freight-quote .grid.three { align-items: end; }
#mt-freight-quote .grid.three > .field { display: grid; grid-template-rows: minmax(22px, auto) 50px; align-items: end; row-gap: 8px; }
#mt-freight-quote .grid.three .field > input, #mt-freight-quote .grid.three .stepper { margin-top: 0; }
#mt-freight-quote .grid.three .field > label { align-self: end; }
#mt-freight-quote .hint { color: #465e6c; font-size: 14px; line-height: 1.5; }
#mt-freight-quote .optional { display: inline-block; font-size: 13px; color: #526777; }
#mt-freight-quote .route-grid { gap: 16px 10px; }
#mt-freight-quote .swap, #mt-freight-quote .stepper button { height: 50px; border-color: #96afbf; background: #e5eef5; color: #095f79; }
#mt-freight-quote .swap { margin: 0; align-self: end; }
#mt-freight-quote .route-grid > .field { margin: 0; }
#mt-freight-quote .field .stepper { height: 50px; align-items: stretch; }
#mt-freight-quote .field .stepper input { height: 100%; min-height: 0; margin: 0; padding: 0 4px; border-inline: 0; border-radius: 0; }
#mt-freight-quote .field .stepper button { height: 100%; margin: 0; padding: 0; }
#mt-freight-quote .date-field { max-width: none; }
#mt-freight-quote .checks { gap: 12px; }
#mt-freight-quote .check { color: #203b4b; font-size: 16px; line-height: 1.45; }
#mt-freight-quote .check input, #mt-freight-quote .channel-option input { width: 21px; height: 21px; flex-basis: 21px; margin-top: 1px; }
#mt-freight-quote .extras .checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
#mt-freight-quote .extras .hint { margin-top: 16px; }
#mt-freight-quote .truck-option { margin-top: 18px; }
#mt-freight-quote .truck-help { margin-top: 12px; }
#mt-freight-quote .primary, #mt-freight-quote .secondary { min-height: 50px; padding: 12px 18px; border-radius: 9px; font-size: 16px; line-height: 1.35; }
#mt-freight-quote .secondary { background: #fff; border-color: #91adbd; color: #105b76; }
#mt-freight-quote .primary:focus-visible, #mt-freight-quote .secondary:focus-visible { outline-offset: 4px; }
#mt-freight-quote .stage-next { margin-top: 24px; }
#mt-freight-quote .channel-grid { gap: 12px; }
#mt-freight-quote .channel-option { min-height: 54px; padding: 14px; border-color: #b4c6d1; border-radius: 9px; background: #fff; color: #253d4c; font-size: 16px; line-height: 1.4; }
#mt-freight-quote .privacy-choice { margin-top: 20px; padding: 16px; border: 1px solid #d2b370; border-radius: 10px; background: #fff5df; color: #4c3b1f; }
#mt-freight-quote .private-panel > legend { font-size: 23px; }
#mt-freight-quote .section > .channels-hint { margin: 0 0 14px; }
#mt-freight-quote .private-panel .section { padding: 0; background: transparent; border-radius: 0; }
#mt-freight-quote .privacy-return { margin-top: 24px; padding: 16px; border: 1px solid #d2b370; border-radius: 10px; background: #fff5df; color: #4c3b1f; font-size: 14px; line-height: 1.6; }
#mt-freight-quote .privacy-return-action { display: inline; padding: 0; border: 0; background: transparent; color: #5c4418; font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
#mt-freight-quote .section.extras, #mt-freight-quote .section.documents { background: #fff; }
#mt-freight-quote .optional-section > summary { display: flex; align-items: center; gap: 12px; min-height: 28px; padding: 0; color: #172e3a; font-size: 19px; font-weight: 700; line-height: 1.4; list-style: none; cursor: pointer; }
#mt-freight-quote .optional-section > summary::-webkit-details-marker { display: none; }
#mt-freight-quote .optional-section > summary::after { content: '+'; flex: 0 0 24px; margin-left: auto; color: #12658b; font-size: 24px; text-align: center; font-weight: 400; }
#mt-freight-quote .optional-section[open] > summary::after { content: '−'; }
#mt-freight-quote .optional-fields { margin-top: 18px; }
#mt-freight-quote .selection-count { color: #465e6c; font-size: 13px; font-weight: 400; }
#mt-freight-quote .selection-count:empty { display: none; }
#mt-freight-quote .extras > legend, #mt-freight-quote .documents > legend { font-size: 18px; }
#mt-freight-quote .extras .check, #mt-freight-quote .documents .check { font-size: 15px; }
#mt-freight-quote .documents-hint { margin-top: 16px; }
#mt-freight-quote .volume-reset { margin-top: 9px; min-height: 36px; padding: 7px 12px; border: 1px solid #96afbf; border-radius: 18px; background: #fff; color: #24516b; font-size: 14px; line-height: 1.4; }
#mt-freight-quote .container-specs { margin-top: 20px; padding-top: 18px; border-top: 1px solid #d8e3e9; }
#mt-freight-quote .container-dimensions { display: grid; gap: 16px; margin: 0; }
#mt-freight-quote .container-specs dt { color: #465e6c; font-size: 14px; line-height: 1.5; }
#mt-freight-quote .container-specs dd { margin: 5px 0 0; color: #153e4e; font-size: 17px; font-weight: 700; line-height: 1.45; }
#mt-freight-quote .container-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
#mt-freight-quote .container-facts > div { padding: 14px; border: 1px solid #bfd7df; border-radius: 10px; background: #fff; }
#mt-freight-quote .container-facts dd { color: #087587; font-size: 19px; }
#mt-freight-quote .container-note { margin-top: 18px; padding: 12px 15px; border-left: 3px solid #087587; background: #f0f8fa; color: #254b64; font-size: 14px; line-height: 1.55; }
#mt-freight-quote .container-note .hint { margin-top: 8px; font-size: 13px; }
#mt-freight-quote .cargo-field { position: relative; margin-bottom: 16px; }
#mt-freight-quote .cargo-picker { position: relative; margin-top: 8px; }
#mt-freight-quote .cargo-picker > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 50px; padding: 10px 12px; border: 1px solid #96afbf; border-radius: 8px; background: #fff; color: #172e3a; font-size: 16px; font-weight: 400; line-height: 1.4; list-style: none; cursor: pointer; }
#mt-freight-quote .cargo-picker > summary::-webkit-details-marker { display: none; }
#mt-freight-quote .cargo-picker > summary::after { content: '⌄'; color: #12658b; }
#mt-freight-quote .cargo-popup { position: absolute; z-index: 10; top: calc(100% + 6px); left: 0; right: 0; padding: 12px; border: 1px solid #96afbf; border-radius: 10px; background: #fff; box-shadow: 0 8px 24px #18384c24; }
#mt-freight-quote .cargo-popup .field { color: #465e6c; font-size: 13px; }
#mt-freight-quote .cargo-popup #cargo-choices { width: 100%; height: 260px; margin-top: 8px; padding: 0; border: 0; border-radius: 0; background: #fff; color: #172e3a; font-size: 16px; }
#mt-freight-quote .cargo-popup option { padding: 10px 8px; }
#mt-freight-quote .cargo-list { max-height: 270px; margin-top: 8px; overflow-y: auto; overscroll-behavior: contain; }
#mt-freight-quote .cargo-option { display: block; width: 100%; min-height: 44px; padding: 10px 12px; border: 0; border-left: 3px solid transparent; border-radius: 6px; background: #fff; color: #172e3a; text-align: left; font: inherit; font-size: 15px; font-weight: 400; line-height: 1.4; cursor: pointer; }
#mt-freight-quote .cargo-option:hover, #mt-freight-quote .cargo-option:focus-visible { border-left-color: #087587; background: #e6f2f8; color: #064e62; outline: 0; }
#mt-freight-quote .cargo-option[aria-selected="true"] { background: #dceef4; color: #064e62; font-weight: 700; }
#mt-freight-quote .cargo-picker[open] > summary { border-color: #087587; box-shadow: 0 0 0 2px #0875871c; }
#mt-freight-quote .volume-warning { margin-top: 12px; padding: 12px 14px; border-left: 3px solid #bb751a; border-radius: 0 8px 8px 0; background: #fff5df; color: #654619; font-size: 14px; line-height: 1.5; }
#mt-freight-quote .request-summary { margin: 20px 0; padding: 4px 20px; border: 0; border-radius: 12px; background: #fff; }
#mt-freight-quote .request-summary > div { display: grid; grid-template-columns: minmax(140px, .65fr) minmax(0, 1.35fr); gap: 16px; padding: 16px 0; border-color: #dae3ea; }
#mt-freight-quote .request-summary dt { margin: 0; color: #465e6c; font-size: 15px; line-height: 1.5; }
#mt-freight-quote .request-summary dd { color: #172e3a; font-size: 16px; line-height: 1.5; }
#mt-freight-quote .document-notice, #mt-freight-quote .email-hint { padding: 14px 16px; border: 0; border-left: 3px solid #2b7ca5; border-radius: 0 8px 8px 0; background: #fff; color: #254b64; font-size: 14px; line-height: 1.55; }
#mt-freight-quote .consent { margin: 20px 0; color: #465e6c; font-size: 14px; line-height: 1.5; }
#mt-freight-quote .consent a, #mt-freight-quote .text-button { color: #12658b; }
#mt-freight-quote .text-button { min-height: 44px; margin-top: 20px; padding: 10px 0; font-size: 15px; line-height: 1.4; }
#mt-freight-quote .copy-instructions { display: grid; gap: 14px; margin: 16px 0 10px; padding: 18px 18px 18px 46px; border: 0; border-radius: 10px; background: #eaf2f9; color: #254b64; font-size: 16px; line-height: 1.5; list-style: decimal; }
#mt-freight-quote .copy-instructions li { padding-left: 3px; }
#mt-freight-quote .copy-instructions li::marker { color: #12658b; font-weight: 700; }
#mt-freight-quote .copy-panel > p:first-child { font-size: 19px; color: #172e3a; }
#mt-freight-quote .company-links { margin-top: 20px; }
#mt-freight-quote .company-links a { display: inline-flex; align-items: center; min-height: 48px; padding: 11px 16px; border: 1px solid #91adbd; border-radius: 9px; background: #fff; color: #12658b; font-size: 16px; line-height: 1.4; text-decoration: none; }
#mt-freight-quote .company-links a:hover { background: #edf3f9; }
#mt-freight-quote .channel-destination { margin-top: 16px; padding: 14px 16px; border: 1px solid #d0dae1; border-radius: 9px; background: #fff; }
#mt-freight-quote .channel-destination .company-links { margin: 0; }
#mt-freight-quote .channel-destination .company-links a { width: auto; min-height: 32px; padding: 0; border: 0; border-radius: 0; color: #12658b; font-weight: 700; }
#mt-freight-quote .channel-destination .hint { margin-top: 5px; }
#mt-freight-quote .send-status:not(:empty) { padding: 14px; border-radius: 9px; background: #e7f3ed; color: #20583f; }
#mt-freight-quote .send-status[data-state="error"] { background: #fff0eb; color: #8c3023; }
#mt-freight-quote .confirmation { margin-top: 0; padding: 0; border: 0; background: transparent; }
#mt-freight-quote .success-mark { width: 48px; height: 48px; background: #d9f0df; color: #26753d; font-size: 26px; }

@media (max-width: 700px) {
  #mt-freight-quote .route-grid { grid-template-columns: minmax(0, 1fr); }
  #mt-freight-quote .route-grid .swap { display: none; }
  #mt-freight-quote .extras .checks { grid-template-columns: minmax(0, 1fr); }
  #mt-freight-quote .two { grid-template-columns: minmax(0, 1fr); }
  #mt-freight-quote .modes { grid-template-columns: minmax(0, 1fr); }
  #mt-freight-quote .mode { min-height: 54px; grid-template-columns: 30px minmax(0, 1fr) 21px; padding: 12px 14px; font-size: 16px; }
  #mt-freight-quote .channel-grid.private-channels { grid-template-columns: minmax(0, 1fr); }
}

#mt-freight-quote .confirmation { margin-top: 0; padding: 0; border: 0; background: transparent; }
#mt-freight-quote .success-mark { width: 48px; height: 48px; background: #d9f0df; color: #26753d; font-size: 26px; }

@media (max-width: 700px) {
  #mt-freight-quote .route-grid { grid-template-columns: minmax(0, 1fr); }
  #mt-freight-quote .route-grid .swap { display: none; }
  #mt-freight-quote .extras .checks { grid-template-columns: minmax(0, 1fr); }
  #mt-freight-quote .two { grid-template-columns: minmax(0, 1fr); }
  #mt-freight-quote .modes { grid-template-columns: minmax(0, 1fr); }
  #mt-freight-quote .mode { min-height: 54px; grid-template-columns: 30px minmax(0, 1fr) 21px; padding: 12px 14px; font-size: 16px; }
  #mt-freight-quote .channel-grid.private-channels { grid-template-columns: minmax(0, 1fr); }
}

#mt-freight-quote .test-card { padding: 23px; background: #f8fcfc; }
#mt-freight-quote .test-label { display: inline-block; margin-bottom: 10px; color: var(--teal-dark); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
#mt-freight-quote .test-card > p { margin: 10px 0 17px; color: var(--muted); font-size: 14px; line-height: 1.52; }
#mt-freight-quote .test-controls { display: grid; gap: 9px; }
#mt-freight-quote .test-result { margin-top: 16px; padding-top: 13px; border-top: 1px solid #d6e7e7; }
#mt-freight-quote .result-status { margin-bottom: 11px; color: var(--teal-dark); font-weight: 700; font-size: 13px; }
#mt-freight-quote .test-result dl { display: grid; gap: 7px; margin: 0 0 10px; font-size: 14px; }
#mt-freight-quote .test-result dl div { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 5px; }
#mt-freight-quote .test-result dt { color: var(--muted); }
#mt-freight-quote .test-result dd { margin: 0; overflow-wrap: anywhere; }
#mt-freight-quote .comment-label { font-size: 13px; font-weight: 700; }
#mt-freight-quote .test-result pre {
  margin: 6px 0 0;
  padding: 11px;
  border: 1px solid #d6e7e7;
  border-radius: 9px;
  background: #fff;
  font: 13px/1.48 Arial, sans-serif;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

#mt-freight-quote .confirmation { display: grid; justify-items: center; gap: 14px; width: 100%; max-width: 720px; margin: 0 auto; padding: 24px; border: 0; border-radius: 15px; background: #fff; text-align: center; }
#mt-freight-quote .confirmation p { margin: 0; color: var(--muted); line-height: 1.55; }
#mt-freight-quote .confirmation-details { display: grid; gap: 12px; width: 100%; padding: 16px; border-radius: 10px; background: #edf6f7; text-align: left; }
#mt-freight-quote .confirmation-details p { display: flex; align-items: baseline; gap: 10px; color: #254b64; font-size: 14px; }
#mt-freight-quote .confirmation-details span { color: #087587; font-weight: 700; }
#mt-freight-quote .success-mark { display: inline-grid; place-items: center; width: 50px; height: 50px; margin-bottom: 0; border-radius: 50%; color: #18724c; background: #d9f0e4; font-size: 27px; font-weight: 700; }

@media (min-width: 1100px) {
  #mt-freight-quote .route-grid { grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr) minmax(190px, .9fr); }
  #mt-freight-quote .date-field { grid-column: auto; }
}

@media (max-width: 850px) {
}

@media (max-width: 480px) {
  #mt-freight-quote { padding: 18px 12px; border: 0; border-radius: 0; box-shadow: none; }
  #mt-freight-quote { background: #f2f5f8; }
  #mt-freight-quote .quote-title, #mt-freight-quote .wizard-panel > .wizard-title { font-size: 26px; }
  #mt-freight-quote [data-stage] > .section { margin: 12px -12px 0; padding: 16px 12px; border-radius: 0; background: #fff; }
  #mt-freight-quote [data-stage] > .mode-section, #mt-freight-quote [data-stage] > .extras { background: #fff; }
  #mt-freight-quote [data-stage] > .parameters { background: #fff; }
  #mt-freight-quote .section > legend { font-size: 21px; }
  #mt-freight-quote .mode svg { width: 28px; }
  #mt-freight-quote .route-grid { grid-template-columns: minmax(0, 1fr) 37px; }
  #mt-freight-quote .route-grid label[for="to"] { grid-column: 1 / -1; }
  #mt-freight-quote .route-grid { grid-template-columns: minmax(0, 1fr); }
  #mt-freight-quote .route-grid .swap { display: none; }
  #mt-freight-quote .two { grid-template-columns: minmax(0, 1fr); }
  #mt-freight-quote .three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #mt-freight-quote .grid.three { gap: 12px; }
  #mt-freight-quote .grid.three > .field { grid-template-rows: minmax(42px, auto) 48px; }
  #mt-freight-quote .field { font-size: 15px; }
  #mt-freight-quote .field :is(input, select) { height: 48px; min-height: 48px; padding-inline: 10px; }
  #mt-freight-quote .swap, #mt-freight-quote .stepper button { height: 48px; }
  #mt-freight-quote .field .stepper { height: 48px; }
  #mt-freight-quote .parameters { padding-inline: 12px; }
  #mt-freight-quote .wizard-actions { grid-template-columns: minmax(0, 1fr); }
  #mt-freight-quote .wizard-actions .primary { grid-row: 1; }
  #mt-freight-quote .channel-option { font-size: 16px; padding: 12px; }
  #mt-freight-quote .private-panel .section { margin-inline: 0; padding: 0; }
  #mt-freight-quote .request-summary { margin-inline: -12px; padding-inline: 12px; border-radius: 0; background: #fff; }
  #mt-freight-quote .request-summary > div { grid-template-columns: minmax(0, 1fr); gap: 5px; }
  #mt-freight-quote .privacy-choice { padding: 15px 12px; }
  #mt-freight-quote .privacy-return { padding: 15px 12px; }
  #mt-freight-quote .company-links, #mt-freight-quote .company-links a { width: 100%; }
  #mt-freight-quote .confirmation { margin: 0 auto; padding: 20px 14px; }
}

@media (max-width: 340px) {
  #mt-freight-quote .container-facts { grid-template-columns: minmax(0, 1fr); }
}

#moving-request:has(> #mt-freight-quote) { scroll-margin-top: 110px; }

/* Only the form wrapper: neighbouring page sections retain their layout. */
#freight-calculator-page #fc-request.cl-request { padding: 32px; background: #f2f5f8; }
#fc-request #mt-freight-quote { padding: 0; border: 0; border-radius: 0; box-shadow: none; background: #f2f5f8; }
#mt-freight-quote .quote-title, #mt-freight-quote .wizard-title { margin-top: 0; padding-top: 0; border: 0; color: #172e3a; font-size: clamp(26px, 3vw, 36px); line-height: 1.18; }
#freight-calculator-page #fc-request #moving-request { min-height: 0; background: transparent; }
#mt-freight-quote .confirmation { margin: 0 auto; padding: 24px; border: 0; background: #fff; }
#freight-calculator-page .cl-hero-cta-mobile { display: none; }
@media (max-width: 700px) {
  #freight-calculator-page.cl-page:has(#mt-freight-quote) { overflow: visible; }
  #freight-calculator-page #fc-request.cl-request { margin-inline: -15px; padding: 0; width: calc(100% + 30px); border: 0; border-radius: 0; }
  #fc-request #moving-request { padding: 0; border: 0; border-radius: 0; }
  #fc-request #mt-freight-quote { padding: 18px 12px; border: 0; border-radius: 0; background: #f2f5f8; }
  #mt-freight-quote .confirmation { padding: 20px 14px; }
  #freight-calculator-page .cl-hero-cta-desktop { display: none; }
  #freight-calculator-page .cl-hero-cta-mobile { display: inline; }
}
