/* R196: shared NexusBrain identity, matching the existing homepage wordmark. */
.nb-brand-r196 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 44px;
  max-width: 100%;
  color: #1186f7;
  text-decoration: none;
  font-family: 'Pretendard Variable', 'Pretendard', system-ui, -apple-system,
    'Segoe UI', Roboto, 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
}

.nb-brand-r196 .nb-brand-r196-mark {
  display: flex;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
}

.nb-brand-r196 .nb-brand-r196-mark img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

.nb-brand-r196 > span:last-child {
  display: block;
  min-width: 0;
}

.nb-brand-r196 .nb-brand-r196-word {
  display: block;
  margin: 0;
  color: #1186f7;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -.7px;
  line-height: 1.18;
  white-space: nowrap;
}

.nb-brand-r196 .nb-brand-r196-sub {
  display: block;
  margin: 4px 0 0;
  color: #526579;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: none;
}

.nb-brand-r196:focus-visible {
  outline: 2px solid #1186f7;
  outline-offset: 5px;
  border-radius: 6px;
}

@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .nb-brand-r196 .nb-brand-r196-word {
    background: linear-gradient(90deg, #1186f7 0%, #10b981 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}

/* Keep the existing analysis sidebar and navigation geometry unchanged. */
.nb-insight-brand.nb-brand-r196 {
  display: flex;
  gap: 10px;
  width: 100%;
  padding: 0 2px;
}

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

.nb-insight-sidebar .nb-insight-brand-copy {
  margin-left: 2px;
  margin-right: 2px;
  color: #bdcee2;
  font-size: 14px;
  line-height: 1.6;
}

@media (forced-colors: active) {
  .nb-brand-r196 .nb-brand-r196-word {
    background: none;
    color: CanvasText;
    -webkit-text-fill-color: currentColor;
  }

  .nb-brand-r196:focus-visible {
    outline-color: Highlight;
  }
}
