/* PR-0213 — Mission Control home (HUD + carousel) */
.mc-home {
  --home-max: 72rem;
  --home-cyan: #3de0ff;
  --home-gold: #e8b84a;
  --home-ok: #3dff9a;
  --home-muted: #7a8899;
  --home-text: #c5d0dc;
}

.mc-home .hud-wrap {
  max-width: var(--home-max);
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

/* Nav — shared pattern */
.mc-site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 0.75rem;
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(5, 10, 18, 0.96), rgba(5, 10, 18, 0.72) 70%, transparent);
  backdrop-filter: blur(8px);
}

.mc-site-nav .nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--home-cyan);
}

.mc-site-nav .nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 0 12px rgba(61, 224, 255, 0.25);
}

.mc-site-nav .mc-nav-word {
  font-family: Orbitron, system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.mc-site-nav .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: "Share Tech Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mc-site-nav .nav-links a {
  color: var(--home-muted);
  text-decoration: none;
  padding: 0.35rem 0.15rem;
  border-bottom: 1px solid transparent;
}

.mc-site-nav .nav-links a:hover,
.mc-site-nav .nav-links a:focus-visible {
  color: var(--home-cyan);
  outline: none;
}

.mc-site-nav .nav-links a.active,
.mc-site-nav .nav-links a[aria-current="page"] {
  color: var(--home-cyan);
  border-bottom-color: rgba(61, 224, 255, 0.55);
}

.mc-site-nav .nav-links a.nav-cta {
  color: #041018;
  background: var(--home-cyan);
  border-radius: 4px;
  padding: 0.4rem 0.7rem;
  border-bottom: none;
  box-shadow: 0 0 16px rgba(61, 224, 255, 0.25);
}

.mc-site-nav .nav-links a.nav-cta:hover {
  color: #041018;
  filter: brightness(1.08);
}

/* Hero */
.mc-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 1.75rem 2rem;
  align-items: center;
  padding: 1.25rem 0 1.75rem;
  min-height: min(72vh, 38rem);
}

.mc-home-hero__stage {
  min-width: 0;
}

.mc-home-hero__kicker {
  font-family: "Share Tech Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--home-cyan);
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}

.mc-home-hero__title {
  font-family: Orbitron, system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  line-height: 1.1;
  color: var(--home-cyan);
  text-shadow: 0 0 28px rgba(61, 224, 255, 0.28);
  margin: 0 0 1rem;
}

.mc-home-hero__lede {
  color: var(--home-text);
  line-height: 1.65;
  max-width: 34rem;
  margin: 0 0 1.35rem;
  font-size: 1.02rem;
}

.mc-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.mc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: "Share Tech Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  padding: 0.75rem 1.15rem;
  border: 1px solid transparent;
  transition: border-color 0.15s, box-shadow 0.15s, color 0.15s, background 0.15s;
}

.mc-btn--primary {
  background: var(--home-cyan);
  color: #041018;
  box-shadow: 0 0 22px rgba(61, 224, 255, 0.28);
}

.mc-btn--primary:hover {
  filter: brightness(1.06);
}

.mc-btn--ghost {
  color: var(--home-cyan);
  border-color: rgba(61, 224, 255, 0.35);
  background: rgba(0, 24, 40, 0.45);
}

.mc-btn--ghost:hover {
  border-color: rgba(61, 224, 255, 0.65);
  box-shadow: 0 0 14px rgba(61, 224, 255, 0.15);
}

.mc-home-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--gap-micro, 0.35rem);
}

.mc-home-pill {
  font-family: var(--font-mono, "Share Tech Mono", ui-monospace, monospace);
  font-size: var(--type-kicker, 0.68rem);
  letter-spacing: var(--track-normal, 0.06em);
  text-transform: uppercase;
  color: var(--text-muted, var(--home-muted));
  border: 1px solid var(--border-default, rgba(61, 224, 255, 0.22));
  border-radius: var(--radius-chip, 999px);
  padding: 0.32rem 0.6rem;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  background: rgba(0, 16, 28, 0.45);
  box-shadow: inset 0 1px 0 rgba(0, 229, 255, 0.08);
}

.mc-home-pill--ok {
  color: var(--home-ok);
  border-color: rgba(61, 255, 154, 0.32);
}

