.bee-bid-board {
  display: grid;
  gap: 1rem;
  min-width: 0;
  margin: 1rem 0;
  padding: clamp(1rem, 3vw, 1.5rem);
  background: #121210;
  border: 1px solid #343127;
  border-radius: 1rem;
  color: #f7f3e9;
  scroll-margin-top: 5rem;
}
.bee-bid-board > *, #pm-bids-content > * { min-width: 0; }
.bee-bid-board h2, .bee-bid-board h3, .bee-bid-board h4, .bee-bid-board p { margin: 0 0 .55rem; }
.bee-bid-board p, .bee-bid-board small { color: #d3ccbe; overflow-wrap: anywhere; }
.bee-bid-board label { display: grid; gap: .4rem; min-width: 0; color: #f7f3e9; font-weight: 600; }
.bee-bid-board input:not([type="checkbox"]), .bee-bid-board select, .bee-bid-board textarea {
  min-height: 44px; width: 100%; padding: .55rem .7rem; border: 1px solid #5d5645;
  border-radius: .55rem; background: #0b0b0a; color: #f7f3e9; font: inherit;
}
.bee-bid-board textarea { resize: vertical; }
.bee-bid-board button, .bee-bid-photo button {
  min-height: 44px; padding: .55rem .8rem; background: #252219; color: #f7f3e9;
  border: 1px solid #6d6040; border-radius: .55rem; font: inherit; font-weight: 650; cursor: pointer;
}
.bee-bid-board button:disabled { opacity: .6; cursor: wait; }
.bee-bid-board button.bee-bid-primary { background: #edc467; color: #151105; border-color: #edc467; }
.bee-bid-board :focus-visible, .bee-bid-photo :focus-visible { outline: 2px solid #edc467; outline-offset: 2px; }
.bee-bid-board summary { cursor: pointer; min-height: 44px; padding: .65rem 0; }
.bee-bid-board details p, .bee-bid-card p { white-space: pre-wrap; }
.bee-bid-overview, .bee-bid-card header, .bee-bid-actions {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: .6rem;
}
.bee-bid-actions { justify-content: flex-start; }
.bee-bid-stack, .bee-bid-form, #pm-bids-content { display: grid; gap: .85rem; }
.bee-bid-facts, .bee-bid-scope { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; }
.bee-bid-facts > *, .bee-bid-scope > *, .bee-bid-prior > div {
  padding: .75rem; border-radius: .65rem; border: 1px solid #3a352a; background: #191814;
}
.bee-bid-facts small, .bee-bid-price small, .bee-bid-choice small { display: block; }
.bee-bid-facts strong, .bee-bid-price strong { display: block; font-size: 1.12rem; }
.bee-bid-card, .bee-bid-costs, .bee-bid-form {
  display: grid; gap: .7rem; padding: .9rem; border: 1px solid #3a352a;
  border-radius: .75rem; background: #171612;
}
.bee-bid-card > button, .bee-bid-form > button, #pm-bids-content > button, #vendor-bid-board > button { justify-self: start; }
.bee-bid-tag { color: #f0d58f; background: #302715; border-radius: 1rem; padding: .25rem .65rem; font-size: .82rem; }
.bee-bid-board .bee-bid-choice { display: flex; align-items: center; gap: .65rem; min-height: 44px; padding: .2rem .45rem; }
.bee-bid-choice input { width: 1.1rem; height: 1.1rem; flex: 0 0 auto; accent-color: #edc467; }
.bee-bid-vendor-options { max-height: 16rem; overflow: auto; border: 1px solid #3a352a; border-radius: .6rem; }
.bee-bid-callout { border-left: 3px solid #b99348; padding: .55rem .75rem; background: #242017; }
.bee-bid-price .bee-bid-margin { color: #ead28e; font-size: .9rem; }
.bee-bid-summary { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bee-bid-photo { max-width: min(92vw, 800px); background: #121210; color: #f7f3e9; border: 1px solid #6d6040; border-radius: .75rem; }
.bee-bid-photo::backdrop { background: rgb(0 0 0 / 78%); }
.bee-bid-photo img { display: block; max-width: 100%; max-height: 75vh; margin-top: .6rem; object-fit: contain; }
@media (max-width: 580px) {
  .bee-bid-scope, .bee-bid-costs .bee-bid-facts { grid-template-columns: minmax(0,1fr); }
  .bee-bid-board input:not([type="checkbox"]), .bee-bid-board select, .bee-bid-board textarea { font-size: 16px; }
}

.bee-bid-form-step, .bee-bid-matches { display: grid; min-width: 0; gap: .65rem; }
.bee-bid-form-step { margin: 0; padding: .8rem; border: 1px solid #3a352a; border-radius: .6rem; }
.bee-bid-form-step legend { color: #edc467; padding: 0 .3rem; font-weight: 650; }
.bee-bid-form-step > button { justify-self: start; }
.bee-bid-locations { display: grid; gap: .65rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.bee-bid-empty { padding: .65rem; }
.bee-bid-shortcut { min-height: 44px; justify-self: start; }
