:root {
  --dc-nav-height: 64px;
  --dc-nav-ink: #10282a;
  --dc-nav-muted: #63787d;
  --dc-nav-line: #d5e3e3;
  --dc-nav-card-line: #b8dfda;
  --dc-nav-teal: #079b8d;
  --dc-nav-teal-dark: #075b5a;
  --dc-nav-teal-soft: #e8f8f5;
  --dc-nav-danger: #9e2f3d;
}

body.dc-has-shared-nav {
  padding-top: var(--dc-nav-height) !important;
}

.dc-nav,
.dc-nav * {
  box-sizing: border-box;
}

.dc-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 12000;
  min-height: var(--dc-nav-height);
  color: var(--dc-nav-ink);
  font-family: inherit;
  background: rgba(249, 253, 252, .97);
  border-bottom: 2px solid var(--dc-nav-teal);
  box-shadow: 0 8px 24px rgba(9, 55, 58, .08);
  backdrop-filter: blur(18px);
}

.dc-nav[hidden],
.dc-nav-shade[hidden],
.dc-nav-drawer[hidden] {
  display: none !important;
}

.dc-nav-inner {
  min-height: var(--dc-nav-height);
  padding: 7px 14px;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.dc-nav-brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.dc-nav-brand img {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 11px;
  box-shadow: 0 6px 15px rgba(5, 79, 78, .14);
}

.dc-nav-brand-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.dc-nav-brand-copy strong {
  overflow: hidden;
  color: var(--dc-nav-ink);
  font-size: 15px;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dc-nav-brand-copy small {
  color: var(--dc-nav-teal);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.dc-nav-sections {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dc-nav-section {
  position: relative;
}

.dc-nav-trigger,
.dc-nav-mobile-button,
.dc-nav-logout,
.dc-nav-drawer-close,
.dc-nav-drawer-logout {
  appearance: none !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 0 13px !important;
  color: var(--dc-nav-ink) !important;
  font: inherit !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 11px !important;
  box-shadow: none !important;
  cursor: pointer;
}

.dc-nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.dc-nav-trigger::after {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: translateY(-2px) rotate(45deg);
  transition: transform .16s ease;
}

.dc-nav-section.is-open .dc-nav-trigger,
.dc-nav-trigger:hover,
.dc-nav-trigger:focus-visible {
  color: #064f4d !important;
  background: var(--dc-nav-teal-soft) !important;
  border-color: #a8ddd6 !important;
}

.dc-nav-section.is-open .dc-nav-trigger::after {
  transform: translateY(2px) rotate(225deg);
}

.dc-nav-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: min(370px, calc(100vw - 28px));
  max-height: calc(100vh - 86px);
  padding: 10px;
  overflow: auto;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-5px);
  background: #f6fbfa;
  border: 1px solid #c9dedc;
  border-radius: 17px;
  box-shadow: 0 22px 54px rgba(8, 35, 39, .2);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}

.dc-nav-panel.align-right {
  right: 0;
  left: auto;
}

.dc-nav-panel.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dc-nav-panel-head {
  padding: 3px 5px 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--dc-nav-teal);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.dc-nav-panel-head small {
  color: var(--dc-nav-muted);
  font-size: 9px;
  letter-spacing: .04em;
}

.dc-nav-panel-list {
  display: grid;
  gap: 6px;
}

.dc-nav-link {
  min-height: 56px;
  padding: 7px 9px 7px 7px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 17px;
  align-items: center;
  gap: 10px;
  color: var(--dc-nav-ink);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--dc-nav-card-line);
  border-left: 4px solid #48bfae;
  border-radius: 12px;
  transition: transform .14s ease, border-color .14s ease, background .14s ease;
}

.dc-nav-link:hover,
.dc-nav-link:focus-visible {
  background: linear-gradient(90deg, #e7f8f4, #fff 72%);
  border-color: #62cabb;
  transform: translateX(2px);
}

.dc-nav-link.is-active {
  background: linear-gradient(90deg, #daf4ef, #f9fdfc 75%);
  border-color: #35b4a4;
  border-left-color: var(--dc-nav-teal);
}

.dc-nav-trigger.is-current {
  color: var(--dc-nav-teal) !important;
  background: #e8f8f5 !important;
  border-color: #9edbd3 !important;
  box-shadow: inset 0 -2px 0 #0b9f91 !important;
}

.dc-nav-item-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #08776f;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .02em;
  background: #e9f8f5;
  border: 1px solid #b7dfda;
  border-radius: 11px;
}

.dc-nav-link.is-active .dc-nav-item-icon {
  color: #fff;
  background: linear-gradient(145deg, #08736d, #14aa97);
  border-color: transparent;
}

.dc-nav-link-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.dc-nav-link-copy strong {
  overflow: hidden;
  font-size: 13px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dc-nav-link-copy small {
  overflow: hidden;
  color: var(--dc-nav-muted);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dc-nav-link-arrow {
  color: var(--dc-nav-teal);
  font-size: 19px;
  font-weight: 900;
  text-align: center;
}

.dc-nav-user {
  display: flex;
  align-items: center;
  gap: 7px;
}

.dc-nav-avatar {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  color: #08655f;
  font-size: 11px;
  font-weight: 950;
  background: #dff5f1;
  border-radius: 9px;
}

.dc-nav-logout {
  min-height: 36px !important;
  padding: 0 10px !important;
  color: var(--dc-nav-danger) !important;
  border-left: 1px solid var(--dc-nav-line) !important;
  border-radius: 0 !important;
}

.dc-nav-mobile-button {
  display: none;
  align-items: center;
  gap: 8px;
  color: #fff !important;
  background: linear-gradient(135deg, #08736d, #10a492) !important;
  border-color: transparent !important;
}

.dc-nav-hamburger {
  width: 19px;
  display: grid;
  gap: 4px;
}

.dc-nav-hamburger span {
  height: 2px;
  display: block;
  background: currentColor;
  border-radius: 2px;
}

.dc-nav-shade {
  position: fixed;
  inset: 0;
  z-index: 12010;
  background: rgba(7, 26, 29, .48);
  backdrop-filter: blur(4px);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s;
}

.dc-nav-shade.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.dc-nav-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 12020;
  width: min(390px, 94vw);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: #f4faf9;
  box-shadow: -18px 0 48px rgba(5, 28, 31, .24);
  transform: translateX(105%);
  transition: transform .2s ease;
}

.dc-nav-drawer.is-open {
  transform: translateX(0);
}

.dc-nav-drawer-head {
  padding: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #075653, #12998b);
  border-bottom: 1px solid #bcded9;
}

.dc-nav-drawer-head strong,
.dc-nav-drawer-head small {
  display: block;
  color: #fff;
}

.dc-nav-drawer-head strong {
  font-size: 21px;
}

.dc-nav-drawer-head small {
  margin-top: 4px;
  font-size: 11px;
  opacity: .75;
}

.dc-nav-drawer-close {
  width: 42px;
  padding: 0 !important;
  color: #fff !important;
  font-size: 21px !important;
  border-color: rgba(255,255,255,.35) !important;
}

.dc-nav-drawer-body {
  padding: 13px;
  overflow: auto;
}

.dc-nav-drawer-section {
  padding-bottom: 13px;
}

.dc-nav-drawer-section + .dc-nav-drawer-section {
  padding-top: 13px;
  border-top: 1px solid var(--dc-nav-line);
}

.dc-nav-drawer-section-head {
  padding: 0 3px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dc-nav-drawer-section-head h2 {
  margin: 0;
  color: var(--dc-nav-teal);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.dc-nav-drawer-section-head small {
  color: var(--dc-nav-muted);
  font-size: 10px;
  font-weight: 800;
}

.dc-nav-drawer-section .dc-nav-panel-list {
  gap: 7px;
}

.dc-nav-drawer-section .dc-nav-link {
  min-height: 61px;
}

.dc-nav-drawer-footer {
  padding: 12px 14px max(12px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #fff;
  border-top: 1px solid var(--dc-nav-line);
}

.dc-nav-drawer-user {
  min-width: 0;
}

.dc-nav-drawer-user strong,
.dc-nav-drawer-user small {
  overflow: hidden;
  display: block;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dc-nav-drawer-user small {
  margin-top: 3px;
  color: var(--dc-nav-muted);
  font-size: 10px;
}

.dc-nav-drawer-logout {
  color: var(--dc-nav-danger) !important;
  background: #fff7f7 !important;
  border-color: #edc8cd !important;
}

.dc-nav.is-access-pending .dc-nav-sections,
.dc-nav.is-access-pending .dc-nav-mobile-button {
  visibility: hidden;
}

.dc-nav.is-portal-only .dc-nav-sections,
.dc-nav.is-portal-only .dc-nav-mobile-button {
  display: none !important;
}

.dc-nav.is-portal-only .dc-nav-inner {
  grid-template-columns: minmax(0, 1fr) auto;
}

@media (max-width: 1050px) {
  .dc-nav-inner {
    grid-template-columns: 175px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .dc-nav-trigger {
    padding-inline: 9px !important;
    font-size: 12px !important;
  }
}

@media (max-width: 900px) {
  :root {
    --dc-nav-height: 78px;
  }

  .dc-nav-inner {
    min-height: var(--dc-nav-height);
    padding: 9px 13px;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .dc-nav-brand img {
    width: 48px;
    height: 48px;
  }

  .dc-nav-brand-copy strong {
    font-size: 16px;
  }

  .dc-nav-sections,
  .dc-nav-user {
    display: none;
  }

  .dc-nav-mobile-button {
    display: inline-flex;
  }
}

@media (max-width: 430px) {
  .dc-nav-drawer {
    width: 100%;
  }

  .dc-nav-drawer-body {
    padding: 10px;
  }

  .dc-nav-drawer-section .dc-nav-link {
    min-height: 57px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dc-nav-panel,
  .dc-nav-drawer,
  .dc-nav-link,
  .dc-nav-trigger::after {
    transition: none !important;
  }
}
