/* NotesBrain recommended learning workflow */
.nb-learning-path {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 14px 0 18px;
  padding: 16px 18px;
  border: 1px solid var(--line, #d7dce3);
  border-radius: 14px;
  background: var(--card, #fff);
  box-shadow: 0 5px 20px rgba(0,0,0,.05);
}

.nb-learning-path__copy {
  min-width: 0;
}

.nb-learning-path__copy h2 {
  margin: 2px 0 6px;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.nb-learning-path__copy p:last-child {
  margin: 0;
  color: var(--muted, #667085);
  font-size: .92rem;
  line-height: 1.45;
}

.nb-learning-path__actions,
.nb-guide-actions,
.nb-guide-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nb-learning-path__actions {
  flex: 0 0 auto;
}

.nb-guide-eyebrow {
  margin: 0;
  font-size: .73rem;
  line-height: 1.2;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent, #4f73d9);
}

.nb-guide-primary,
.nb-guide-actions button,
.nb-path-dismiss,
.nb-guide-close {
  font: inherit;
  cursor: pointer;
}

.nb-guide-primary,
.nb-guide-actions button {
  min-height: 38px;
  padding: 8px 13px;
  border-radius: 9px;
  border: 1px solid var(--line, #ccd4df);
  background: var(--card, #fff);
  color: var(--fg, #1f2937);
  font-weight: 650;
}

.nb-guide-primary {
  border-color: var(--btn-bg-tool, #0c3e80);
  background: var(--btn-bg-tool, #0c3e80);
  color: #fff;
}

.nb-guide-actions button:hover,
.nb-guide-primary:hover {
  filter: brightness(1.06);
}

.nb-path-dismiss {
  border: 0;
  background: transparent;
  color: var(--muted, #667085);
  padding: 8px;
}

.nb-learning-guide {
  width: min(820px, calc(100vw - 28px));
  max-height: min(88vh, 920px);
  padding: 0;
  border: 1px solid var(--line, #d7dce3);
  border-radius: 18px;
  background: var(--card, #fff);
  color: var(--fg, #1f2937);
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}

.nb-learning-guide::backdrop {
  background: rgba(3, 10, 20, .62);
  backdrop-filter: blur(2px);
}

.nb-guide-shell {
  padding: 22px;
}

.nb-guide-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line, #e5e7eb);
}

.nb-guide-header h2 {
  margin: 3px 0 7px;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.nb-guide-intro {
  margin: 0;
  color: var(--muted, #667085);
  line-height: 1.5;
}

.nb-guide-close {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1px solid var(--line, #d7dce3);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font-size: 1.55rem;
  line-height: 1;
}

.nb-guide-steps {
  display: grid;
  gap: 0;
  list-style: none;
  padding: 4px 0 0;
  margin: 0;
}

.nb-guide-steps > li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line, #e5e7eb);
}

.nb-guide-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--btn-bg-tool, #0c3e80);
  color: #fff;
  font-weight: 800;
}

.nb-guide-steps h3,
.nb-guide-toolbox h3 {
  margin: 0 0 5px;
  font-size: 1.02rem;
}

.nb-guide-steps p,
.nb-guide-toolbox p {
  margin: 0 0 10px;
  color: var(--muted, #667085);
  line-height: 1.5;
}

.nb-guide-toolbox {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding: 16px;
  border-radius: 13px;
  background: color-mix(in srgb, var(--btn-bg-tool, #0c3e80) 8%, var(--card, #fff));
  border: 1px solid color-mix(in srgb, var(--btn-bg-tool, #0c3e80) 22%, var(--line, #d7dce3));
}

.nb-guide-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.nb-guide-chips span {
  padding: 6px 9px;
  border-radius: 999px;
  border: 1px solid var(--line, #d7dce3);
  background: var(--card, #fff);
  font-size: .82rem;
  font-weight: 650;
}

.nb-guide-footer {
  justify-content: space-between;
  padding-top: 18px;
}

.nb-guide-footer p {
  margin: 0;
}

.nb-getting-started-nav .mobile-nav-icons {
  font-weight: 800;
  text-align: center;
}

@media (max-width: 700px) {
  .nb-learning-path {
    align-items: stretch;
    flex-direction: column;
  }

  .nb-learning-path__actions {
    justify-content: flex-start;
  }

  .nb-guide-shell {
    padding: 17px;
  }

  .nb-guide-toolbox {
    grid-template-columns: 1fr;
  }

  .nb-guide-chips {
    justify-content: flex-start;
  }

  .nb-guide-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .nb-guide-primary {
    width: 100%;
  }
}