/* Drop-ins and free trials (owner 2026-11-01). Staff badges and the public pay page. */
.dropin-summary .dropin-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #e7edf4;
}
/* At 320px the labels wrap; amounts never break across lines. */
.dropin-summary .dropin-line > span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}
.dropin-summary .dropin-line > span:last-child {
  white-space: nowrap;
  flex-shrink: 0;
}
.dropin-summary .dropin-total {
  font-weight: 700;
  border-bottom: 0;
}
/* Retail pay screen: a neutral note, not an error style. */
.dropin-pay .retail-pay-note {
  color: #3d4a57;
  font-size: 14px;
}
.dropin-pay button {
  width: 100%;
  margin-top: 8px;
}
.dropin-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 9px;
  background: #fff4dc;
  color: #6b4500;
  white-space: nowrap;
}
.dropin-badge.is-paid {
  background: #e3f3ea;
  color: #1f5c3d;
}
.dropin-badge.is-trial {
  background: #e6effa;
  color: #173f6b;
}
.dropin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex-basis: 100%;
}
.dropin-actions button {
  padding: 6px 10px;
  font-size: 14px;
}
.dropin-review {
  flex-basis: 100%;
  color: #8a1c2c;
  font-size: 13px;
}
.dropin-add {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.dropin-status {
  flex-basis: 100%;
  font-size: 13px;
  margin: 0;
}
.dropin-dialog form {
  display: grid;
  gap: 10px;
}
.dropin-dialog {
  max-width: min(420px, calc(100vw - 32px));
  box-sizing: border-box;
}
.dropin-profile .dropin-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid #e7edf4;
}
.dropin-profile .dropin-item > span:first-child {
  flex: 1 1 180px;
  overflow-wrap: anywhere;
}
.dropin-reason {
  flex: 1 1 160px;
  min-width: 0;
}
.dropin-results {
  display: grid;
  gap: 6px;
  max-height: 240px;
  overflow-y: auto;
}
.dropin-results .dropin-result {
  text-align: left;
  font-weight: 500;
  background: #fff;
  color: inherit;
  border: 1px solid #c9d4e0;
  overflow-wrap: anywhere;
}
.dropin-results .dropin-result[aria-pressed="true"] {
  border: 2px solid var(--brand, #173f6b);
  background: #e6effa;
  color: var(--brand, #173f6b);
  font-weight: 700;
}
.dropin-results p {
  margin: 0;
}
.dropin-trial-form {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 8px;
}
.dropin-trial-form label {
  display: grid;
  gap: 4px;
}
/* Promo code and store credit on Add drop-in (Run 8). */
.promo-box label.check {
  display: flex;
  align-items: center;
  gap: 8px;
}
.promo-box label.check input {
  width: auto;
}
.promo-box input[name="code"] {
  text-transform: uppercase;
}
/* One-tap payment update page (Run 10). */
.payment-update .payment-update-choice {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin: 0.75rem 0;
  overflow-wrap: anywhere;
}
.payment-update .payment-update-choice input {
  flex: none;
  width: auto;
  min-height: 0;
  margin: 0.2rem 0 0;
}
.payment-update .payment-update-saved {
  overflow-wrap: anywhere;
}
