.pick-instruction {
  margin: -6px 0 16px;
  font-size: 14px;
  color: #60594e;
}
.pick-add, .pick-send, .pick-chip {
  cursor: pointer;
  font: inherit;
}
.pick-add {
  display: block;
  width: 100%;
  min-height: 42px;
  margin: 10px 0 5px;
  border: 1px solid #6d6451;
  border-radius: 12px;
  color: #302d24;
  background: #f5efe3;
  font-size: 13px;
  font-weight: 800;
}
.pick-add[aria-pressed="true"] {
  background: #f7d76c;
  border-color: #9c7726;
}
.pick-add:disabled, .pick-send:disabled {
  opacity: .6;
  cursor: default;
}
.pick-tray[hidden] { display: none; }
.pick-tray {
  position: fixed;
  z-index: 120;
  left: 50%;
  bottom: max(12px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(700px, calc(100% - 24px));
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 0 9px;
  background: #26241f;
  color: #fff;
  padding: 8px 10px;
  border: 1px solid #58554b;
  border-radius: 16px;
  box-shadow: 0 3px 18px #221e172f;
}
.pick-tray:not([data-hint=""])::after {
  content: attr(data-hint);
  grid-column: 1 / -1;
  font-size: 12px;
  padding: 3px 5px 0;
  color: #f4ead1;
}
.pick-chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 5px;
  overflow-x: auto;
}
.pick-chip {
  flex: none;
  background: transparent;
  border: 1px solid #88867a;
  color: #fff;
  min-height: 38px;
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 13px;
}
.pick-send {
  background: #f7d76c;
  color: #282313;
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 850;
}
.pick-sr {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
}
.with-pick-tray { padding-bottom: calc(90px + env(safe-area-inset-bottom)); }
.with-pick-tray .toast { bottom: calc(90px + env(safe-area-inset-bottom)); }
@media (max-width:760px) {
  .with-pick-tray .to-top { bottom: calc(88px + env(safe-area-inset-bottom)); }
}
/* Keep candidate controls clear of the sticky search bar and the selection tray. */
html:has(.pick-tray){scroll-behavior:auto;scroll-padding-block:9rem 6rem}
.pick-add{scroll-margin-block:1rem}
