/* Lead board (owner 2026-11-03). Phones: one stage at a time via the stage buttons. Wide screens: all five columns. */
#leadspage .toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.lead-search {
  display: grid;
  gap: 4px;
  max-width: 360px;
  margin: 12px 0 4px;
}
.lead-search input {
  width: 100%;
  box-sizing: border-box;
}
#leadmessage:empty {
  display: none;
}
.lead-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 1px solid #dce5ed;
  padding: 8px 0;
}
.lead-tabs button {
  font-size: 13px;
  padding: 8px 10px;
  border: 0;
  background: transparent;
  color: #526a82;
}
.lead-tabs button[aria-pressed="true"] {
  background: #eaf2fa;
  color: #102d50;
  box-shadow: inset 0 -2px #c52242;
}
.lead-tabs span,
.lead-col h2 span {
  font-weight: 400;
  color: #526a82;
}
.lead-board {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}
.lead-col {
  display: none;
  min-width: 0;
}
.lead-col.selected {
  display: block;
}
.lead-col h2 {
  font-size: 15px;
  margin: 0 0 8px;
}
.lead-col-note {
  margin: -4px 0 8px;
  font-size: 12px;
}
.lead-card {
  background: white;
  border: 1px solid #dce5ed;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 8px;
  overflow-wrap: anywhere;
}
.lead-card h3 {
  font-size: 15px;
  margin: 0 0 4px;
}
.lead-card p {
  margin: 4px 0;
  font-size: 13px;
}
.lead-trial {
  color: #102d50;
  font-weight: 600;
}
.lead-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.lead-card-actions button {
  font-size: 13px;
  padding: 6px 10px;
}
.lead-editor {
  display: grid;
  gap: 10px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #dce5ed;
}
.lead-editor fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
.lead-editor legend {
  font-weight: 600;
  margin-bottom: 6px;
}
.lead-stage-choices {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 4px 14px;
}
.lead-stage-choices label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  margin: 0;
  white-space: nowrap;
}
.lead-stage-choices input {
  width: auto;
  min-width: 0;
  margin: 0;
  flex: 0 0 auto;
}
.lead-editor > label {
  display: grid;
  gap: 4px;
}
.lead-editor select {
  width: 100%;
  max-width: 320px;
}
.lead-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.lead-editor-actions button {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 13px;
  padding: 6px 12px;
}
.lead-editor .formerror:empty {
  display: none;
}
@media (min-width: 1100px) {
  .lead-tabs {
    display: none;
  }
  .lead-board {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: start;
  }
  .lead-col {
    display: block;
    background: #f5f8fb;
    border-radius: 10px;
    padding: 10px;
  }
}
.lead-editor [hidden] {
  display: none !important;
}
.lead-detail {
  color: #344b63;
}
#leadsources:empty {
  display: none;
}
/* Website lead form (Run 6): new website leads, their message and items to review. */
.lead-card-new {
  border-left: 4px solid #c52242;
}
.lead-badge {
  display: inline-block;
  background: #fff1f3;
  color: #8f1530;
  font-weight: 600;
  border-radius: 999px;
  padding: 2px 8px;
}
.lead-card .lead-message {
  color: #33475b;
  font-style: italic;
  white-space: pre-line;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lead-match {
  color: #8a4b00;
}
.lead-reviews {
  border: 1px solid #f0c9a8;
  background: #fff8f1;
  border-radius: 10px;
  padding: 12px;
  margin: 12px 0;
}
.lead-reviews h2 {
  font-size: 15px;
  margin: 0 0 4px;
}
.lead-reviews h2 span {
  font-weight: 400;
  color: #526a82;
}
