/* Blazing Paddles Command Center — page-specific styles.
   Used with the Kimi-style top-nav layout (.cc-topnav-body).
*/

.cc-topnav-body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  margin: 0;
  min-height: 100vh;
}

.cc-topnav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-5);
  padding: var(--space-3) var(--space-6);
  background: rgba(10,9,7,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.cc-topnav-brand {
  display: flex; align-items: center; gap: 12px;
  color: var(--text); text-decoration: none;
  font-family: var(--font-display); font-weight: 700;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.cc-topnav-brand img { border-radius: 8px; }
.cc-topnav-brand span { display: flex; flex-direction: column; line-height: 1.1; }
.cc-topnav-brand strong { font-size: 16px; letter-spacing: 0.03em; }
.cc-topnav-brand small { color: var(--text-muted); font-weight: 500; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 2px; }

.cc-topnav-links { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.cc-topnav-links a {
  padding: 10px 16px;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.16em;
  font-family: var(--font-body);
  border-radius: 6px;
  transition: color .15s, background .15s;
}
.cc-topnav-links a:hover { color: var(--text); }
.cc-topnav-links a.is-active {
  color: var(--cream);
  font-weight: 700;
}

.cc-topnav-meta {
  display: flex; align-items: center; gap: 12px;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  flex-shrink: 0;
}
.cc-topnav-tminus { color: var(--text); }

.cc-topnav-main {
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 720px) {
  .cc-topnav { padding: var(--space-2) var(--space-4); }
  .cc-topnav-links a { padding: 6px 10px; font-size: 11px; letter-spacing: 0.12em; }
  .cc-topnav-meta { display: none; }
}

.cc-dashboard-layout {
  display: grid;
  grid-template-columns: minmax(230px, 280px) minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  gap: var(--space-6);
  align-items: start;
}

/* Desktop: sidebar fills the left column; title, Kalahari win, and the
   rest of the dashboard stack in the right column in reading order. */
.cc-home-sidebar    { grid-column: 1; grid-row: 1 / -1; }
.cc-dashboard-hero      { grid-column: 2; grid-row: 1; }
.cc-dashboard-kalahari  { grid-column: 2; grid-row: 2; }
.cc-dashboard-primary   { grid-column: 2; grid-row: 3; }

.cc-dashboard-primary {
  min-width: 0;
}

.cc-home-sidebar {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: color-mix(in oklab, var(--surface) 92%, transparent);
  box-shadow: var(--shadow-sm);
}

.cc-sidebar-label,
.cc-side-group p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 800;
}

.cc-side-link,
.cc-side-group a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 13px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,0.025);
  color: var(--text);
  text-decoration: none;
}

.cc-side-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cc-side-link strong {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--text);
}

.cc-side-link span {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.35;
}

.cc-side-link:hover,
.cc-side-group a:hover {
  border-color: var(--flame-500);
  background: rgba(255,107,26,0.08);
  color: var(--text);
}

.cc-side-link-playbook {
  border-color: var(--flame-500);
  background: linear-gradient(135deg, rgba(255,107,26,0.16), rgba(192,39,26,0.08));
}

.cc-side-primary {
  border-color: color-mix(in oklab, var(--flame-500) 70%, var(--border));
}

.cc-side-reference a {
  padding: 9px 11px;
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 980px) {
  .cc-dashboard-layout {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  /* Single column on mobile: title/logo first, then the Kalahari win,
     then the dashboard menu, then the rest of the dashboard. */
  .cc-home-sidebar,
  .cc-dashboard-hero,
  .cc-dashboard-kalahari,
  .cc-dashboard-primary {
    grid-column: 1;
    grid-row: auto;
  }
  .cc-dashboard-hero     { order: 1; }
  .cc-dashboard-kalahari { order: 2; }
  .cc-home-sidebar {
    position: static;
    order: 3;
  }
  .cc-dashboard-primary  { order: 4; }
  .cc-side-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cc-side-group p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .cc-side-group {
    grid-template-columns: 1fr;
  }
}

/* Hero */
.cc-hero {
  text-align: center;
  padding: var(--space-8) 0;
}
.cc-eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 700;
  margin: 0 0 var(--space-3);
}
.cc-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 6rem);
  line-height: 0.92;
  letter-spacing: 0.05em;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}
