/* CampusOne Phase 6C — authenticated institution-branded shell */
.co-tenant-shell {
  --co-tenant-primary: #1f7a5a;
  --co-tenant-secondary: #202c33;
  --co-primary: var(--co-tenant-primary);
  --co-primary-strong: color-mix(in srgb, var(--co-tenant-primary) 72%, #000);
  --co-primary-hover: color-mix(in srgb, var(--co-tenant-primary) 86%, #000);
  --co-primary-soft: color-mix(in srgb, var(--co-tenant-primary) 11%, #fff);
  --co-primary-faint: color-mix(in srgb, var(--co-tenant-primary) 5%, #fff);
}

.co-tenant-shell .co-sidebar {
  box-shadow: inset 0 3px 0 var(--co-tenant-primary);
}
.co-tenant-shell .co-brand-mark { background: var(--co-tenant-primary); }
.co-tenant-shell .co-side-nav a.is-active {
  background: color-mix(in srgb, var(--co-tenant-primary) 26%, transparent);
  box-shadow: inset 3px 0 0 var(--co-tenant-primary);
}
.co-tenant-shell .co-side-nav a.is-active .co-icon,
.co-tenant-shell .co-side-nav a:hover .co-icon { color: color-mix(in srgb, var(--co-tenant-primary) 72%, #fff); }

.co-tenant-card {
  grid-template-columns: 34px minmax(0, 1fr) !important;
  gap: 7px 9px !important;
  padding: 9px !important;
  border: 1px solid color-mix(in srgb, var(--co-tenant-primary) 26%, rgba(255,255,255,.10));
  background: color-mix(in srgb, var(--co-tenant-primary) 11%, rgba(255,255,255,.035)) !important;
}
.co-tenant-emblem,
.co-active-tenant-emblem {
  overflow: hidden;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--co-tenant-primary) 18%, #fff);
  color: var(--co-primary-strong);
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
}
.co-tenant-emblem {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  grid-row: 1;
}
.co-tenant-emblem img,
.co-active-tenant-emblem img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}
.co-tenant-card-copy {
  min-width: 0;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
}
.co-tenant-card .co-tenant-card-copy strong {
  overflow: hidden;
  color: #f2f5f6;
  font-size: 10px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.co-tenant-card .co-tenant-card-copy small {
  grid-column: auto;
  overflow: hidden;
  color: var(--co-sidebar-muted);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.co-tenant-switch-link {
  grid-column: 1 / -1;
  padding: 6px 7px;
  border-top: 1px solid rgba(255,255,255,.07);
  color: color-mix(in srgb, var(--co-tenant-primary) 55%, #fff);
  font-size: 9px;
  font-weight: 750;
  text-decoration: none;
}
.co-tenant-switch-link:hover { color: #fff; }

.co-active-tenant {
  min-width: 0;
  max-width: 190px;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-right: 4px;
  padding: 4px 8px 4px 5px;
  border: 1px solid color-mix(in srgb, var(--co-tenant-primary) 24%, var(--co-border));
  border-radius: 8px;
  background: color-mix(in srgb, var(--co-tenant-primary) 5%, #fff);
}
.co-active-tenant-emblem {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  border-radius: 6px;
  font-size: 10px;
}
.co-active-tenant-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.co-active-tenant-copy small {
  color: var(--co-faint);
  font-size: 7px;
  font-weight: 750;
  letter-spacing: .07em;
  line-height: 1.2;
  text-transform: uppercase;
}
.co-active-tenant-copy strong {
  overflow: hidden;
  color: var(--co-heading);
  font-size: 10px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.co-app-shell.co-sidebar-collapsed .co-tenant-card { grid-template-columns: 34px !important; padding: 7px !important; }
.co-app-shell.co-sidebar-collapsed .co-tenant-card-copy,
.co-app-shell.co-sidebar-collapsed .co-tenant-switch-link { display: none !important; }

@media (max-width: 1180px) {
  .co-active-tenant { max-width: 42px; padding-right: 5px; }
  .co-active-tenant-copy { display: none; }
}
@media (max-width: 820px) {
  .co-active-tenant { display: none; }
}

/* CAMPUSONE_PHASE6C_AUTHENTICATED_INSTITUTION_SHELL_BRANDING_V1 */
