/* THE ADDRESS FIELDS OF THE DRAYAGE AND HEAVY-HAUL QUOTES (owner, 2026-11-23, from the Origin / Destination reference): the pin INSIDE the box at its left
   (the same pin on both fields) and an italic placeholder that names the field. NO TITLE ABOVE THE BOX (owner: "these input fields must have no titles
   above them"): the title stays in the markup for a screen reader and the input's label, and is visually hidden. Presentation only: the markup order,
   ids and the script that reads them are unchanged. Tokens only. Also holds the Steamship Line list fixes and the heavy-haul form's row alignment. */

/* ── Address field: one row, pin inside, placeholder names it ── */
#hh-form .hh-inaddr .hh-field.hh-field--stack { row-gap: 0; }
#hh-form .hh-inaddr .hh-field.hh-field--stack > .hh-lab { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
#hh-form .hh-inaddr .hh-field.hh-field--stack > input { grid-area: 1 / 1 / 2 / -1; min-height: 48px; padding: 0 12px 0 32px; }
#hh-form .hh-inaddr .hh-field.hh-field--stack > input::placeholder { font-style: italic; color: var(--muted); opacity: 1; }
#hh-form .hh-inaddr .hh-field.hh-field--stack > .hh-ficon { grid-area: 1 / 1; align-self: center; justify-self: start; margin: 0 0 0 12px; z-index: 1; pointer-events: none; color: var(--ink-soft); }
#hh-form .hh-inaddr .hh-field.hh-field--stack:focus-within > .hh-ficon { color: var(--ink); }

/* ── Heavy-haul, two columns: the address row sits on the same line as Length / Width / Height (the unit switch above them takes 32px), and the estimate
   button runs the whole width of its column, up to the map ── */
@media (min-width: 961px) { #hh-form:has(#hh-origin) .hh-right > .hh-inaddr { margin-top: 8px; } }
#hh-form:has(#hh-origin) .hh-go > #hh-go { width: 100%; min-width: 0; }

/* ── Steamship Line: "Optional" / "Other" have no icon, start at the left edge and are not bold ── */
.dq-hub-o.dq-o-sel.dq-o-lead.dq-o-nolead { grid-template-columns: minmax(0, 1fr) 16px; }
.dq-hub-o.dq-o-sel.dq-o-lead.dq-o-nolead .dq-hub-n { grid-column: 1; }
.dq-hub-o.dq-o-sel.dq-o-lead.dq-o-nolead .dq-ck { grid-column: 2; }
.dq-hub-o.dq-o-sel.dq-o-nolead.is-current .dq-hub-n { font-weight: 400; }
.dq-selfield.dq-has-lead.dq-cur-none:not(.hh-field--icon) > input { padding-left: var(--dq-ssl-x, 14px); }

/* ── The Steamship Line and Terminal lists sit exactly under their field: same left, same right, no 340px minimum pushing them sideways ── */
.dq-termrow .dq-termcell .dq-selfield > ul.dq-hub-list.dq-sel-list { left: 0; right: 0; width: auto; max-width: none; }

/* ── The route map shows no prompt text of its own (a load or map error still shows its message) ── */
.dq-mapph:empty { display: none; }

/* ── Heavy-haul: no big empty band under the map and the button. The report link sits straight under the form and the card closes 8px below it ── */
.qtt-tool:has(#hh-origin) { padding-bottom: 8px; }
.qtt-tool:has(#hh-origin) > .qtt-report { margin-top: 0; }
