.app-header {
  min-height: 76px;
  padding: .7rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  background: #07111f;
  color: #fff;
  border-bottom: 1px solid #26374f;
}
.app-brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: #fff !important;
  text-decoration: none;
}
.app-brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  flex: 0 0 auto;
}
.app-brand-text { display: grid; gap: .08rem; line-height: 1.1; }
.app-brand-text strong { font-size: 1.08rem; }
.app-brand-text small {
  color: #94a3b8;
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.app-nav { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.app-header [hidden] { display: none !important; }
.app-nav a,
.app-nav button {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: .55rem .78rem;
  border: 1px solid #475569;
  border-radius: 9px;
  background: #0f1d31;
  color: #e2e8f0 !important;
  font: inherit;
  font-size: .88rem;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}
.app-nav a:hover,
.app-nav button:hover,
.app-nav a.active {
  background: #1d4ed8;
  border-color: #60a5fa;
  color: #fff !important;
}
.app-nav button.logout {
  background: #e2e8f0;
  border-color: #e2e8f0;
  color: #172033 !important;
}
@media (max-width: 760px) {
  .app-header { padding: .65rem .8rem; }
  .app-brand img { width: 44px; height: 44px; }
  .app-brand-text strong { font-size: .98rem; }
  .app-nav { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: .2rem; }
  .app-nav a, .app-nav button { white-space: nowrap; }
}
