:root {
  color-scheme: light;
  --bg: #f4f5f8;
  --card-bg: #ffffff;
  --border: #e5e7eb;
  --text: #1a1d23;
  --muted: #6b7280;
  --accent: #4f46e5;
  --accent-hover: #4338ca;
  --ring-track: #e9eaee;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 1px 3px rgba(16, 24, 40, 0.06);
  --shadow-hover: 0 4px 10px rgba(16, 24, 40, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.45;
}

.page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2.5rem 2rem 4rem;
}

.topbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--muted);
  padding: 0.6rem 0 0.75rem;
  /* Sticky, not fixed: stays in normal flow (no overlap/jump on load) but
     clings to the top of the viewport once the page scrolls past it, so
     the home icon (and Usage/Change password/Log out) stay reachable on
     a long lead list without scrolling back up. Needs an opaque
     background matching the page so scrolled-past cards don't show
     through underneath it. See TRACKER.md. */
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.topbar a { color: var(--accent); text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; }
.home-icon { font-size: 1.2rem; line-height: 1; margin-right: 0.25rem; }
.home-icon:hover { text-decoration: none; opacity: 0.7; }
.logout-form { display: inline; margin: 0; }
.link-button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
}
.link-button:hover { text-decoration: underline; }

.page-header { margin-bottom: 1.25rem; }
h1 { margin: 0 0 0.25rem; font-size: 1.65rem; letter-spacing: -0.01em; }
.caption { color: var(--muted); margin: 0; }

