/* 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; }

/* ── Heavy-haul address fields: the LETTERED PIN at the start of each box (owner, 2026-12-01) ──
   Pickup = "A", Delivery = "B": the same teardrops as the map's pins (heavyHaulQuote.ts `letteredPinIcon`, the path is drayage-pin-icons.js's). Before an address
   is chosen the pin is an OUTLINE in the muted ink, so the visitor learns which letter is which end; once heavy-haul-address-pins.js marks the field
   data-pin="set" it fills in the map's own blue (A) or red (B), the tokens --qf-pin-a / --qf-pin-b (drayage-pin-tokens.css), with the map pin's halo and disc
   (--dq-pin-halo), which are the same in light and dark on purpose. State is CSS only, so the server markup is right before any script runs. */
#hh-form .hh-inaddr .hh-field.hh-field--stack > .hh-ficon.hh-ficon--pin { width: 16px; height: 21px; margin-left: 12px; overflow: visible; color: var(--muted); }
#hh-form .hh-inaddr .hh-field.hh-field--stack:focus-within > .hh-ficon.hh-ficon--pin { color: var(--ink-soft); }
.hh-ficon--pin .hh-pin-body { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linejoin: round; }
.hh-ficon--pin .hh-pin-disc { fill: none; stroke: none; }
.hh-ficon--pin .hh-pin-letter { fill: currentColor; stroke: none; font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-weight: 700; }
.hh-field[data-pin="set"] .hh-ficon--pin .hh-pin-body { stroke: var(--dq-pin-halo); stroke-width: 2; }
.hh-field[data-pin="set"] .hh-ficon--pin .hh-pin-disc { fill: var(--dq-pin-halo); }
.hh-field[data-pin="set"] .hh-ficon--pin[data-pin-letter="A"] .hh-pin-body { fill: var(--qf-pin-a); }
.hh-field[data-pin="set"] .hh-ficon--pin[data-pin-letter="A"] .hh-pin-letter { fill: var(--qf-pin-a); }
.hh-field[data-pin="set"] .hh-ficon--pin[data-pin-letter="B"] .hh-pin-body { fill: var(--qf-pin-b); }
.hh-field[data-pin="set"] .hh-ficon--pin[data-pin-letter="B"] .hh-pin-letter { fill: var(--qf-pin-b); }
