/* Register brand and navigation, owned by this presentation package. */
.office-ui .skip-link { z-index: 100; }
.header-lab {
  position: sticky; top: 0; z-index: 80; isolation: isolate;
  border-top: 3px solid var(--register-blue); border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.header-lab .header-lab-inner { min-height: 4.35rem; gap: 1rem; }
.header-lab .header-lab-nav { margin-left: auto; }
.header-lab .header-navigation { margin: 0; padding: 0; border: 0; background: transparent; }
.header-navigation > summary { display: none; }
.header-navigation-links { display: flex; align-items: center; gap: .25rem; }
.register-brand {
  min-width: 0; flex: none; display: inline-flex; align-items: center; gap: .4rem;
  color: var(--ink); text-decoration: none;
}
.register-brand .register-brand-mark { width: 2.75rem; height: 2.75rem; flex: none; object-fit: contain; }
.register-brand-copy { position: relative; min-width: 0; display: grid; gap: .2rem; }
.register-brand-copy.is-beta:not(.is-beta-locked) { padding-right: 2.2rem; }
.register-wordmark { font-size: 1.4rem; font-weight: 790; letter-spacing: -.045em; line-height: 1.05; white-space: nowrap; }
.register-tld { color: var(--register-blue); }
.register-tagline { color: var(--muted); font-size: .62rem; font-weight: 700; letter-spacing: .075em; line-height: 1.2; text-transform: uppercase; }
.register-beta { display: inline-block; width: max-content; padding: .04rem .26rem; border: 1px solid var(--register-blue); border-radius: var(--register-radius); background: var(--surface); color: var(--register-blue); font-size: .55rem; font-weight: 800; letter-spacing: .08em; line-height: 1.2; transform: rotate(-9deg); }
.is-beta:not(.is-beta-locked) .register-beta { position: absolute; top: 1.4rem; right: .1rem; }
.is-beta-locked .register-beta { justify-self: start; }
.header-lab :is(.header-link, .header-nav-link) { color: var(--muted); }
.header-lab :is(.header-link, .header-nav-link):hover { color: var(--register-blue); }
.header-lab .header-lab-link { gap: .45rem; padding-inline: .8rem; }
.header-attention-count { display: inline-grid; place-items: center; min-width: 1.5rem; min-height: 1.5rem; padding: .1rem .35rem; border: 1px solid #d8c79e; background: #fff8eb; color: #795317; font-size: .75rem; font-weight: 650; line-height: 1; font-variant-numeric: tabular-nums; }
.header-attention-count.is-clear { color: var(--muted); border-color: var(--line); background: var(--paper); }
/* U67: the bell. Its count sits on the icon's corner; the title names it. */
.header-lab .header-bell { position: relative; min-width: var(--icon-action-size); justify-content: center; padding-inline: .75rem; }
.header-bell svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.header-bell-label { display: none; }
.header-bell .header-attention-count { position: absolute; top: .2rem; right: .05rem; min-width: 1.2rem; min-height: 1.2rem; padding: 0 .25rem; font-size: .68rem; }
/* F-34, U68: the operator reading a case opened for support. A label, not a link. */
.header-support-mode { display: inline-flex; align-items: center; min-height: 2.25rem; padding: .3rem .6rem; border: 1px solid var(--gold); border-radius: var(--register-radius); background: var(--gold-soft); color: var(--warning-ink); font-size: .8rem; font-weight: 650; white-space: nowrap; }
.header-lab :is(.header-cta, .header-nav-cta, .account-link, .account-menu > summary) {
  min-height: 2.6rem; margin-left: 0; border-radius: var(--register-radius); box-shadow: none;
}
.header-lab :is(.header-cta, .header-nav-cta) { background: var(--register-blue); border-color: var(--register-blue); color: #fff; }
.header-lab :is(.header-cta, .header-nav-cta):hover { background: var(--green-dark); }
.header-lab :is(.account-link, .account-menu > summary) { border-color: var(--line); background: #fff; color: var(--ink); }
.header-lab :is(.account-link:hover, .account-menu[open] > summary) { border-color: var(--register-blue); background: var(--green-soft); }
.header-lab .account-avatar { border-radius: var(--register-radius); }
.header-lab .account-popover { border-radius: var(--register-radius); box-shadow: 0 16px 38px rgba(17,25,35,.14); }
.header-new-case { display: inline-flex; align-items: center; justify-content: center; flex: none; gap: .4rem; min-height: 2.75rem; padding: .55rem .8rem; border: 1px solid var(--register-blue); border-radius: var(--register-radius); background: var(--register-blue); color: #fff; font-size: .85rem; font-weight: 650; line-height: 1.3; text-decoration: none; white-space: nowrap; }
.header-new-case:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.header-new-case svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.header-new-case-short { display: none; }
@media (max-width: 72rem) {
  .register-brand .register-brand-mark { width: 2.35rem; height: 2.35rem; }
  .register-tagline { display: none; }
  .header-lab .register-brand-copy.is-beta:not(.is-beta-locked) { padding-right: 1.9rem; }
  .header-lab .is-beta:not(.is-beta-locked) .register-beta { top: .12rem; right: 0; }
  .header-lab .header-lab-inner { gap: .6rem; }
  .header-lab :is(.header-link, .header-nav-link, .account-link) { padding-inline: .6rem; font-size: .8rem; }
  .header-lab .header-lab-inner:has(.account-menu) { position: relative; flex-wrap: nowrap; padding-block: .5rem; }
  .header-lab .header-lab-nav:has(.account-menu) { width: auto; flex-wrap: nowrap; justify-content: flex-end; gap: .45rem; }
  .header-lab-nav .account-menu { position: relative; }
  .header-navigation > summary { display: flex; align-items: center; justify-content: center; gap: .6rem; min-height: 2.75rem; padding: .5rem .65rem; border: 1px solid var(--line); border-radius: var(--register-radius); background: var(--surface); color: var(--ink); font-size: .85rem; cursor: pointer; list-style: none; }
  .header-navigation > summary::-webkit-details-marker { display: none; }
  .header-navigation > summary::before { display: none; }
  .header-navigation > summary::after { content: ""; width: .4rem; height: .4rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
  .header-navigation[open] > summary { border-color: var(--register-blue); background: var(--green-soft); }
  .header-navigation[open] > summary::after { transform: rotate(225deg); }
  .header-navigation > summary:focus-visible { outline: 2px solid var(--register-blue); outline-offset: 3px; }
  .header-navigation-links { position: absolute; top: 100%; right: 0; display: grid; gap: .25rem; width: min(26rem,calc(100vw - 2rem)); max-height: calc(100dvh - 5rem); overflow-y: auto; padding: .75rem; border: 1px solid var(--line); background: var(--surface); box-shadow: none; }
  .header-navigation-links > :is(a,span) { min-height: 2.75rem; justify-content: flex-start; }
  .header-navigation-links .header-bell { justify-content: flex-start; gap: .75rem; }
  .header-navigation-links .header-bell-label { display: inline; }
  .header-navigation-links .header-bell .header-attention-count { position: static; }
}
@media (max-width: 31rem) {
  .register-brand { gap: .4rem; }
  .register-wordmark { font-size: 1.15rem; }
  .header-new-case { padding-inline: .65rem; font-size: .8rem; }
}
@media (max-width: 23rem) {
  .register-brand-copy { display: none; }
  .header-lab .register-brand-copy.is-beta { display: grid; padding-right: 0; }
  .header-lab .register-brand-copy.is-beta .register-wordmark { display: none; }
  .header-lab .is-beta:not(.is-beta-locked) .register-beta { position: static; }
}

.header-lab .header-lab-link[aria-current="page"] { color: var(--green-dark); background: var(--green-soft); border-radius: var(--register-radius); text-decoration: none; }
