.top-bar {
  align-items: stretch;
  background: #eceeeb;
  border-bottom: 1px solid var(--line-strong);
  display: flex;
  height: 68px;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 30;
}

.top-wordmark {
  align-content: center;
  border-right: 1px solid var(--line-strong);
  display: grid;
  min-width: 220px;
  padding-right: 24px;
}

.top-wordmark span {
  font-size: .7rem;
  letter-spacing: .18em;
}

.top-wordmark strong {
  font-size: .9rem;
  letter-spacing: .04em;
}

.top-nav {
  display: flex;
  margin-left: 14px;
}

.top-nav-link {
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  color: var(--muted);
  padding: 0 16px;
}

.top-nav-link:hover { background: #e1e5e1; color: var(--ink); }
.top-nav-link.active { border-bottom-color: var(--accent); color: var(--ink); font-weight: 700; }
.top-nav-link small { color: var(--muted); margin-left: 5px; }

.top-schedule-context {
  align-items: center;
  display: flex;
  gap: 9px;
  margin-left: auto;
  padding: 0 20px;
}

.top-schedule-context small {
  color: var(--warning);
  font-size: .68rem;
  letter-spacing: .08em;
}

.top-actions {
  align-items: center;
  border-left: 1px solid var(--line-strong);
  display: flex;
  gap: 15px;
  padding-left: 20px;
}

.top-actions .primary-button { white-space: nowrap; }

.identity-button {
  background: transparent;
  border: 0;
  display: grid;
  padding: 7px 0;
  text-align: left;
}

.identity-button span { font-weight: 700; }
.identity-button small { color: var(--muted); }
.main-canvas { margin-left: 0; }
.page-shell { padding-top: 36px; }

@media (max-width: 760px) {
  .top-bar { height: 58px; padding: 0 12px; }
  .top-wordmark { min-width: 0; padding-right: 12px; }
  .top-wordmark span { display: none; }
  .top-wordmark strong { font-size: .78rem; }
  .top-nav { margin-left: 5px; }
  .top-nav-link { padding: 0 9px; }
  .top-nav-link small, .top-schedule-context, .identity-button small { display: none; }
  .top-actions { gap: 8px; padding-left: 10px; }
  .top-actions .primary-button { display: none; }
  .page-shell { padding-top: 24px; }
}
