/* incumbent.css — incumbent-tracker-specific chrome for Who Funds PVD?
   Site-wide chrome (palette, body grain/scanlines, color bars, status bar,
   breadcrumb) lives in site/global.css; this file holds the per-incumbent
   accent vars, the incumbent main container width, and the channel-changer
   floating nav that incumbent (and future councillor) pages share. */

:root {
  /* Inaugural incumbent-tracker accent: deep violet. */
  --accent: #5e3b8a;
  --accent-tint: rgba(94, 59, 138, 0.08);
}

/* Main container — incumbent pages run a hair narrower than the mayoral
   race page. */
main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px 32px 80px;
  position: relative;
  z-index: 5;
}


/* ----- Channel changer (CH navigation) -----
   Lifted from the mayoral page (site/index.html) — single design for
   desktop and mobile: circular floating button at bottom-right that
   always shows the active channel number, popup sheet above on click.
   Lives in shared incumbent.css so every councillor page gets it. */
.channel-changer {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 999;
}
.cc-button {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--mustard);
  color: var(--mustard);
  font-family: 'VT323', monospace;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: border-color 120ms;
}
.cc-button:hover { border-color: var(--orange); }
.cc-button.open  { border-color: var(--orange); }
.cc-button .cc-button-label { font-size: 9px; opacity: 0.7; }
.cc-button .cc-button-num   { font-size: 14px; color: var(--orange); margin-top: 2px; }

.cc-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26, 20, 16, 0.4);
  z-index: 997;
}
.cc-backdrop.open { display: block; }

.cc-sheet {
  display: none;
  position: fixed;
  bottom: 84px;
  right: 16px;
  z-index: 998;
  background: var(--ink);
  border: 2px solid var(--mustard);
  border-radius: 6px;
  padding: 10px;
  min-width: 220px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  font-family: 'VT323', monospace;
  color: var(--cream);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}
.cc-sheet.open { display: block; }
.cc-sheet .cc-title {
  font-size: 11px;
  color: var(--mustard);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0 6px 6px;
  border-bottom: 1px dashed rgba(240, 185, 41, 0.3);
  margin-bottom: 6px;
}
.cc-sheet .cc-list { list-style: none; margin: 0; padding: 0; }
.cc-sheet .cc-item {
  display: block;
  padding: 5px 8px;
  color: rgba(245, 230, 200, 0.7);
  text-decoration: none;
  cursor: pointer;
  border-radius: 2px;
  font-size: 14px;
  transition: color 80ms, background 80ms;
  white-space: nowrap;
}
.cc-sheet .cc-item:hover {
  color: var(--cream);
  background: rgba(240, 185, 41, 0.1);
}
.cc-sheet .cc-item.active {
  color: var(--mustard);
  background: rgba(240, 185, 41, 0.15);
}
.cc-sheet .cc-item .cc-num {
  color: var(--mustard);
  margin-right: 8px;
  display: inline-block;
  min-width: 38px;
}
.cc-sheet .cc-item.active .cc-num { color: var(--orange); }

/* Lockup + nav now live in global.css (deduped from here). */