.cc-meta {
  margin: var(--space-4) 0 0;
  color: var(--text-muted);
  font-size: 15px;
}
.cc-meta-2 {
  margin: var(--space-2) 0 0;
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
}

/* KPI strip */
.cc-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  margin: var(--space-8) 0;
}
.cc-kpi {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--space-4);
  text-align: center;
}
.cc-kpi-highlight {
  border-color: var(--gold-500);
  background: linear-gradient(180deg, rgba(245,197,24,0.14), var(--surface));
  box-shadow: 0 14px 34px -22px rgba(245,197,24,0.5);
}
.cc-kpi-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--gold-400);
  line-height: 1;
}
.cc-kpi-label {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 600;
}
.cc-kpi-note {
  display: block;
  margin-top: 6px;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}
.cc-start-flow {
  margin: 0 0 var(--space-5);
}
.cc-start-flow h2 {
  margin: 0 0 var(--space-4);
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1;
  letter-spacing: 0.02em;
}
.cc-flow-label {
  margin: 0 0 var(--space-2);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.cc-flow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}
.cc-flow-steps div {
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--bg-elev);
  padding: var(--space-4);
}
.cc-flow-steps strong,
.cc-flow-steps span {
  display: block;
}
.cc-flow-steps strong {
  color: var(--text);
  margin-bottom: 6px;
}
.cc-flow-steps span {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.45;
}
/* This week's goals — focal point at top of dashboard */
.cc-week-goals {
  margin: 0 0 var(--space-6);
  padding: var(--space-6);
  border-radius: var(--r-lg);
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--flame-500);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(255,107,26,0.10), transparent 55%),
    var(--surface);
  box-shadow: var(--shadow-md);
}
.cc-week-head {
  margin-bottom: var(--space-5);
}
.cc-week-label {
  margin: 0 0 var(--space-2);
  color: var(--flame-200);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.cc-week-goals h2 {
  margin: 0 0 var(--space-2);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.02;
  letter-spacing: 0.02em;
}
.cc-week-sub {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}
.cc-week-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}
.cc-week-item {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg-elev);
  transition: border-color .15s, background .15s, transform .15s;
}
.cc-week-item:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
}
.cc-week-check {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  cursor: pointer;
}
/* Visually hide the native checkbox but keep it accessible/clickable */
.cc-week-check input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
  white-space: nowrap;
}
.cc-week-box {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  border: 2px solid var(--border-strong);
  background: var(--surface);
  position: relative;
  transition: border-color .15s, background .15s;
}
.cc-week-box::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 3px;
  width: 6px;
  height: 12px;
  border: solid var(--cream);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg) scale(0);
  transition: transform .15s ease-out;
}
.cc-week-check input:checked ~ .cc-week-box {
  background: var(--flame-500);
  border-color: var(--flame-500);
}
.cc-week-check input:checked ~ .cc-week-box::after {
  transform: rotate(45deg) scale(1);
}
.cc-week-check input:focus-visible ~ .cc-week-box {
  outline: 2px solid var(--flame-400);
  outline-offset: 2px;
}
.cc-week-num {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--flame-200);
  min-width: 16px;
  text-align: center;
}
.cc-week-text {
  color: var(--cream);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.4;
  font-weight: 500;
}
.cc-week-text a {
  color: var(--flame-200);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cc-week-item.is-done .cc-week-text {
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: var(--flame-500);
}
.cc-week-item.is-done .cc-week-num {
  color: var(--text-muted);
}
.cc-week-reset {
  margin-top: var(--space-4);
  background: none;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: color .15s, border-color .15s;
}
.cc-week-reset:hover {
  color: var(--cream);
  border-color: var(--flame-500);
}
@media (max-width: 640px) {
  .cc-week-goals { padding: var(--space-5); }
  .cc-week-check { gap: var(--space-3); padding: var(--space-4); }
}

/* Team weekly check-in — attached below the weekly goals list */
.cc-checkin {
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
}
.cc-checkin-head {
  margin-bottom: var(--space-4);
}
.cc-checkin-title {
  margin: var(--space-2) 0 var(--space-2);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.cc-checkin-sub {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}
.cc-checkin-form .field {
  margin-bottom: var(--space-4);
}
.cc-checkin-form .field em {
  font-style: normal;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-faint);
  font-weight: 600;
}
.cc-checkin-form .field textarea {
  min-height: 76px;
}
.cc-checkin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.cc-checkin-form [data-checkin-package-text] {
  margin-top: var(--space-2);
}
.cc-checkin-help {
  margin: 0 0 var(--space-4);
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}
.cc-checkin-help a { color: var(--flame-200); }
.cc-checkin-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-2);
}
.cc-checkin-status {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}
.cc-checkin-status.is-ok { color: var(--flame-200); }
.cc-checkin-status.is-warn { color: #ffd27a; }
.cc-checkin-status.is-error { color: #ff9a8a; }
.cc-checkin-summary {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}
.cc-checkin-summary-head {
  margin: 0 0 var(--space-3);
  color: var(--flame-200);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.cc-checkin-summary-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--space-2);
}
.cc-checkin-summary-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--bg-elev);
  font-size: 13px;
  color: var(--text-muted);
}
.cc-checkin-summary-list li .cc-checkin-team-name {
  color: var(--cream);
  font-weight: 600;
}
.cc-checkin-summary-list li.is-updated {
  border-color: var(--flame-500);
}
.cc-checkin-summary-list li.is-updated .cc-checkin-state {
  color: var(--flame-200);
  font-weight: 700;
}
.cc-checkin-summary-loading {
  border-style: dashed !important;
}
@media (max-width: 640px) {
  .cc-checkin-grid { grid-template-columns: 1fr; }
}

