:root {
  --rehab-site-shell-target: 48px;
  --rehab-site-shell-font-size: 16px;
  --rehab-site-shell-gap: 8px;
  --rehab-site-shell-height: 52px;
  --rehab-site-shell-ink: #153047;
  --rehab-site-shell-muted: #526b7a;
  --rehab-site-shell-paper: #fffdf7;
  --rehab-site-shell-line: #aebfca;
  --rehab-site-shell-active: #f6d65d;
  --rehab-site-shell-focus: #ffe37a;
}

.rehab-site-shell,
.rehab-site-shell * {
  box-sizing: border-box;
}

.rehab-site-shell {
  min-height: 52px;
  color: var(--rehab-site-shell-ink);
  background: var(--rehab-site-shell-paper);
  border-block-end: 1px solid var(--rehab-site-shell-line);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--rehab-site-shell-font-size);
  line-height: 1.2;
}

.rehab-site-shell__inner {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: calc(var(--rehab-site-shell-height) - 1px);
  margin: 0 auto;
}

.rehab-site-shell--task .rehab-site-shell__inner {
  align-items: center;
}

.rehab-site-shell__task-brand,
.rehab-site-shell__task-title,
.rehab-site-shell__task-note {
  margin: 0;
}

.rehab-site-shell__task-brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: var(--rehab-site-shell-target);
  padding: 4px 12px;
  border-inline-end: 1px solid var(--rehab-site-shell-line);
  font-weight: 800;
  white-space: nowrap;
}

.rehab-site-shell__task-context {
  display: flex;
  flex: 1 1 auto;
  align-items: baseline;
  min-width: 0;
  padding: 4px 12px;
  gap: 12px;
}

.rehab-site-shell__task-title {
  flex: 0 0 auto;
  font-weight: 800;
  white-space: nowrap;
}

.rehab-site-shell__task-note {
  min-width: 0;
  overflow: hidden;
  color: var(--rehab-site-shell-muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rehab-site-shell__brand,
.rehab-site-shell__route {
  color: inherit;
  text-decoration: none;
}

.rehab-site-shell__brand {
  display: flex;
  flex: 0 0 192px;
  flex-direction: column;
  justify-content: center;
  min-height: var(--rehab-site-shell-target);
  padding: 4px 12px;
  border-inline-end: 1px solid var(--rehab-site-shell-line);
}

.rehab-site-shell__brand strong {
  font-size: 16px;
  letter-spacing: 0.01em;
}

.rehab-site-shell__brand-note {
  margin-block-start: 2px;
  color: var(--rehab-site-shell-muted);
  font-size: 12px;
}

.rehab-site-shell__nav {
  display: flex;
  flex: 1 1 auto;
  align-items: stretch;
  min-width: 0;
}

.rehab-site-shell__route {
  display: flex;
  flex: 0 1 136px;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  min-height: var(--rehab-site-shell-target);
  padding: 4px 10px;
  gap: var(--rehab-site-shell-gap);
  border-inline-end: 1px solid var(--rehab-site-shell-line);
  font-weight: 700;
  white-space: nowrap;
}

.rehab-site-shell__route-code {
  color: var(--rehab-site-shell-muted);
  font-size: 12px;
  font-weight: 600;
}

.rehab-site-shell__brand[aria-current="page"],
.rehab-site-shell__route[aria-current="page"] {
  color: var(--rehab-site-shell-ink);
  background: var(--rehab-site-shell-active);
  box-shadow: inset 0 -4px 0 var(--rehab-site-shell-ink);
}

.rehab-site-shell__brand[aria-current="page"] .rehab-site-shell__brand-note,
.rehab-site-shell__route[aria-current="page"] .rehab-site-shell__route-code {
  color: currentColor;
}

.rehab-site-shell__brand:hover,
.rehab-site-shell__route:hover {
  background: #edf4f5;
}

.rehab-site-shell__brand[aria-current="page"]:hover,
.rehab-site-shell__route[aria-current="page"]:hover {
  background: var(--rehab-site-shell-active);
}

.rehab-site-shell :focus-visible {
  outline: 3px solid var(--rehab-site-shell-ink);
  outline-offset: -4px;
}

.rehab-site-shell__skip:focus-visible {
  outline: 3px solid var(--rehab-site-shell-focus);
  outline-offset: 2px;
}

.rehab-site-shell__skip {
  position: fixed;
  z-index: 10000;
  inset-block-start: 8px;
  inset-inline-start: 8px;
  display: flex;
  align-items: center;
  min-height: var(--rehab-site-shell-target);
  padding: 8px 14px;
  color: #ffffff;
  background: var(--rehab-site-shell-ink);
  font: 700 var(--rehab-site-shell-font-size)/1.2 ui-sans-serif, system-ui, sans-serif;
  text-decoration: none;
  transform: translateY(-180%);
}

.rehab-site-shell__skip:focus {
  transform: translateY(0);
}

@media (max-width: 680px) {
  .rehab-site-shell__brand {
    flex: 0 1 104px;
    min-width: 92px;
    padding-inline: 6px;
  }

  .rehab-site-shell__brand-suffix,
  .rehab-site-shell__brand-note,
  .rehab-site-shell__route-code {
    display: none;
  }

  .rehab-site-shell__route {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 4px;
  }

  .rehab-site-shell__task-brand {
    padding-inline: 8px;
  }

  .rehab-site-shell__task-context {
    padding-inline: 8px;
  }

  .rehab-site-shell__task-note {
    display: none;
  }
}

@media (forced-colors: active) {
  .rehab-site-shell__brand[aria-current="page"],
  .rehab-site-shell__route[aria-current="page"] {
    border-block-end: 4px solid LinkText;
  }
}

@media print {
  .rehab-site-shell,
  .rehab-site-shell__skip {
    display: none !important;
  }
}
