/* ─────────────────────────────────────────────────────────────────
   MissionControl mockup — shared styles
   DS v2 design tokens + SharedNav + page layout + component library
   All 4 section mockups link to this one file.
   ───────────────────────────────────────────────────────────────── */

@import url("../../.claude/skills/datastudios-design/colors_and_type.css");

/* ─── RESET ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ds-bg);
  font-family: var(--ds-font-body);
  color: var(--ds-text-primary);
  -webkit-font-smoothing: antialiased;
}

/* ─── NAV ─────────────────────────────────────────────────────────── */
.ds-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--ds-dark);
  height: 56px;
  border-bottom: 1px solid var(--ds-border-dark);
}
.ds-nav__inner {
  max-width: var(--ds-container-max);
  margin: 0 auto;
  padding: 0 var(--ds-container-pad);
  height: 100%;
  display: flex;
  align-items: center;
}
.ds-nav__brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 48px;
  text-decoration: none;
}
.ds-nav__wordmark {
  height: 28px;
  width: auto;
  display: block;
}
.ds-nav__items {
  display: flex;
  height: 100%;
  align-items: stretch;
  gap: 0;
}
.ds-nav__item {
  display: flex;
  align-items: center;
  padding: 0 18px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-family: var(--ds-font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.52);
  cursor: pointer;
  transition: color 150ms, border-color 150ms;
  white-space: nowrap;
}
.ds-nav__item:hover,
.ds-nav__item.is-open { color: rgba(255,255,255,0.88); }
.ds-nav__item.is-active {
  color: #fff;
  border-bottom-color: rgba(255,255,255,0.8);
}
.ds-nav__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
}
.ds-nav__logout {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0 6px 20px;
  border: none;
  border-left: 1px solid var(--ds-border-dark);
  background: none;
  font-family: var(--ds-font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.38);
  cursor: pointer;
  transition: color 150ms;
}
.ds-nav__logout:hover { color: rgba(255,255,255,0.7); }