.cc-hero-compact {
  margin-top: var(--space-6);
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
  border-top: 1px solid var(--border);
}
.cc-hero-compact.cc-hero-top {
  margin-top: 0;
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
  border-top: 0;
}
.cc-hero-compact.cc-hero-top .hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
}
.cc-hero-compact.cc-hero-top .hero-art {
  max-width: 300px;
}
.cc-hero-compact .hero-title {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
}
.cc-hero-compact .hero-lede {
  margin-bottom: var(--space-5);
}
.cc-hero-compact .hero-meta {
  margin-bottom: var(--space-5);
}
.cc-hero-compact .hero-art {
  max-width: 360px;
  margin-left: auto;
}
@media (max-width: 640px) {
  .cc-kpis { grid-template-columns: repeat(2, 1fr); }
  .cc-flow-steps { grid-template-columns: 1fr; }
}

/* Two big action cards */
.cc-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}
.cc-action {
  display: block;
  text-decoration: none;
  border-radius: var(--r-md);
  padding: var(--space-6);
  border: 1px solid var(--border-strong);
  transition: transform .15s, border-color .15s, box-shadow .15s;
}
.cc-action:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.cc-action h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}
.cc-action p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}
.cc-action-primary {
  background: linear-gradient(135deg, rgba(255,107,26,0.16), rgba(192,39,26,0.12));
  border-color: var(--gold-500);
  color: var(--text);
}
.cc-action-primary h2, .cc-action-primary p { color: var(--text); }
.cc-action-secondary {
  background: var(--surface);
  color: var(--text);
}
.cc-action-secondary h2 { color: var(--text); }
.cc-action-secondary p { color: var(--text-muted); }
@media (max-width: 640px) {
  .cc-actions { grid-template-columns: 1fr; }
}

