/* R201: one sidebar presentation for analysis, history, administration and purchase. */
@font-face {
  font-family: 'NB Sidebar';
  src: url('/assets/fonts/nexusbrain-sidebar-r201.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

.nb-ca-sidebar-r201,
.nb-ca-sidebar-r201 * {
  box-sizing: border-box;
}

.nb-ca-sidebar-r201 {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  width: 220px;
  height: 100vh;
  height: 100dvh;
  padding: 28px 14px 22px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-right: 1px solid #213b53;
  background: #0c1e32;
  color: #c9d9ec;
  font-family: 'NB Sidebar', 'Pretendard Variable', Pretendard, system-ui, -apple-system, 'Segoe UI', 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: break-word;
  transform: none;
  box-shadow: none;
  scrollbar-width: thin;
  scrollbar-color: #365d85 #0c1e32;
}

.nb-ca-side-head-r201 {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  padding: 0 2px;
}

.nb-ca-sidebar-r201 .nb-brand-r196 {
  font-family: inherit;
}

.nb-ca-sidebar-r201 .nb-brand-r196-sub {
  color: #bdcee2;
}

.nb-ca-side-slogan-r201 {
  flex-shrink: 0;
  margin: 22px 6px 34px;
  color: #bdcee2;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
}

.nb-ca-side-nav-r201 {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  gap: 7px;
}

.nb-ca-sidebar-r201 .nb-ca-side-link-r201 {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 49px;
  padding: 11px 14px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #c9d9ec;
  font-family: inherit;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.45;
  text-decoration: none;
  transform: none;
  box-shadow: none;
}

.nb-ca-side-label-r201 {
  min-width: 0;
  color: inherit;
  font: inherit;
}

.nb-ca-sidebar-r201 .nb-ca-side-icon-r201 {
  display: block;
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nb-ca-sidebar-r201 .nb-ca-side-link-r201:hover {
  background: #17324d;
  color: #fff;
  transform: none;
}

.nb-ca-sidebar-r201 .nb-ca-side-link-r201.is-active {
  border-color: #365d85;
  background: #20466d;
  color: #fff;
}

.nb-ca-sidebar-r201 a:focus-visible,
.nb-ca-sidebar-r201 button:focus-visible {
  outline: 3px solid #138ac2;
  outline-offset: 4px;
}

.nb-ca-side-rule-r201 {
  flex-shrink: 0;
  height: 1px;
  margin: 17px 6px;
  background: #284057;
}

.nb-ca-side-account-r201 {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 22px 6px 0;
  border-top: 1px solid #284057;
  font-size: 14px;
  line-height: 1.7;
}

.nb-ca-side-avatar-r201 {
  display: grid;
  flex: 0 0 34px;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #edf4ff;
  color: #234f86;
  font-size: 16px;
  font-weight: 800;
}

.nb-ca-side-account-r201 > div {
  flex: 1;
  min-width: 0;
}

.nb-ca-side-account-r201 b,
.nb-ca-side-account-r201 small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nb-ca-side-account-r201 b {
  color: #d3e0f0;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.7;
}

.nb-ca-side-account-r201 small {
  color: #bdcee2;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.7;
}

.nb-ca-side-close-r201 {
  display: none;
}

[data-nb-sidebar-layout-r201="insight"] > .nb-insight-workspace {
  grid-column: 2;
}

#nbInsightBackdrop,
#nbPurchaseBackdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #071a2a88;
}

#nbInsightBackdrop:not([hidden]),
#nbPurchaseBackdrop:not([hidden]) {
  display: block;
}

#nbInsightBackdrop[hidden],
#nbPurchaseBackdrop[hidden] {
  display: none !important;
}

@media (max-width: 980px) {
  .nb-ca-sidebar-r201 {
    width: min(300px, calc(100vw - 40px));
    padding: 24px 16px;
    transform: translateX(-101%);
    transition: transform .18s ease;
  }

  .nb-ca-sidebar-r201.is-open {
    transform: translateX(0);
  }

  .nb-ca-side-close-r201 {
    display: grid;
    flex: 0 0 36px;
    place-items: center;
    width: 36px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    border: 1px solid #46627b;
    border-radius: 7px;
    background: #19334c;
    color: #fff;
    font-family: inherit;
    font-size: 25px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
  }

  .nb-ca-sidebar-r201 .nb-ca-side-link-r201 {
    font-size: 17px;
  }

  [data-nb-sidebar-layout-r201="insight"] {
    display: block;
  }

  [data-nb-sidebar-layout-r201="insight"] > .nb-insight-workspace {
    grid-column: auto;
  }

  [data-nb-sidebar-layout-r201="insight"] .nb-insight-menu-btn {
    display: inline-grid;
    flex: 0 0 44px;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #cad9e4;
    border-radius: 7px;
    background: #fff;
    color: #173d57;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nb-ca-sidebar-r201 {
    transition: none;
  }
}

@media (forced-colors: active) {
  .nb-ca-sidebar-r201 .nb-ca-side-link-r201.is-active {
    border-color: Highlight;
  }
}

@media print {
  .nb-ca-sidebar-r201,
  #nbInsightBackdrop,
  #nbPurchaseBackdrop {
    display: none !important;
  }
}