/* ─── MEGAMENU ────────────────────────────────────────────────────── */
.ds-megamenu {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--ds-surface);
  border-bottom: 1px solid var(--ds-border);
  box-shadow: 0 12px 32px rgba(23,23,23,0.09), 0 2px 6px rgba(23,23,23,0.04);
  pointer-events: none;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 180ms var(--ds-ease), transform 220ms var(--ds-ease);
}
.ds-megamenu.is-open {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}
.ds-megamenu__inner {
  max-width: var(--ds-container-max);
  margin: 0 auto;
  padding: 0 var(--ds-container-pad);
  display: flex;
  flex-direction: column;
}
.ds-megamenu__body {
  display: flex;
  padding: 28px 0 20px;
}
.ds-megamenu__left {
  width: 196px;
  flex-shrink: 0;
  padding-right: 28px;
  border-right: 1px solid var(--ds-border);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.ds-megamenu__num {
  font-family: var(--ds-font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.ds-megamenu__section-name {
  font-family: var(--ds-font-display);
  font-size: 21px;
  font-weight: 700;
  color: var(--ds-text-primary);
  letter-spacing: -0.3px;
  line-height: 1.1;
  margin-bottom: 10px;
}
.ds-megamenu__desc {
  font-family: var(--ds-font-body);
  font-size: 12px;
  font-style: italic;
  color: var(--ds-text-muted);
  line-height: 1.55;
}
.ds-megamenu__groups {
  flex: 1;
  padding-left: 36px;
  display: flex;
  gap: 0;
}
.ds-megamenu__group {
  flex: 1;
  padding-right: 28px;
}
.ds-megamenu__group:last-child { padding-right: 0; }
.ds-megamenu__group-label {
  font-family: var(--ds-font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ds-text-dim);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ds-border);
}
.ds-megamenu__link {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  text-decoration: none;
  cursor: pointer;
}
.ds-megamenu__link:hover .ds-megamenu__icon-tile { opacity: 0.8; }
.ds-megamenu__link:hover .ds-megamenu__link-name { opacity: 0.6; }
.ds-megamenu__icon-tile {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 150ms;
}
.ds-megamenu__link-name {
  display: block;
  font-family: var(--ds-font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ds-text-primary);
  margin-bottom: 2px;
  transition: opacity 150ms;
}
.ds-megamenu__link-desc {
  display: block;
  font-family: var(--ds-font-body);
  font-size: 11px;
  color: var(--ds-text-muted);
  line-height: 1.4;
}
.ds-megamenu__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 12px;
  border-top: 1px solid var(--ds-border);
}
.ds-megamenu__bar-meta {
  font-family: var(--ds-font-body);
  font-size: 10px;
  color: var(--ds-text-dim);
  letter-spacing: 0.06em;
}
.ds-megamenu__view-all {
  font-family: var(--ds-font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 150ms;
}
.ds-megamenu__view-all:hover { opacity: 0.6; }
.ds-megamenu__app-grid {
  flex: 1;
  padding-left: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-content: start;
}
.ds-megamenu__app-card {
  background: var(--ds-surface-alt);
  border: 1px solid var(--ds-border);
  border-radius: 10px;
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  transition: border-color 150ms;
}
.ds-megamenu__app-card:hover { border-color: var(--ds-border-subtle); }
.ds-megamenu__app-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.ds-megamenu__app-card-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ds-megamenu__app-card-title {
  font-family: var(--ds-font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--ds-text-primary);
  line-height: 1.1;
}
.ds-megamenu__app-card-sub {
  font-family: var(--ds-font-body);
  font-size: 10px;
  color: var(--ds-text-muted);
  margin-top: 1px;
}
.ds-megamenu__app-card-links {
  border-top: 1px solid var(--ds-border);
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}
.ds-megamenu__app-card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px 0;
  font-family: var(--ds-font-body);
  font-size: 11px;
  color: var(--ds-text-secondary);
  text-decoration: none;
  transition: color 150ms;
}
.ds-megamenu__app-card-link:hover { color: var(--ds-text-primary); }
.ds-megamenu__app-card-link-arrow {
  font-size: 10px;
  opacity: 0;
  transition: opacity 150ms;
}
.ds-megamenu__app-card-link:hover .ds-megamenu__app-card-link-arrow { opacity: 1; }
.ds-megamenu__app-card-open {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--ds-font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  margin-top: auto;
  transition: opacity 150ms;
}
.ds-megamenu__app-card-open:hover { opacity: 0.6; }
.ds-mega-overlay {
  display: none;
  position: fixed;
  inset: 56px 0 0 0;
  z-index: 998;
}
.ds-mega-overlay.is-active { display: block; }

/* ─── PAGE LAYOUT ─────────────────────────────────────────────────── */
.mc-page {
  max-width: var(--ds-container-max);
  margin: 0 auto;
  padding: 36px var(--ds-container-pad) 64px;
}
.mc-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
}
.mc-page-header-left { display: flex; flex-direction: column; gap: 4px; }
.mc-page-eyebrow {
  font-family: var(--ds-font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ds-text-dim);
  margin-bottom: 6px;
}
.mc-page-title {
  font-family: var(--ds-font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.4px;
  color: var(--ds-text-primary);
  line-height: 1;
}
.mc-page-desc {
  font-family: var(--ds-font-body);
  font-size: 13px;
  color: var(--ds-text-muted);
  margin-top: 6px;
}
.mc-page-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* ─── BUTTONS ─────────────────────────────────────────────────────── */
.mc-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  border-radius: var(--ds-radius-button);
  font-family: var(--ds-font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  padding: 8px 14px;
  transition: opacity 150ms;
  text-decoration: none;
}
.mc-btn:hover { opacity: 0.82; }
.mc-btn--primary {
  background: #2876D4;
  color: #fff;
}
.mc-btn--ghost {
  background: var(--ds-surface);
  border: 1px solid var(--ds-border);
  color: var(--ds-text-secondary);
}
.mc-btn--sm {
  font-size: 11px;
  padding: 5px 10px;
}
.mc-btn--icon-only {
  padding: 7px;
}

/* ─── DIVIDER ─────────────────────────────────────────────────────── */
.mc-divider {
  height: 1px;
  background: var(--ds-border);
  margin: 24px 0;
}

/* ─── BADGES ─────────────────────────────────────────────────────── */
.mc-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: var(--ds-radius-pill);
  font-family: var(--ds-font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
}
.mc-badge--blue   { background: var(--ds-blue-soft);   color: var(--ds-blue-soft-fg);   border: 1px solid var(--ds-blue-soft-bd); }
.mc-badge--green  { background: var(--ds-green-soft);  color: var(--ds-green-soft-fg);  border: 1px solid var(--ds-green-soft-bd); }
.mc-badge--orange { background: var(--ds-orange-soft); color: var(--ds-orange-soft-fg); border: 1px solid var(--ds-orange-soft-bd); }
.mc-badge--yellow { background: var(--ds-yellow-soft); color: var(--ds-yellow-soft-fg); border: 1px solid var(--ds-yellow-soft-bd); }
.mc-badge--muted  { background: #f5f5f5; color: var(--ds-text-muted); border: 1px solid var(--ds-border); }
.mc-badge--dark   { background: var(--ds-dark); color: rgba(255,255,255,0.75); border: none; }
.mc-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--ds-radius-pill);
  display: inline-block;
  flex-shrink: 0;
}