.mc-home-pill--gold {
  color: var(--home-gold, var(--hud-gold, #e8b84a));
  border-color: rgba(232, 184, 74, 0.35);
}

/* Carousel (ReconAI / showcase inspired — pure CSS+JS, no CDN) */
.mc-carousel {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(61, 224, 255, 0.28);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(61, 224, 255, 0.08),
    0 0 0 1px rgba(61, 224, 255, 0.08),
    inset 0 0 40px rgba(0, 80, 120, 0.12);
  background: #07101c;
  aspect-ratio: 16 / 10;
  min-height: 18rem;
  max-height: 28rem;
  width: 100%;
}

.mc-carousel__track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.mc-carousel__slide {
  flex: 0 0 100%;
  position: relative;
  min-width: 100%;
  width: 100%;
  height: 100%;
  margin: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(0, 60, 100, 0.35), #050a12 70%);
}

.mc-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(1.08) contrast(1.06);
}

/* Logos read better contained on dark stage */
.mc-carousel__slide--logo img {
  object-fit: contain;
  object-position: center;
  padding: 8% 10%;
  filter: none;
}

.mc-carousel__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 40%, rgba(3, 8, 16, 0.88) 100%),
    radial-gradient(ellipse at 50% 0%, transparent 40%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
}

.mc-carousel__caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  font-family: "Share Tech Mono", ui-monospace, monospace;
}

.mc-carousel__caption strong {
  display: block;
  color: #e8f6ff;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.mc-carousel__caption span {
  color: var(--home-muted);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

.mc-carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid rgba(61, 224, 255, 0.4);
  background: rgba(4, 12, 22, 0.72);
  color: var(--home-cyan);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  display: grid;
  place-items: center;
}

.mc-carousel__nav:hover {
  background: rgba(61, 224, 255, 0.12);
  box-shadow: 0 0 14px rgba(61, 224, 255, 0.2);
}

.mc-carousel__nav--prev { left: 0.65rem; }
.mc-carousel__nav--next { right: 0.65rem; }

.mc-carousel__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.45rem;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  pointer-events: none;
  /* dots sit under caption on mobile — nudge via padding on track only */
  display: none;
}

.mc-carousel__dots-row {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.mc-carousel__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  border: 1px solid rgba(61, 224, 255, 0.45);
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.mc-carousel__dot.is-active {
  background: var(--home-cyan);
  box-shadow: 0 0 8px rgba(61, 224, 255, 0.55);
}

/* Feature strip */
.mc-home-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin: 0.5rem 0 2rem;
}

.mc-home-card {
  border: 1px solid rgba(61, 224, 255, 0.16);
  border-radius: 10px;
  padding: 1rem 1.05rem;
  background: rgba(6, 18, 32, 0.55);
}

.mc-home-card__id {
  font-family: "Share Tech Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--home-gold);
  margin: 0 0 0.4rem;
}

.mc-home-card h2 {
  font-family: Orbitron, system-ui, sans-serif;
  font-size: 0.95rem;
  color: #e8f6ff;
  margin: 0 0 0.45rem;
  font-weight: 600;
}