/* ---------- status banner ---------- */
.status-banner {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: #eaf7ec;
  color: #1e6b30;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  border: 1px solid #cdebd2;
}
.status-banner.error { background: #fdecea; color: #a12a20; border-color: #f6cdc8; }
.hidden { display: none; }

/* ---------- run search ---------- */
details.run-search {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem 1.1rem;
  background: var(--card-bg);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
}
details.run-search summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
details.run-search summary::-webkit-details-marker { display: none; }
details.run-search summary::before {
  content: "▸";
  display: inline-block;
  margin-right: 0.4rem;
  transition: transform 0.15s ease;
  color: var(--muted);
}
details.run-search[open] summary::before { transform: rotate(90deg); }

.run-search-body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.85rem;
}
.model-checks { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sample-row { display: flex; flex-direction: column; gap: 0.35rem; }
.sample-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  color: var(--text);
  font-size: 0.8rem;
  font-family: inherit;
  cursor: pointer;
}
.sample-chip:hover { background: #eeecfd; border-color: #c7c2f7; color: var(--accent-hover); }
.schedule-form { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }

textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.9rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  resize: vertical;
  background: #fbfbfc;
}
textarea:focus, .text-input:focus, .select-input:focus { outline: 2px solid #c7c2f7; border-color: var(--accent); }

/* ---------- buttons ---------- */
.btn {
  padding: 0.5rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: #f1f1f4; }
.btn-danger { background: #dc2626; color: white; }
.btn-danger:hover { background: #b91c1c; }

/* ---------- toolbar / filters ---------- */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 0.75rem;
  padding: 0.9rem 1.1rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.toolbar-group { display: flex; flex-direction: column; gap: 0.35rem; }
.toolbar-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); font-weight: 700; }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.toolbar-actions { display: flex; gap: 0.5rem; margin-left: auto; }

.checkbox-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  cursor: pointer;
  background: #fafafb;
  user-select: none;
}
.checkbox-pill:has(input:checked) { background: #eeecfd; border-color: #c7c2f7; color: var(--accent-hover); }
.checkbox-pill.category-hot:has(input:checked) { background: #fdeceb; border-color: #f3c6c2; color: #b8352c; }
.checkbox-pill.category-warm:has(input:checked) { background: #fdf1e3; border-color: #f3d9b3; color: #a56a1c; }
.checkbox-pill.category-cold:has(input:checked) { background: #eef0f2; border-color: #d6dade; color: #4b5560; }
.checkbox-pill input { accent-color: var(--accent); }

.text-input, .select-input {
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 7px;
  font-size: 0.85rem;
  background: #fbfbfc;
  font-family: inherit;
}

.date-range-row { align-items: center; }
.date-range-row input[type="date"] { width: 9.5rem; }
.date-range-sep { color: var(--muted); font-size: 0.8rem; }
.field-hint { font-size: 0.72rem; color: #9ca3af; }

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

.result-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 1rem 0.1rem; }
.export-link { padding: 0.35rem 0.85rem; font-size: 0.82rem; }

/* ---------- pagination ---------- */
.pagination { display: flex; align-items: center; justify-content: center; gap: 1.1rem; margin: 1.75rem 0 1rem; }
.pagination-status { color: var(--muted); font-size: 0.85rem; }
.btn-disabled { opacity: 0.45; cursor: default; pointer-events: none; }

/* ---------- lead cards ---------- */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 1.3rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.15s ease;
}
.card:hover { box-shadow: var(--shadow-hover); }

.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.card-heading { display: flex; flex-direction: column; gap: 0.2rem; }
.card-title { display: flex; align-items: center; gap: 0.55rem; flex-wrap: wrap; }
.card-title h3 { margin: 0; font-size: 1.1rem; }

.badge {
  color: white;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}
.partner-label { font-size: 0.82rem; color: var(--muted); }

/* score ring: a CSS conic-gradient donut, colored red->green by value */
.score-ring {
  --size: 52px;
  width: var(--size);
  height: var(--size);
  min-width: var(--size);
  border-radius: 50%;
  background: conic-gradient(var(--ring-color) calc(var(--pct) * 1%), var(--ring-track) 0);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.score-ring::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--card-bg);
}
.score-value {
  position: relative;
  font-weight: 800;
  font-size: 1rem;
}

.summary { color: var(--muted); margin: 0.6rem 0 0.75rem; font-size: 0.92rem; }

.card-field-grid {
  margin: 0.65rem 0 0.9rem;
  gap: 0.85rem 1.5rem;
}
.card-field-grid .field { font-size: 0.88rem; }
.icon { font-size: 0.9em; }

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-size: 0.86rem;
  color: var(--text);
  border-top: 1px solid var(--border);
  padding-top: 0.6rem;
  margin-top: 0.2rem;
}
.contact-row a { color: var(--accent); text-decoration: none; }
.contact-row a:hover { text-decoration: underline; }

.messages { margin-top: 0.7rem; }
.messages summary { cursor: pointer; font-size: 0.85rem; color: var(--accent); font-weight: 600; }
.message-block { margin-top: 0.5rem; }
.message-heading { font-weight: 600; margin-bottom: 0.25rem; font-size: 0.85rem; }
.messages textarea { font-size: 0.85rem; background: #fbfbfc; }

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.6rem;
}
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 0.15rem; }
.added-on { margin: 0; font-size: 0.75rem; color: #9ca3af; }
.added-time { margin-left: 0.5rem; }
.detail-link { font-size: 0.82rem; color: var(--accent); text-decoration: none; font-weight: 600; }
.detail-link:hover { text-decoration: underline; }

/* ---------- quality rating ---------- */
.quality-control {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  border: 1px solid transparent;
}
.quality-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--muted); font-weight: 700; }
.quality-select {
  padding: 0.3rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.82rem;
  background: #fbfbfc;
  font-family: inherit;
}
.quality-status { font-size: 0.75rem; color: var(--muted); min-width: 4.5rem; }
.quality-status.success { color: #1e6b30; }
.quality-status.error { color: #a12a20; }

/* Unrated is the loudest state on purpose — the goal is getting every
   lead rated, not just displaying the ones that already are. */
.quality-control.quality-unrated { background: #fff7ed; border-color: #fdba74; }
.quality-control.quality-unrated .quality-label { color: #c2410c; }
.quality-control.quality-unrated .quality-select { border-color: #fdba74; background: #fffaf3; }

.quality-control.quality-good { background: #ecfdf5; border-color: #a7f3d0; }
.quality-control.quality-good .quality-select { background: #f4fefa; }
.quality-control.quality-average { background: #fffbeb; border-color: #fde68a; }
.quality-control.quality-average .quality-select { background: #fffdf5; }
.quality-control.quality-bad { background: #fef2f2; border-color: #fecaca; }
.quality-control.quality-bad .quality-select { background: #fffafa; }

/* Once a rating AND a note have both been saved, they lock together for
   good — a deliberately loud red, with a soft shadow/glow so it visibly
   stands out from every other box on the card instead of blending in as
   just another flat-colored state. Comes after .quality-bad so it wins
   the tie in specificity (quality_class() still adds one of the classes
   above too — this overrides whichever one that was). */
.quality-control.quality-locked {
  background: #fee2e2;
  border-color: #f87171;
  box-shadow: 0 3px 14px rgba(220, 38, 38, 0.25);
}
.lock-badge { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.03em; font-weight: 700; color: #b91c1c; }
.locked-quality-value { font-size: 0.85rem; font-weight: 700; color: #7f1d1d; }
.note-locked-text { flex-basis: 100%; margin: 0.3rem 0 0; font-size: 0.85rem; color: #7f1d1d; white-space: pre-wrap; }

.lock-hint { flex-basis: 100%; margin-top: 0.3rem; }

.quality-control-lg { margin-bottom: 0.9rem; }
.quality-control-lg .quality-select { font-size: 0.92rem; padding: 0.45rem 0.7rem; }

/* The note row always breaks onto its own line under the rating (the
   quality-control it lives in is display:flex + flex-wrap) — same
   colored box as the rating, since the note is meant to read as "the
   reason behind it," not a separate, unrelated field. */
.note-row { flex-basis: 100%; display: flex; align-items: flex-start; gap: 0.5rem; margin-top: 0.35rem; }
.note-textarea {
  flex: 1;
  min-width: 0;
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.82rem;
  font-family: inherit;
  resize: vertical;
  background: #fbfbfc;
}
.note-save-btn { padding: 0.3rem 0.7rem; font-size: 0.78rem; align-self: flex-start; }
.note-status { font-size: 0.75rem; color: var(--muted); align-self: center; }
.note-status.success { color: #1e6b30; }
.note-status.error { color: #a12a20; }

.empty-state { color: var(--muted); text-align: center; padding: 2rem 0; }

/* ---------- login page ---------- */
.login-wrap {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-hover);
  padding: 2rem 2.25rem;
  width: 100%;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.login-title { margin: 0; font-size: 1.25rem; }
.login-card .caption { margin: 0 0 0.75rem; }
.login-card .field-label { margin-top: 0.5rem; }
.login-card .text-input { width: 100%; padding: 0.55rem 0.7rem; }
.login-submit { margin-top: 1.1rem; width: 100%; }

/* ---------- home / landing page ---------- */
/* Reuses .login-card's box, just wider (a tagline needs more room than a
   username field) and centered (there's no form to left-align labels
   against). .login-submit is an <a>, not a <button>, here — same class
   still centers text and makes it full-width, since .btn doesn't force
   either on its own. */
.home-card {
  max-width: 440px;
  text-align: center;
}
.home-card .caption { line-height: 1.55; }
.home-card .login-submit { text-align: center; text-decoration: none; display: block; }

/* ---------- usage page ---------- */
.usage-total {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
}
.usage-total-number { font-size: 2.2rem; font-weight: 800; color: var(--accent); }
.usage-total-label { color: var(--muted); font-size: 0.9rem; }

.usage-recent-heading { margin: 1.5rem 0 0.75rem; font-size: 1rem; color: var(--text); }

.usage-table-wrap {
  overflow-x: auto;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 1.25rem;
}
.usage-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.usage-table th, .usage-table td {
  text-align: left;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.usage-table th { color: var(--muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.03em; }
.usage-table tbody tr:last-child td { border-bottom: none; }

.usage-status { padding: 2px 8px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; }
.usage-status-completed { background: #ecfdf5; color: #1e6b30; }
.usage-status-stopped { background: #fffbeb; color: #a56a1c; }
.usage-status-running { background: #eeecfd; color: var(--accent-hover); }
.usage-status-failed { background: #fdecea; color: #a12a20; white-space: normal; }
.usage-status-abandoned { background: #f3f4f6; color: #4b5563; }
.usage-status-errored { background: #fdecea; color: #a12a20; }

/* ---------- lead detail page ---------- */
.back-link {
  display: inline-block;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.back-link:hover { color: var(--text); }

.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin: 0.25rem 0 0.75rem;
}
.detail-header h1 { margin: 0; font-size: 1.6rem; }

.score-ring-lg { --size: 76px; }
.score-ring-lg .score-value { font-size: 1.3rem; }

.detail-section {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--section-color, var(--border));
  border-radius: 12px;
  padding: 1.35rem 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}
.section-event    { --section-color: #4f46e5; }
.section-contact  { --section-color: #0d9488; }
.section-outreach { --section-color: #b45309; }
.section-meta     { --section-color: #64748b; }

.section-heading {
  margin: 0 0 1.1rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--section-color, var(--muted));
  font-weight: 800;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.15rem 1.75rem;
}
.field { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.94rem; word-break: break-word; }
.field-wide { grid-column: 1 / -1; }
.field-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--muted); font-weight: 700; }
.field a { color: var(--accent); text-decoration: none; }
.field a:hover { text-decoration: underline; }

.detail-section .message-block:not(:first-child) { margin-top: 1.4rem; }
.detail-section textarea,
.readonly-input {
  width: 100%;
  font-family: inherit;
  font-size: 0.88rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fbfbfc;
}

.message-block-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}
.message-block-header .message-heading { margin: 0; font-weight: 700; font-size: 0.88rem; }

.btn-copy {
  border: 1px solid var(--border);
  background: #fafafb;
  color: var(--text);
  border-radius: 6px;
  padding: 0.28rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.btn-copy:hover { background: #f1f1f4; }
.btn-copy.copied { background: #eaf7ec; border-color: #cdebd2; color: #1e6b30; }

/* ---------- DWTC: event info ---------- */
/* Full details — normal flow, shown once, NOT sticky (this used to be the
   whole sticky panel; kept scrolling into view above every exhibitor card
   ate too much of the viewport — see TRACKER.md). */
.event-meta-full {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 1.3rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}
.event-meta-full h2 { margin: 0 0 0.5rem; font-size: 1.2rem; }
.event-meta-full .field-grid { margin: 0.7rem 0; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.7rem 1.2rem; }
.event-meta-full .field { font-size: 0.85rem; }
.event-meta-full .contact-row { margin-top: 0.6rem; padding-top: 0.6rem; }

/* Compact bar — just date + location, this is what actually stays pinned
   while scrolling the exhibitor list below it. */
.event-meta-sticky {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.6rem 1rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-hover);
  font-size: 0.88rem;
}
.event-meta-sticky .event-name { font-weight: 700; margin-right: 0.2rem; }
.event-meta-sticky .event-dates {
  background: var(--accent);
  color: white;
  font-weight: 700;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 0.82rem;
  white-space: nowrap;
}
.event-meta-sticky .event-location { color: var(--muted); }

/* ---------- DWTC: compact exhibitor cards ---------- */
.exhibitor-card .summary {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.exhibitor-card .card-field-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.exhibitor-card .messages summary { margin-top: 0.4rem; }
.exhibitor-card .contact-fields { margin-bottom: 0.5rem; }
.exhibitor-card .contact-fields .field-label { color: var(--accent); }
.exhibitor-card .secondary-fields { border-top: 1px solid var(--border); padding-top: 0.65rem; margin-top: 0.15rem; }

/* ---------- Client Feed: per-card event chip, urgency-colored ----------
   Same hot/warm/cold language as the main dashboard's lead-priority pills
   (see .checkbox-pill.category-*) - near-term events read as "hot" for the
   same reason a hot lead does: time-sensitive, act on it first. */
.event-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0.35rem 0 0.7rem;
  font-size: 0.85rem;
}
.event-chip .event-chip-name { font-weight: 700; }
.event-chip .event-chip-name a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  text-underline-offset: 2px;
}
.event-chip .event-chip-name a:hover { text-decoration-color: currentColor; color: var(--accent); }
.event-chip .event-chip-dates {
  font-weight: 700;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 0.8rem;
  white-space: nowrap;
}
.event-chip .event-chip-dates.urgency-band-a { background: #fdeceb; color: #b8352c; }
.event-chip .event-chip-dates.urgency-band-b { background: #fdf1e3; color: #a56a1c; }
.event-chip .event-chip-dates.urgency-band-c { background: #eef0f2; color: #4b5560; }
.event-chip .event-chip-venue { color: var(--muted); }

.day-group-header {
  position: sticky;
  top: 0;
  z-index: 5;
}

/* Stats strip - reuses .usage-total's exact box styling (see the /usage
   page) so this reads as the same visual language elsewhere in the app,
   just three side by side instead of one. */
.stats-strip { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.stats-strip .stat-box { flex: 1; min-width: 140px; margin-bottom: 0; justify-content: center; }

/* A thin lead (no email or phone captured) reads as a lower-confidence
   card - not hidden, just visually a notch behind a fully-contactable
   one, so a client scanning quickly can tell which to reach for first. */
.exhibitor-card-thin { opacity: 0.85; }
.badge-muted { background: #94a3b8 !important; }

/* On-demand WhatsApp/email outreach drafts (see client_feed.js) - reuses
   lead_detail.html's exact .message-block/.message-block-header/.btn-copy
   language so this reads as the same feature, just generated on click
   instead of pre-filled. .outreach-field is the swap point: JS replaces
   its whole innerHTML (a lone "Generate" button) with the draft markup
   once generation succeeds. */
.outreach-section { margin-top: 0.5rem; }
.outreach-field:not(:first-child) { margin-top: 0.9rem; }
.outreach-field .message-block:not(:first-child) { margin-top: 0.7rem; }
.outreach-error { color: #b8352c; font-size: 0.8rem; margin: 0.4rem 0 0; }
.draft-ready-badge { color: #1e6b30; font-weight: 600; font-size: 0.8rem; }

/* Collapsed-by-default long description - same disclosure pattern as
   /dwtc's "More details", but the closed state shows a real preview
   (truncated text) rather than a bare label, so scanning still works
   without expanding anything. */
.description-toggle { margin: 0.6rem 0 0.75rem; }
.description-toggle summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 0.92rem;
  list-style: none;
}
.description-toggle summary::-webkit-details-marker { display: none; }
.description-toggle[open] summary { margin-bottom: 0.4rem; }
.description-toggle .detail-link { margin-left: 0.15rem; }
.description-toggle p.summary { margin: 0; }