/* ─── FILTER BAR ─────────────────────────────────────────────────── */
.mc-filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.mc-search-wrap {
  position: relative;
  flex: 1;
  min-width: 200px;
  max-width: 340px;
}
.mc-search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--ds-text-dim);
}
.mc-search {
  width: 100%;
  height: 34px;
  padding: 0 12px 0 32px;
  background: var(--ds-surface);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-sm);
  font-family: var(--ds-font-body);
  font-size: 13px;
  color: var(--ds-text-primary);
  outline: none;
  transition: border-color 150ms;
}
.mc-search::placeholder { color: var(--ds-text-dim); }
.mc-search:focus { border-color: var(--ds-border-subtle); }

.mc-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.mc-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  padding: 0 12px;
  border-radius: var(--ds-radius-pill);
  border: 1px solid var(--ds-border);
  background: var(--ds-surface);
  font-family: var(--ds-font-body);
  font-size: 11px;
  font-weight: 500;
  color: var(--ds-text-secondary);
  cursor: pointer;
  transition: border-color 150ms, color 150ms;
  white-space: nowrap;
}
.mc-chip:hover { border-color: var(--ds-border-subtle); color: var(--ds-text-primary); }
.mc-chip.is-active {
  background: var(--ds-dark);
  border-color: var(--ds-dark);
  color: #fff;
}
.mc-chip-count {
  font-size: 10px;
  font-weight: 700;
  opacity: 0.55;
}

.mc-select {
  height: 30px;
  padding: 0 28px 0 10px;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-sm);
  background: var(--ds-surface);
  font-family: var(--ds-font-body);
  font-size: 12px;
  color: var(--ds-text-secondary);
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23a3a3a3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 9px center;
}

/* ─── STATUS FILTER TABS ──────────────────────────────────────────── */
.mc-tab-bar {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--ds-border);
  padding-bottom: 0;
}
.mc-tab {
  padding: 8px 14px 10px;
  font-family: var(--ds-font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--ds-text-muted);
  border: none;
  border-bottom: 2px solid transparent;
  background: none;
  cursor: pointer;
  margin-bottom: -1px;
  transition: color 150ms, border-color 150ms;
  white-space: nowrap;
}
.mc-tab:hover { color: var(--ds-text-primary); }
.mc-tab.is-active {
  color: var(--ds-text-primary);
  border-bottom-color: var(--ds-text-primary);
  font-weight: 600;
}