/* Meeting schedule */
.cc-meetings {
  margin: var(--space-8) 0;
  padding: clamp(var(--space-5), 4vw, var(--space-7));
  background: color-mix(in oklab, var(--surface) 92%, var(--gold-500));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.cc-meetings-head {
  display: flex;
  justify-content: space-between;
  gap: var(--space-5);
  align-items: end;
  margin-bottom: var(--space-4);
}
.cc-meetings-head .section-title {
  margin-bottom: 0;
}
.cc-meetings-head p:last-child {
  max-width: 460px;
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}
.cc-next-meeting {
  padding: var(--space-3);
  margin-bottom: var(--space-4);
  background: rgba(245,197,24,0.07);
  border: 1px dashed var(--border-strong);
  border-radius: var(--r-md);
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.45;
}
.cc-next-meeting strong { color: var(--text); }
.cc-meeting-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: var(--space-2);
}
.cc-meeting-card {
  padding: var(--space-3);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: color-mix(in oklab, var(--bg) 74%, var(--surface));
}
.cc-meeting-card.is-next {
  border-color: var(--gold-500);
  background: linear-gradient(180deg, rgba(245,197,24,0.13), color-mix(in oklab, var(--bg) 76%, var(--surface)));
}
.cc-meeting-card.is-event {
  border-color: var(--flame-500);
  background: linear-gradient(180deg, rgba(255,107,26,0.14), color-mix(in oklab, var(--bg) 76%, var(--surface)));
}
.cc-meeting-label {
  display: inline-flex;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.cc-meeting-card h3 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.15;
  letter-spacing: 0.02em;
}
.cc-meeting-card p {
  margin: 4px 0 0;
  color: var(--text-muted);
  font-size: 12.5px;
  line-height: 1.4;
}
.cc-meeting-countdown {
  display: inline-flex;
  margin-top: var(--space-2);
  padding: 3px 9px;
  border-radius: 999px;
  color: var(--text);
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border);
  font-size: 11px;
  font-weight: 700;
}
@media (max-width: 760px) {
  .cc-meetings-head {
    display: grid;
    align-items: start;
  }
  .cc-meeting-grid {
    grid-template-columns: 1fr;
  }
}

/* Section title */
.cc-section-title {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: var(--space-8) 0 var(--space-3);
  font-weight: 700;
}

/* Tile grid */
.cc-tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-3);
  margin-bottom: var(--space-10);
}
.cc-tile {
  display: block;
  text-decoration: none;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--space-4);
  transition: border-color .15s, background .15s, transform .15s;
}
.cc-tile:hover { border-color: var(--gold-500); background: var(--surface-2); }
.cc-tile h4 {
  font-family: var(--font-display);
  margin: 0 0 4px;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--text);
}
.cc-tile p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

.cc-tagline {
  text-align: center;
  font-style: italic;
  color: var(--text-faint);
  font-size: 14px;
  margin: var(--space-10) auto 0;
  max-width: 600px;
}

/* ────── Page layouts (Sponsor/Raffle/Log/etc) ────── */

.cc-page-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}
.cc-page-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 0;
  letter-spacing: 0.02em;
}
.cc-page-sub {
  margin: 4px 0 0;
  color: var(--text-muted);
  font-size: 14px;
}

/* Cards / Panels */
.cc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--space-5);
  margin-bottom: var(--space-4);
}
.cc-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin: 0 0 var(--space-4);
}

/* Forms */
.cc-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-3);
  align-items: end;
}
.cc-form-row {
  display: flex; flex-direction: column; gap: 4px;
}
.cc-form label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 700;
}
.cc-input, .cc-select, .cc-textarea {
  width: 100%;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text);
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color .15s;
}
.cc-input:focus, .cc-select:focus, .cc-textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(245,197,24,0.18);
}
.cc-textarea { min-height: 80px; resize: vertical; }