.mc-home-card p {
  margin: 0;
  color: var(--home-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.mc-home-card a {
  color: var(--home-cyan);
}

/* Footer */
.mc-home-footer {
  border-top: 1px solid rgba(61, 224, 255, 0.12);
  padding: 1.25rem 0 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  align-items: center;
  font-family: "Share Tech Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  color: var(--home-muted);
  letter-spacing: 0.04em;
}

.mc-home-footer a {
  color: var(--home-muted);
  text-decoration: none;
}

.mc-home-footer a:hover {
  color: var(--home-cyan);
}

.mc-home-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
}

@media (max-width: 900px) {
  .mc-home-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 0.75rem;
  }

  .mc-home-strip {
    grid-template-columns: 1fr;
  }

  .mc-site-nav {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── Home as Mission Control board shell (NEW TASK + TASK ITEMS slots) ── */
.mc-home--board-shell {
  --home-cyan: #3de0ff;
  --home-gold: #e8b84a;
  --home-ok: #3dff9a;
  --home-muted: #7a8899;
}

/* ── Home header: brand LEFT · nav RIGHT (in-grid, not absolute) ── */
.mc-home--board-shell .header-card {
  position: relative;
  overflow: visible;
  padding-top: 0.7rem;
  padding-right: var(--gap-component, 1rem);
  padding-left: var(--gap-component, 1rem);
  align-items: stretch;
}

/* Beat body.dashboard-test-page .header-card { padding-top: 3.25rem } leftover for absolute nav. */
body.mc-home--board-shell.dashboard-test-page .header-card {
  padding-top: 0.7rem;
  overflow: visible;
}

.mc-home--board-shell .mc-header-auth,
.mc-home--board-shell .mc-header-auth--stacked {
  position: static;
  top: auto;
  right: auto;
  left: auto;
  z-index: 6;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 0.35rem;
  margin: 0;
  max-width: 100%;
  pointer-events: auto;
}

.mc-home--board-shell .mc-header-auth__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 0.4rem;
  width: 100%;
  max-width: 100%;
}

.mc-home--board-shell .mc-header-auth__row--nav {
  flex-wrap: wrap;
}

.mc-home--board-shell .mc-header-auth__row--session {
  flex-wrap: wrap;
}

/*
 * Full crystal nav button cards on home (self-contained).
 * Do not rely only on dashboard.css — DreamHost caches CSS max-age=30d;
 * home.css is version-bumped with the page so chrome cannot regress to plain text.
 */
.mc-home--board-shell .mc-header-auth__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 36px;
  padding: 0.4rem 0.8rem;
  font-family: "Orbitron", var(--font-display, system-ui, sans-serif);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--home-cyan, #3de0ff);
  text-decoration: none;
  opacity: 0.95;
  border: 1px solid rgba(61, 224, 255, 0.28);
  border-radius: 2px;
  background:
    linear-gradient(135deg, rgba(0, 229, 255, 0.1) 0%, transparent 48%),
    linear-gradient(180deg, rgba(18, 36, 62, 0.88) 0%, rgba(6, 16, 32, 0.92) 100%);
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.38),
    0 0 16px rgba(0, 229, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.mc-home--board-shell .mc-header-auth__link:hover,
.mc-home--board-shell .mc-header-auth__link:focus-visible,
.mc-home--board-shell .mc-header-auth__link[aria-current="page"] {
  /* PR-0341: color/glow only — size change reflowed wrap and stole Templates clicks. */
  opacity: 1;
  color: #ffffff;
  border-color: rgba(61, 224, 255, 0.65);
  outline: none;
  box-shadow:
    0 0 0 1px rgba(0, 229, 255, 0.28),
    0 8px 22px rgba(0, 160, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.mc-home--board-shell .mc-header-auth__link--out {
  color: rgba(180, 210, 230, 0.85);
  border-color: rgba(61, 224, 255, 0.18);
}

.mc-home--board-shell .mc-header-auth .mc-session-chip {
  margin-right: 0;
  flex: 0 1 auto;
  max-width: 12rem;
}

/* PR-0306 · 2-col header: logo | nav (HOST/LIVE/SEATS removed) */
.mc-home--board-shell .header-card.header-card--sections {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) max-content;
  grid-template-areas: "brand nav";
  align-items: center;
  column-gap: 1rem;
  row-gap: 0.5rem;
  overflow: visible !important;
}

/*
 * PR-0341: index.html body is also dashboard-test-page, so the board 3-col
 * (brand | widgets | nav, nav min 13rem) was winning and wrapping Templates
 * onto a second row that hover could not hit. Beat that !important grid.
 */
body.mc-home--board-shell.dashboard-test-page .header-card.header-card--sections {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) max-content !important;
  grid-template-areas: "brand nav" !important;
  align-items: center;
  column-gap: 1rem;
  row-gap: 0.5rem;
  overflow: visible !important;
  padding: 0.7rem 1rem 0.65rem !important;
}

.mc-home--board-shell .header-card--sections .header-section--brand,
body.mc-home--board-shell.dashboard-test-page .header-card--sections .header-section--brand {
  grid-area: brand;
  min-width: 0;
  overflow: hidden;
}

.mc-home--board-shell .header-card--sections .header-section--nav,
body.mc-home--board-shell.dashboard-test-page .header-card--sections .header-section--nav {
  grid-area: nav;
  min-width: 0;
  max-width: 100%;
  align-items: flex-end;
  justify-self: end;
  z-index: 6;
}

@media (min-width: 641px) {
  body.mc-home--board-shell.dashboard-test-page .header-card--sections .mc-header-auth__row--nav {
    flex-wrap: nowrap;
    width: max-content;
    max-width: 100%;
  }

  body.mc-home--board-shell.dashboard-test-page .header-card--sections .mc-header-auth__link {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

.mc-home--board-shell .header-section--widgets {
  display: none !important;
}

/* Hero always LEFT; HOST center; SEATS right, vertically centered */
.mc-home--board-shell .header-widgets--three-col {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 1fr);
  align-items: center;
  width: 100%;
  gap: var(--gap-element, 1rem);
  min-height: 4.5rem;
}

.mc-home--board-shell .header-widgets--three-col .hc-title {
  justify-self: start;
  align-self: center;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  max-width: none;
  padding: 0;
  overflow: visible;
}

/* Keep DIP-31 one-line Mission Control title on the home shell */
body.mc-home--board-shell.dashboard-test-page .header-card .hc-title h1,
.mc-home--board-shell .header-card--sections .header-section--brand h1,
.mc-home--board-shell .header-widgets--three-col .hc-title h1 {
  text-align: left;
  margin: 0;
  max-width: 100%;
  font-size: clamp(1.15rem, 4.2vw, 3.2rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.05;
  white-space: normal;
  overflow: hidden;
  overflow-wrap: break-word;
}

.mc-home--board-shell .hc-weather-center,
.mc-home--board-shell .hc-forecast-right {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.mc-home--board-shell .header-widgets--three-col .hc-title .header-kicker {
  text-align: left;
}

.mc-home--board-shell .hc-weather-center {
  justify-self: center;
  align-self: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.mc-home--board-shell .hc-forecast-right {
  justify-self: end;
  align-self: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-width: 0;
  gap: 0.35rem;
  padding-top: 0;
  padding-bottom: 0;
}

.mc-home--board-shell .hc-forecast-right .stat-label {
  margin: 0;
  line-height: 1.2;
}

.mc-home--board-shell .w-forecast.mc-home-seats,
.mc-home--board-shell .mc-home-seats {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0;
  padding-bottom: 0;
  overflow: visible;
  max-width: none;
}

.mc-home--board-shell .mc-home-host-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Share Tech Mono", ui-monospace, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--home-cyan);
  border: 1px solid rgba(61, 224, 255, 0.28);
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  margin: 0;
  line-height: 1.2;
  white-space: nowrap;
  min-height: 1.75rem;
  box-sizing: border-box;
}

/* Guest vs signed-in (mc-session-chip.js toggles .is-hidden / hidden) */
.mc-home--board-shell [data-mc-auth-user].is-hidden,
.mc-home--board-shell [data-mc-auth-guest].is-hidden {
  display: none !important;
}

/* NEW TASK slot — command center copy with left padding */
.mc-home-intake .mc-home-intake__body {
  padding: var(--gap-tight, 0.5rem) var(--gap-component, 1.25rem) var(--gap-element, 1rem)
    var(--gap-component, 1.25rem);
  padding-left: 1.35rem;
}

.mc-home-intake__kicker,
.mc-home-intake__title,
.mc-home-intake__lede {
  padding-left: 0.15rem; /* optical align under card edge */
}

/*
 * Split-screen fix (PR quick):
 * dashboard.css @ 981–1399px sets .header-card to a title/clock/btc/weather grid
 * and .header-widgets { display: contents }. That rips HOST/SEATS out of the
 * three-col and paints HOST over "MISSION CONTROL". Undo on home only.
 */
@media (min-width: 901px) and (max-width: 1399px) {
  .mc-home--board-shell .header-card:not(.header-card--sections) {
    display: block;
    overflow: visible;
    grid-template-columns: none;
    grid-template-areas: none;
  }

  body.mc-home--board-shell.dashboard-test-page .header-card--sections .header-section--brand h1 {
    white-space: normal;
    overflow: hidden;
  }

  .mc-home--board-shell .header-card .header-widgets,
  .mc-home--board-shell .header-widgets--three-col {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: none;
    justify-items: start;
    align-items: start;
    gap: 0.65rem 1rem;
    width: 100%;
  }

  .mc-home--board-shell .header-widgets--three-col .hc-title,
  .mc-home--board-shell .hc-weather-center,
  .mc-home--board-shell .hc-forecast-right {
    grid-area: auto;
    justify-self: start;
    align-self: start;
    align-items: flex-start;
    text-align: left;
    width: 100%;
    max-width: 100%;
  }

  .mc-home--board-shell .w-forecast.mc-home-seats {
    justify-content: flex-start;
  }

  body.mc-home--board-shell.dashboard-test-page .header-card:not(.header-card--sections) .hc-title h1 {
    font-size: clamp(2.2rem, 5.5vw, 3.2rem);
    white-space: nowrap;
  }
}

/* Wide desktop: keep three-col once the board grid break no longer applies */
@media (min-width: 1400px) {
  .mc-home--board-shell .header-card:not(.header-card--sections) {
    display: block;
    overflow: visible;
  }

  .mc-home--board-shell .header-card .header-widgets,
  .mc-home--board-shell .header-widgets--three-col {
    display: grid !important;
    grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 1fr);
    grid-template-areas: none;
  }

  .mc-home--board-shell .header-widgets--three-col .hc-title {
    grid-area: auto;
    justify-self: start;
  }

  .mc-home--board-shell .hc-weather-center {
    grid-area: auto;
    justify-self: center;
    text-align: center;
    align-items: center;
    width: auto;
  }

  .mc-home--board-shell .hc-forecast-right {
    grid-area: auto;
    justify-self: end;
    align-items: center;
    text-align: center;
    width: auto;
  }
}

@media (max-width: 900px) {
  .mc-home--board-shell .header-card {
    padding-top: 0.85rem;
    overflow: visible;
  }

  body.mc-home--board-shell.dashboard-test-page .header-card--sections .mc-header-auth__row--nav {
    flex-wrap: wrap;
  }

  .mc-home--board-shell .header-card.header-card--sections {
    grid-template-columns: minmax(0, 1fr) minmax(0, auto);
    grid-template-areas: "brand nav";
  }

  .mc-home--board-shell .mc-header-auth__link {
    min-height: 30px;
    padding: 0.28rem 0.45rem;
    font-size: 0.58rem;
  }

  .mc-home--board-shell .mc-header-auth__link {
    min-height: 34px;
    padding: 0.32rem 0.55rem;
    font-size: 0.62rem;
  }

  .mc-home--board-shell .header-card .header-widgets,
  .mc-home--board-shell .header-widgets--three-col {
    display: grid !important;
    grid-template-columns: 1fr;
    grid-template-areas: none;
    justify-items: start;
    gap: 0.75rem;
  }

  .mc-home--board-shell .hc-weather-center,
  .mc-home--board-shell .hc-forecast-right {
    justify-self: start;
    align-items: flex-start;
    text-align: left;
    grid-area: auto;
  }

  .mc-home--board-shell .w-forecast.mc-home-seats {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .mc-home--board-shell .header-card.header-card--sections,
  body.mc-home--board-shell.dashboard-test-page .header-card.header-card--sections {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "brand"
      "nav" !important;
  }

  .mc-home--board-shell .header-card--sections .header-section--nav,
  .mc-home--board-shell .mc-header-auth,
  .mc-home--board-shell .mc-header-auth__row--nav {
    align-items: flex-start;
    justify-content: flex-start;
  }
}

.mc-home-intake__kicker {
  font-family: var(--font-body, "Exo 2", "Segoe UI", system-ui, sans-serif);
  font-size: var(--type-base, 0.98rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--hud-cyan, var(--home-cyan));
  margin: 0 0 var(--gap-tight, 0.5rem);
  line-height: var(--line-relaxed, 1.6);
}

.mc-home-intake__title {
  font-family: var(--font-body, "Exo 2", "Segoe UI", system-ui, sans-serif);
  font-weight: 400;
  font-size: var(--type-base, 0.98rem);
  letter-spacing: 0.01em;
  line-height: var(--line-relaxed, 1.6);
  color: var(--hud-cyan, var(--home-cyan));
  text-shadow: none;
  margin: 0 0 var(--gap-tight, 0.5rem);
}

.mc-home-intake__lede {
  font-family: var(--font-body, "Exo 2", "Segoe UI", system-ui, sans-serif);
  font-size: var(--type-base, 0.98rem);
  font-weight: 400;
  color: var(--text-secondary, #c5d0dc);
  line-height: var(--line-relaxed, 1.6);
  max-width: none;
  margin: 0 0 var(--gap-element, 1rem);
}

.mc-home-intake__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--gap-tight, 0.5rem);
  margin-bottom: var(--gap-element, 1rem);
}

/* Anchor CTAs use dashboard button chrome; keep link semantics */
.mc-home-intake__actions .btn-add,
.mc-home-intake__actions .btn-clear,
.mc-home-tasks__footer .btn-clear {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.mc-home-intake__actions .btn-add {
  min-width: 7.5rem;
  min-height: var(--control-height, 44px);
}

.mc-home-intake__actions .btn-clear,
.mc-home-tasks__footer .btn-clear {
  min-height: var(--control-height, 44px);
}

/* Nav-style clear buttons: cyan hover (not purge-danger) */
.mc-home--board-shell a.btn-clear:hover,
.mc-home--board-shell a.btn-clear:focus-visible {
  border-color: var(--border-focus, rgba(0, 229, 255, 0.65));
  color: var(--hud-cyan, var(--home-cyan));
  box-shadow: 0 0 14px var(--accent-glow, rgba(0, 229, 255, 0.2));
  outline: none;
}

.mc-home-intake__actions .btn-add:focus-visible {
  box-shadow: var(--control-focus-ring, 0 0 0 1px rgba(0, 229, 255, 0.7), 0 0 14px rgba(0, 229, 255, 0.25));
  outline: none;
}

/* TASK ITEMS slot — carousel */
.mc-home-tasks__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.15rem 0.1rem 0.75rem;
  border-bottom: 1px solid rgba(61, 224, 255, 0.12);
  margin-bottom: 0.85rem;
}

.mc-home-tasks__label {
  font-family: var(--font-display, Orbitron, system-ui, sans-serif);
  font-size: var(--type-title, 0.93rem);
  letter-spacing: var(--track-display, 0.08em);
  text-transform: uppercase;
  color: var(--text-primary, #e8f6ff);
  font-weight: 700;
}

.mc-home-tasks__hint {
  font-family: var(--font-mono, "Share Tech Mono", ui-monospace, monospace);
  font-size: var(--type-kicker, 0.65rem);
  letter-spacing: var(--track-normal, 0.06em);
  color: var(--text-muted, var(--home-muted));
  text-transform: uppercase;
}

.mc-home-tasks__stage {
  min-width: 0;
  padding: 0.15rem 0 0.35rem;
}

.mc-home-tasks .mc-carousel {
  max-height: none;
  min-height: 16rem;
  aspect-ratio: 16 / 9;
}

.mc-home-tasks__footer {
  margin-top: var(--gap-tight, 0.75rem);
  gap: var(--gap-tight, 0.5rem);
  flex-wrap: wrap;
  align-items: center;
}

.mc-home-side-list {
  display: flex;
  flex-direction: column;
  gap: var(--gap-tight, 0.55rem);
}

.mc-home-side-link {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-decoration: none;
  padding: var(--gap-tight, 0.45rem) var(--gap-tight, 0.35rem);
  border-radius: var(--radius-control, 2px);
  border: 1px solid transparent;
  color: inherit;
}

.mc-home-side-link:hover,
.mc-home-side-link:focus-visible {
  border-color: rgba(61, 224, 255, 0.22);
  background: rgba(0, 40, 64, 0.28);
  outline: none;
}

.mc-home-side-link strong {
  font-family: var(--font-body, "Exo 2", "Segoe UI", system-ui, sans-serif);
  font-size: var(--type-base, 0.98rem);
  letter-spacing: 0.01em;
  color: var(--hud-cyan, var(--home-cyan));
  font-weight: 400;
}

.mc-home-side-link span {
  font-family: var(--font-body, "Exo 2", "Segoe UI", system-ui, sans-serif);
  font-size: var(--type-base, 0.98rem);
  font-weight: 400;
  color: var(--text-muted, var(--home-muted));
  line-height: var(--line-relaxed, 1.6);
}

.mc-home-board-footer {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 1.25rem;
  padding: 0.85rem 1rem;
}

.mc-home-board-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.9rem;
  font-family: "Share Tech Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mc-home-board-footer__links a {
  color: var(--home-muted);
  text-decoration: none;
}

.mc-home-board-footer__links a:hover {
  color: var(--home-cyan);
}

/* Discreet legal / Manage Account — bottom only, muted */
.mc-footer-legal {
  flex: 1 1 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  margin-top: 0.35rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(61, 224, 255, 0.08);
  font-family: "Share Tech Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mc-footer-legal a {
  color: rgba(122, 136, 153, 0.75);
  text-decoration: none;
}

.mc-footer-legal a:hover,
.mc-footer-legal a:focus-visible {
  color: rgba(61, 224, 255, 0.85);
  outline: none;
}

.mc-footer-legal__sep {
  color: rgba(122, 136, 153, 0.4);
  user-select: none;
}

.mc-footer-legal__quiet {
  opacity: 0.72;
  font-weight: 400;
}

.mc-footer-legal__quiet:hover {
  opacity: 1;
}

/* PR-0220 — Template store pitch on home */
.mc-header-auth__link--store {
  color: var(--home-gold, #e8b84a) !important;
}

.mc-home-store-cta {
  border-color: rgba(232, 184, 74, 0.45) !important;
  color: var(--home-gold, #e8b84a) !important;
}

.mc-home-store-cta:hover,
.mc-home-store-cta:focus-visible {
  border-color: rgba(232, 184, 74, 0.85) !important;
  box-shadow: 0 0 14px rgba(232, 184, 74, 0.18);
}

.mc-home-mct-pitch {
  margin-top: 0.85rem;
  padding: 1.15rem 1.2rem 1.25rem;
  border: 1px solid rgba(232, 184, 74, 0.28);
  background:
    radial-gradient(500px 180px at 0% 0%, rgba(232, 184, 74, 0.1), transparent 55%),
    radial-gradient(420px 160px at 100% 20%, rgba(61, 224, 255, 0.08), transparent 50%),
    rgba(8, 14, 24, 0.55);
}

.mc-home-mct-pitch--hosted {
  border-color: rgba(61, 224, 255, 0.32);
  background:
    radial-gradient(500px 180px at 0% 0%, rgba(61, 224, 255, 0.12), transparent 55%),
    radial-gradient(420px 160px at 100% 20%, rgba(232, 184, 74, 0.08), transparent 50%),
    rgba(8, 14, 24, 0.55);
}

.mc-home-mct-pitch__kicker {
  font-family: "Share Tech Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--home-gold, #e8b84a);
  margin: 0 0 0.45rem;
}

.mc-home-mct-pitch__title {
  font-family: Orbitron, system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  line-height: 1.25;
  color: var(--home-cyan, #3de0ff);
  margin: 0 0 0.65rem;
  text-shadow: 0 0 18px rgba(61, 224, 255, 0.2);
}

.mc-home-mct-pitch__lede {
  color: var(--home-text, #c5d0dc);
  font-size: var(--type-base, 0.98rem);
  font-weight: 400;
  line-height: 1.6;
  margin: 0 0 0.85rem;
  max-width: 58rem;
}

.mc-home-mct-pitch__lede strong {
  color: inherit;
  font-weight: 400;
}

.mc-home-mct-pitch__bullets {
  margin: 0 0 1rem;
  padding: 0 0 0 1.1rem;
  color: var(--home-muted, #7a8899);
  font-size: var(--type-base, 0.98rem);
  font-weight: 400;
  line-height: 1.55;
}

.mc-home-mct-pitch__bullets li {
  margin-bottom: 0.35rem;
}

.mc-home-mct-pitch__bullets strong {
  color: inherit;
  font-weight: 400;
}

.mc-home-mct-pitch__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.mc-home-mct-side {
  border-color: rgba(232, 184, 74, 0.22);
}

.mc-home-mct-side__pitch {
  color: var(--home-text, #c5d0dc) !important;
  line-height: 1.5;
  margin-bottom: 0.35rem;
}

.mc-home--board-shell .mini-empty,
.mc-home--board-shell .section-title,
.mc-home--board-shell p {
  font-size: var(--type-base, 0.98rem);
  font-weight: 400;
}

.mc-home--board-shell p strong,
.mc-home--board-shell .mini-empty strong {
  font-weight: 400;
}

@media (max-width: 900px) {
  .mc-home-tasks .mc-carousel {
    min-height: 14rem;
    aspect-ratio: 4 / 3;
  }
}