/* ─── STAT CARDS (Overview) ───────────────────────────────────────── */
.mc-stat-section {
  margin-bottom: 32px;
}
.mc-stat-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.mc-stat-section-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--ds-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mc-stat-section-label {
  font-family: var(--ds-font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ds-text-muted);
}
.mc-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.mc-stat-card {
  background: var(--ds-surface);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  padding: 18px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mc-stat-label {
  font-family: var(--ds-font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ds-text-muted);
}
.mc-stat-value {
  font-family: var(--ds-font-display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: var(--ds-text-primary);
  line-height: 1;
  margin: 4px 0;
}
.mc-stat-meta {
  font-family: var(--ds-font-body);
  font-size: 11px;
  color: var(--ds-text-dim);
}
.mc-stat-trend-up   { color: var(--ds-green-soft-fg); }
.mc-stat-trend-down { color: var(--ds-orange-soft-fg); }

/* ─── CLIENT CARDS (Agency) ───────────────────────────────────────── */
.mc-client-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.mc-client-card {
  background: var(--ds-surface);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 150ms;
}
.mc-client-card:hover { border-color: var(--ds-border-subtle); }
.mc-client-card-head {
  padding: 20px 20px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-bottom: 1px solid var(--ds-border);
}
.mc-client-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--ds-radius-md);
  background: var(--ds-blue-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mc-client-name {
  font-family: var(--ds-font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--ds-text-primary);
  letter-spacing: -0.2px;
  line-height: 1.2;
  margin-bottom: 4px;
}
.mc-client-card-body {
  padding: 14px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mc-client-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mc-client-meta-label {
  font-family: var(--ds-font-body);
  font-size: 11px;
  color: var(--ds-text-dim);
  letter-spacing: 0.04em;
}
.mc-client-meta-value {
  font-family: var(--ds-font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--ds-text-secondary);
}
.mc-client-card-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--ds-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.mc-client-card-btns {
  display: flex;
  gap: 6px;
}

/* ─── JOB LIST (Leads) ────────────────────────────────────────────── */
.mc-job-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--ds-surface);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  overflow: hidden;
}
.mc-job-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--ds-border);
  transition: background 150ms;
  cursor: pointer;
}
.mc-job-row:last-child { border-bottom: none; }
.mc-job-row:hover { background: var(--ds-surface-alt); }
.mc-job-main { flex: 1; min-width: 0; }
.mc-job-title {
  font-family: var(--ds-font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--ds-text-primary);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mc-job-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ds-font-body);
  font-size: 11px;
  color: var(--ds-text-muted);
}
.mc-job-platform {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mc-job-sep { color: var(--ds-border); }
.mc-job-budget {
  font-family: var(--ds-font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--ds-text-secondary);
  white-space: nowrap;
  min-width: 100px;
  text-align: right;
}
.mc-job-score {
  width: 36px;
  height: 36px;
  border-radius: var(--ds-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ds-font-body);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.mc-job-score--high { background: var(--ds-green-soft); color: var(--ds-green-soft-fg); }
.mc-job-score--med  { background: var(--ds-yellow-soft); color: var(--ds-yellow-soft-fg); }
.mc-job-score--low  { background: var(--ds-orange-soft); color: var(--ds-orange-soft-fg); }

/* ─── TOPIC CARDS (Content) ───────────────────────────────────────── */
.mc-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.mc-topic-card {
  background: var(--ds-surface);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 150ms;
}
.mc-topic-card:hover { border-color: var(--ds-border-subtle); }
.mc-topic-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.mc-topic-title {
  font-family: var(--ds-font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ds-text-primary);
  letter-spacing: -0.1px;
  line-height: 1.3;
}
.mc-topic-origin {
  font-family: var(--ds-font-body);
  font-size: 11px;
  color: var(--ds-text-dim);
  line-height: 1.4;
}
.mc-topic-quote {
  font-family: var(--ds-font-body);
  font-size: 11px;
  color: var(--ds-text-muted);
  font-style: italic;
  line-height: 1.5;
  padding-left: 10px;
  border-left: 2px solid var(--ds-border-subtle);
}
.mc-topic-progress-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mc-topic-progress-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--ds-font-body);
  font-size: 10px;
  color: var(--ds-text-dim);
}
.mc-topic-progress-bar {
  height: 3px;
  border-radius: var(--ds-radius-pill);
  background: var(--ds-border);
  overflow: hidden;
}
.mc-topic-progress-fill {
  height: 100%;
  border-radius: var(--ds-radius-pill);
  background: var(--ds-green-soft-fg);
}
.mc-topic-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 4px;
  border-top: 1px solid var(--ds-border);
  margin-top: 2px;
}
.mc-topic-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: var(--ds-radius-sm);
  border: 1px solid var(--ds-border);
  background: none;
  font-family: var(--ds-font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ds-text-secondary);
  cursor: pointer;
  transition: background 150ms, border-color 150ms;
}
.mc-topic-action-btn:hover {
  background: var(--ds-surface-alt);
  border-color: var(--ds-border-subtle);
}
.mc-topic-action-btn--primary {
  background: var(--ds-green-soft);
  border-color: var(--ds-green-soft-bd);
  color: var(--ds-green-soft-fg);
}
.mc-topic-action-btn--danger {
  color: var(--ds-orange-soft-fg);
  border-color: transparent;
}
.mc-topic-action-btn--danger:hover {
  background: var(--ds-orange-soft);
  border-color: var(--ds-orange-soft-bd);
}

/* ─── SECTION HEADER BAR ──────────────────────────────────────────── */
.mc-section-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.mc-section-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mc-view-toggle {
  display: flex;
  align-items: center;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-sm);
  overflow: hidden;
}
.mc-view-toggle-btn {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--ds-surface);
  color: var(--ds-text-dim);
  cursor: pointer;
  transition: background 150ms;
}
.mc-view-toggle-btn.is-active {
  background: var(--ds-dark);
  color: #fff;
}

/* ─── EMPTY STATE ─────────────────────────────────────────────────── */
.mc-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 32px;
  text-align: center;
  color: var(--ds-text-dim);
}
.mc-empty-icon {
  margin-bottom: 14px;
  opacity: 0.35;
}
.mc-empty-text {
  font-family: var(--ds-font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ds-text-muted);
  margin-bottom: 4px;
}
.mc-empty-sub {
  font-family: var(--ds-font-body);
  font-size: 12px;
  color: var(--ds-text-dim);
}