/* Buttons */
.cc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  transition: background .15s, transform .1s;
}
.cc-btn-primary {
  background: var(--gold-500);
  color: #1a1100;
}
.cc-btn-primary:hover { background: var(--gold-400); }
.cc-btn-primary:active { transform: translateY(1px); }
.cc-btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.cc-btn-ghost:hover { background: var(--surface); border-color: var(--gold-500); color: var(--text); }
.cc-btn-sm { padding: 6px 12px; font-size: 11px; }
.cc-btn:disabled { opacity: .5; cursor: not-allowed; }

/* Tables */
.cc-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
}
.cc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.cc-table th, .cc-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}
.cc-table th {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 700;
  background: var(--bg-elev);
}
.cc-table tr:last-child td { border-bottom: none; }
.cc-table tr:hover td { background: var(--surface-2); }
.cc-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.05em;
  font-weight: 700;
}
.cc-status-confirmed { background: rgba(34,197,94,0.15); color: #6ee7a7; }
.cc-status-in-talks { background: rgba(245,197,24,0.15); color: var(--gold-400); }
.cc-status-no-answer { background: rgba(168,168,168,0.15); color: #cccccc; }
.cc-status-declined { background: rgba(168,35,35,0.20); color: #ff8e8e; }
.cc-status-not-contacted { background: rgba(40,76,146,0.20); color: var(--navy-300); }
.cc-status-wish-list { background: rgba(40,76,146,0.20); color: var(--navy-300); }
.cc-status-pending { background: rgba(245,197,24,0.15); color: var(--gold-400); }
.cc-status-received { background: rgba(34,197,94,0.15); color: #6ee7a7; }
.cc-status-paid { background: rgba(34,197,94,0.18); color: #6ee7a7; }

/* Empty / loading states */
.cc-empty, .cc-loading {
  text-align: center;
  padding: var(--space-8);
  color: var(--text-muted);
  font-style: italic;
}

/* Filter bar */
.cc-filter-bar {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-4);
  align-items: center;
}
.cc-filter-bar .cc-input,
.cc-filter-bar .cc-select { max-width: 240px; }

/* Tier cards */
.cc-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-3);
  margin: var(--space-4) 0 var(--space-6);
}
.cc-tier {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--space-4);
}
.cc-tier-name {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 1.2rem;
}
.cc-tier-amount {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold-400);
  font-weight: 700;
  margin: 2px 0 8px;
}
.cc-tier ul { margin: 0; padding-left: 18px; font-size: 13px; color: var(--text-muted); }
.cc-tier li { margin-bottom: 4px; }
.cc-tier-presenting { border-color: var(--red-500); }
.cc-tier-presenting .cc-tier-amount { color: var(--red-500); }
.cc-tier-chief { border-color: var(--gold-500); }
.cc-tier-lieutenant { border-color: var(--navy-300); }
.cc-tier-firefighter { border-color: var(--border-strong); }

/* Script/playbook tabs */
.cc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-4);
}
.cc-tab {
  padding: 10px 16px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.cc-tab[aria-selected="true"] {
  color: var(--gold-400);
  border-bottom-color: var(--gold-400);
}
.cc-tab-panel { display: none; }
.cc-tab-panel.active { display: block; }
.cc-script {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: var(--space-4);
  white-space: pre-wrap;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  font-family: inherit;
  position: relative;
}
.cc-script-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}
@media (max-width: 980px) {
  .cc-script-grid {
    grid-template-columns: 1fr;
  }
}
.cc-copy-btn {
  position: absolute; top: 12px; right: 12px;
}

/* Toast */
.cc-toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--surface-2);
  border: 1px solid var(--gold-500);
  color: var(--text);
  padding: 12px 20px;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  transition: transform .25s ease-out;
  z-index: 100;
  max-width: 90vw;
}
.cc-toast.show { transform: translateX(-50%) translateY(0); }
.cc-toast.error { border-color: var(--red-500); }

