header.app-header {
  display: block;
  position: relative;
  z-index: 1100;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--masthead, #101012);
  box-shadow: none;
  color: white;
  font: 400 15px/1.35 "Inter", "Segoe UI", Arial, sans-serif;
  text-align: left;
}
.app-header *, .app-header *::after { box-sizing: border-box; }
a.skip:focus, a.skip-link:focus { z-index: 1200; }
.app-header .app-header-inner {
  display: flex; align-items: center; gap: clamp(16px, 3vw, 46px);
  width: min(1440px, 100%); min-height: 76px;
  margin: 0 auto; padding: 0 clamp(16px, 4vw, 64px);
}
.app-header .app-brand {
  display: inline-flex; align-items: center; flex: none; gap: 10px;
  padding: 0; color: white; text-decoration: none;
}
.app-brand > span { display: grid; gap: 1px; }
.app-brand img { display: block; width: 40px; height: 40px; margin: 0; border-radius: 50%; }
.app-brand strong { font-size: 20px; font-weight: 700; line-height: 1.2; letter-spacing: -.65px; }
.app-brand #app-tagline { color: var(--tagline, #e1e1e6); font-size: 12px; font-weight: 400; line-height: 1.35; letter-spacing: 0; }
.app-header .app-nav {
  position: relative; display: flex; align-items: center; flex: 1;
  flex-wrap: nowrap; gap: clamp(2px, .6vw, 10px); min-width: 0;
  margin: 0; padding: 0; border: 0; background: transparent; overflow: visible;
}
.app-nav > a, .app-nav summary {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 44px; margin: 0; padding: 8px clamp(7px, .8vw, 13px);
  border: 1px solid transparent; border-radius: 4px; background: transparent;
  color: #f3f3f6; font: 600 14px/1.25 "Inter", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0; white-space: nowrap; text-decoration: none; list-style: none; cursor: pointer;
}
.app-nav summary::-webkit-details-marker { display: none; }
.app-nav summary::after {
  content: ""; display: block; width: 6px; height: 6px;
  border: solid currentColor; border-width: 0 1.5px 1.5px 0;
  transform: translateY(-1px) rotate(45deg);
}
.app-nav details[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.app-nav details { position: relative; margin: 0; padding: 0; border: 0; background: none; }
.app-nav > a:hover, .app-nav summary:hover, .app-nav details[open] > summary { background: #29292e; color: white; }
.app-nav > a[aria-current], .app-nav details:has(a[aria-current]) > summary { background: #2d2d36; color: white; }
.app-nav .app-workspaces { margin-inline-start: auto; }
.app-nav .app-staff > summary { border-color: #686873; }
.app-nav ul {
  position: absolute; top: calc(100% + 4px); left: 0; z-index: 2;
  display: grid; gap: 1px; min-width: max-content; margin: 0; padding: 5px;
  list-style: none; border: 1px solid var(--line, #d7d7dc); border-radius: 5px;
  background: white; box-shadow: 0 5px 20px rgb(16 16 18 / 14%);
}
.app-nav .app-staff ul { right: 0; left: auto; min-width: 150px; }
.app-nav li { display: block; margin: 0; padding: 0; }
.app-nav li a {
  display: flex; align-items: center; min-height: 42px; padding: 8px 13px;
  border: 0; border-radius: 2px; background: white; color: var(--ink, #141417);
  font: 500 15px/1.35 "Inter", "Segoe UI", Arial, sans-serif; text-decoration: none;
}
.app-nav li a:hover, .app-nav li a[aria-current] { color: var(--blue, #0505df); background: var(--wash, #f5f5f7); }
.app-header :is(a, summary):focus-visible { outline: 2px solid white; outline-offset: 1px; }
.app-header li a:focus-visible { outline-color: var(--blue, #0505df); outline-offset: -2px; }
@media (max-width: 1030px) {
  .app-header .app-header-inner { display: block; padding-block: 12px 7px; }
  .app-header .app-nav { margin-top: 9px; }
}
@media (max-width: 660px) {
  .app-header .app-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px 3px; }
  .app-nav > a, .app-nav summary { width: 100%; padding-inline: 3px; font-size: 13px; }
  .app-nav details { position: static; }
  .app-nav .app-workspaces { margin: 0; }
  .app-nav details ul { top: calc(100% + 3px); right: 0; left: 0; min-width: 0; }
}
@media print { header.app-header { display: none; } }
