/* PU1, the pickup address flow (docs/PU1-PICKUP-ADDRESS-FLOW-CONTRACT.md): the lead's address on the chat's pickup card,
   on Today's call card and on the pickup page ("New address from the customer"); the address form's chips in the chat.
   Loaded on every page after m2b.css (layout.eta). No dark mode (as app.css). */
.pu1-address {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold-deep);
  border-radius: 10px;
  background: var(--white);
  min-width: 0;
}
.pu1-address--good { border-left-color: var(--green-strong); }
.pu1-address--call { border-left-color: var(--danger); }
.pu1-address p { margin: 0; }
.pu1-address__heading { font-family: 'Poppins', system-ui, sans-serif; font-weight: 700; font-size: 1.05em; color: var(--heading); }
.pu1-address__state {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--heading);
}
.pu1-address--good .pu1-address__state { color: var(--green-ink); }
.pu1-address--call .pu1-address__state { color: var(--danger-ink); }
.pu1-address__icon { width: 18px; height: 18px; flex: none; }
.pu1-address__line { display: grid; gap: 2px; overflow-wrap: anywhere; }
.pu1-address__flags { margin: 0; padding-left: 1.1em; display: grid; gap: 2px; color: var(--orange-text); font-weight: 600; }
.pu1-address__pin { color: var(--green-ink); font-size: 0.92em; }
.pu1-address__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pu1-address__form { display: grid; gap: 4px; justify-items: start; margin: 0; }
.pu1-address__form small { font-size: 0.85em; }
.pu1-choice__buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.pu1-choice__buttons form { margin: 0; }
.pu1-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--mist);
  color: var(--heading);
  font-size: 0.85em;
  font-weight: 600;
}
.pu1-bubble-address { display: grid; gap: 2px; overflow-wrap: anywhere; }
.pu1-bubble-address b { font-weight: 600; }
/* EV1 A6: Today's list of booked pickups with a new address to choose on. */
.new-addresses { margin: 0 0 16px; }
.new-addresses__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.new-addresses__list li { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
/* EV1 A5: the landmark under the address on the pickup person's card. */
.pk-my__landmark { margin: 4px 0 0; font-weight: 600; }

/* EV1 A9: in an open test chat the reply buttons are tapped as the customer would; the address form is filled in under
   the newest form we sent. */
.bubble-buttons__item--tap {
  padding: 0;
}

.bubble-buttons__item--tap form {
  display: flex;
  width: 100%;
}

.bubble-buttons__tap {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 7px 12px;
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
}

.bubble-buttons__tap:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

.test-address {
  margin: 6px 0 0;
  padding: 8px 12px;
  background: var(--white);
  border: 1px solid #ebe3f2;
  border-radius: 12px;
}

.test-address summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  font-weight: 700;
  color: var(--secondary);
  cursor: pointer;
}

.test-address__form {
  display: grid;
  gap: 8px;
  margin-top: 6px;
}

.test-address__hint {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.test-address__box {
  display: grid;
  gap: 3px;
  font-size: 0.88rem;
  font-weight: 600;
}

.test-address__box input {
  min-height: 44px;
  width: 100%;
  box-sizing: border-box;
}

/* EV1 A9: Today's address card: what is being sent ("USA, about 5 kg"). */
.pu1-address__shipment {
  margin: 0 0 4px;
  font-weight: 600;
}
