/* The student message link stays visible even when no unread items exist. */
.refined-ui header.topbar .top-actions .home-message-entry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 8px 12px;
  flex-shrink: 0;
  border: 1px solid #d5deea;
  border-radius: 10px;
  background: #f4f7fb;
  color: #173354;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
}
.refined-ui header.topbar .top-actions .home-message-entry:hover {
  background: #e9eff7;
  border-color: #aabbd0;
}
.refined-ui header.topbar .top-actions .home-message-entry:focus-visible {
  outline: 3px solid #b89a44;
  outline-offset: 3px;
}
.home-message-entry .home-message-icon,
.home-message-entry .home-message-icon .small-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.home-message-entry .home-message-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}
.home-message-entry #home-task-alert-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: #b62b3f;
  color: #fff;
  font-size: 12px;
  line-height: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.home-message-entry #home-task-alert-count[hidden] { display: none !important; }
@media (max-width: 560px) {
  .refined-ui header.topbar .top-actions .home-message-entry {
    min-height: 44px;
    padding: 9px 10px;
  }
}
