/* crm_dashboard.html: the two-box "Marketing Toolkit" / "Sales Toolkit"
   picker - "replace place holder content" card, 2026-08-22, split what
   used to be one flat 10-module grid into crm_sales.html/
   crm_marketing.html, linked from here. */

.toolkit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 100px;
}
.toolkit-card {
  text-decoration: none;
  color: inherit;
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.toolkit-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}
.toolkit-icon {
  width: 44px; height: 44px;
  color: var(--gold);
}
.toolkit-card h2 {
  font-family: var(--sans-geo);
  font-size: 1.3rem;
  margin: 0;
}
.toolkit-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
  flex-grow: 1;
}
.toolkit-cta {
  font-family: var(--sans-geo);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
}
@media (max-width: 720px) {
  .toolkit-grid { grid-template-columns: 1fr; }
}

/* crm_sales.html/crm_marketing.html: breadcrumb back to the toolkit
   picker above - these are one level below crm_dashboard.html now. */
.crm-back-link {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
}
.crm-back-link:hover { color: var(--gold-light); }

/* crm_sales.html: full-width banner button to the actual sales-pipeline
   board (webapp/sales_pipeline.py) - "Overview" card, 2026-08-23: "it
   should be accessable via a button that spands the top of the other
   modules", replacing the small text link this used to be
   (.pipeline-board-link, retired here). Sits above .module-grid, its own
   full-width row rather than one of that grid's tiles. */
.pipeline-overview-banner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 28px;
  padding: 20px 28px;
  border-radius: 10px;
  border: 2px solid var(--gold);
  /* The gold tint is the emphasis; the base colour is what makes it a
     panel. `background:` as a shorthand carrying only the gradient reset
     background-color to transparent, so the circuit backdrop showed
     through 447px of banner and the gold ADDED light on top of it - the
     same defect .page-hero and .pm-hero both had. Matched to the sibling
     .module-card's own --bg-card rather than a new value, so the banner
     sits on the same ground as the tiles beneath it.
     Found 2026-09-04 by sweeping EVERY stylesheet for this shape rather
     than the one file being edited, which is how the first four instances
     each got missed. */
  background-color: var(--bg-card);
  background-image: linear-gradient(90deg, rgba(201, 162, 39, 0.16), rgba(201, 162, 39, 0.04));
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.pipeline-overview-banner:hover {
  border-color: var(--gold-light);
  transform: translateY(-2px);
}
.pipeline-overview-banner-title {
  font-family: var(--sans-geo);
  font-size: 1.05rem;
  font-weight: bold;
  color: var(--gold-light);
}
.pipeline-overview-banner-sub {
  font-size: 0.85rem;
  color: var(--muted);
}

/* crm_marketing.html: honest "not decided yet" placeholder in place of a
   module grid - see that template's own comment for why. */
.toolkit-empty {
  max-width: 640px;
  margin: 0 auto 100px;
  padding: 48px 36px;
  text-align: center;
}
.toolkit-empty p {
  color: var(--muted);
  margin: 10px 0 0;
}

/* The one "live" module tile (Assessment Requests, folded into
   crm_sales.html's "Lead Qualification" module) among CRM's otherwise
   all-placeholder grid - see crm_sales.html and pm_dashboard.css for the
   shared shell this extends. */

.module-card-live {
  text-decoration: none;
  color: inherit;
  display: flex;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.module-card-live:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.module-status-live {
  color: #14100a;
  background: var(--gold);
  border-color: var(--gold);
}