/* Workflow steps */
.cc-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-3);
  margin: var(--space-4) 0;
}
.cc-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--space-4);
  position: relative;
}
.cc-step-num {
  display: inline-block;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gold-500);
  color: #1a1100;
  font-weight: 700;
  text-align: center;
  line-height: 32px;
  margin-bottom: 8px;
}
.cc-step h4 {
  font-family: var(--font-display);
  margin: 0 0 4px;
}
.cc-step p { margin: 0; font-size: 13px; color: var(--text-muted); }

/* Category list (sponsorship playbook) */
.cc-cats { list-style: none; padding: 0; margin: 0; }
.cc-cat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin-bottom: var(--space-2);
  overflow: hidden;
}
.cc-cat summary {
  cursor: pointer;
  padding: var(--space-3) var(--space-4);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cc-cat[open] summary { border-bottom: 1px solid var(--border); background: var(--surface-2); }
.cc-cat-num {
  display: inline-block;
  background: var(--gold-500);
  color: #1a1100;
  width: 26px; height: 26px;
  border-radius: 6px;
  font-size: 13px;
  text-align: center;
  line-height: 26px;
  flex-shrink: 0;
}
.cc-cat-body {
  padding: var(--space-4);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
.cc-cat-body strong { color: var(--text); }

/* Followup sequence */
.cc-seq {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: var(--space-2);
  margin: var(--space-4) 0;
}
.cc-seq-day {
  background: var(--gold-500);
  color: #1a1100;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 10px 0;
  border-radius: var(--r-sm);
  font-size: 14px;
}
.cc-seq-action {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  font-size: 14px;
}

/* Objections */
.cc-obj {
  background: var(--surface);
  border-left: 3px solid var(--red-500);
  border-radius: var(--r-sm);
  padding: var(--space-4);
  margin-bottom: var(--space-3);
}
.cc-obj-q {
  font-weight: 700;
  color: var(--gold-400);
  margin: 0 0 8px;
  font-size: 14px;
}
.cc-obj-a {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Team grid */
.cc-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--space-3);
}
.cc-team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--space-4);
  text-align: center;
}
.cc-team-initials {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--navy-700);
  color: var(--gold-400);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.cc-team-card .name { font-weight: 700; margin: 0; font-size: 14px; }
.cc-team-card .role { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.cc-card-headline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}
.cc-card-sub {
  margin: 4px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}
.cc-inline-form {
  margin: 0 0 var(--space-5);
  padding: var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg-elev);
}
.cc-form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
}
.cc-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-3);
}
.cc-contact-card {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  padding: var(--space-4);
}
.cc-contact-card h4 {
  margin: 0 0 4px;
  color: var(--text);
  font-size: 15px;
}
.cc-contact-card p {
  margin: 0 0 var(--space-2);
  color: var(--text-muted);
  font-size: 12px;
}
.cc-contact-card a {
  color: var(--text);
  font-size: 13px;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Calm down orange text accents. Keep orange for buttons and borders, but make words readable. */
.cc-card a:not(.cc-btn),
.cc-card strong[style*="--flame"],
.cc-card strong[style*="--gold"],
.cc-card strong[style*="--primary"],
.cc-card p[style*="--flame"],
.cc-card p[style*="--gold"],
.cc-card p[style*="--primary"],
.cc-card a[style*="--flame"],
.cc-card a[style*="--gold"],
.cc-card a[style*="--primary"] {
  color: var(--text) !important;
}

.cc-card a:not(.cc-btn),
.cc-card a[style*="--flame"],
.cc-card a[style*="--gold"],
.cc-card a[style*="--primary"] {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cc-topnav-body [style*="color:var(--flame"],
.cc-topnav-body [style*="color: var(--flame"],
.cc-topnav-body [style*="color:var(--gold"],
.cc-topnav-body [style*="color: var(--gold"] {
  color: var(--text) !important;
}

.cc-topnav-body a[style*="color:var(--flame"],
.cc-topnav-body a[style*="color: var(--flame"],
.cc-topnav-body a[style*="color:var(--gold"],
.cc-topnav-body a[style*="color: var(--gold"] {
  text-decoration: underline;
  text-underline-offset: 3px;
}
