/* Hub-only brand. Not part of the classroom CART Guide copy. */

.dm-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.page-dashboard .top-bar { height: 64px; }
.page-dashboard .dm-logo { width: 44px; height: 44px; }
.nav-brand .dm-logo { width: 54px; height: 54px; }
.dm-foot .dm-logo { width: 36px; height: 36px; }

.page-dashboard .top-bar {
  justify-content: space-between;
}

.dm-top-home {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: Satoshi, system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  white-space: nowrap;
}

.page-dashboard .dm-top-home .dm-logo {
  width: 32px;
  height: 32px;
}

.dm-top-home:hover { color: #fff; }

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-brand-copy { min-width: 0; }

.dm-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  box-sizing: border-box;
  padding: 1.15rem 1.5rem;
  border-top: 1px solid #E3DDD6;
  background: #F7F4EF;
  color: #5C5651;
  font-family: Geist, system-ui, sans-serif;
  font-size: 0.82rem;
  line-height: 1.45;
}

.dm-foot p { margin: 0; max-width: 52ch; }

.dm-foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #1C2430;
  text-decoration: none;
  font-family: Satoshi, system-ui, sans-serif;
  font-weight: 600;
  flex-shrink: 0;
}

.dm-foot-brand:hover { color: #3D1520; }

body.page-with-nav { flex-wrap: wrap; }

body.page-with-nav .dm-foot {
  margin-left: var(--nav-w);
  width: calc(100% - var(--nav-w));
  max-width: calc(100vw - var(--nav-w));
}

@media (max-width: 768px) {
  .dm-top-home { font-size: 0.78rem; gap: 0.4rem; }
  .page-dashboard .dm-top-home .dm-logo { width: 26px; height: 26px; }

  body.page-with-nav .dm-foot,
  .dm-foot {
    margin-left: 0;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }
}
