/*
 * Bússola Jovem 2.0 — homepage, local decision board and tools directory.
 * Builds on the shared NB Invicta Group design system.
 */

.bj-home-v2 {
  background:
    radial-gradient(circle at 92% 8%, rgba(69, 166, 237, 0.12), transparent 26rem),
    linear-gradient(180deg, #f8f8ff 0, #f3f2fb 46rem, var(--nb-canvas) 100%);
}

.bj-home-v2 main {
  overflow: clip;
}

.bj-hero-v2,
.bj-section-v2,
.bj-dashboard-section-v2,
.bj-tools-section-v2,
.bj-paths-section-v2,
.bj-free-banner-v2,
.bj-home-v2 .source-note {
  width: var(--nb-page);
  margin-inline: auto;
}

.bj-hero-v2 {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.78fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  min-height: 700px;
  margin-top: 2rem;
  padding: clamp(2rem, 5vw, 4.8rem);
  overflow: hidden;
  border: 1px solid rgba(85, 83, 207, 0.2);
  border-radius: 42px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 12%, rgba(106, 197, 255, 0.23), transparent 24rem),
    radial-gradient(circle at 8% 92%, rgba(149, 122, 255, 0.22), transparent 28rem),
    linear-gradient(132deg, #24215d 0%, #39338f 52%, #4854bc 100%);
  box-shadow: 0 30px 90px rgba(40, 37, 110, 0.24);
}

.bj-hero-v2::before,
.bj-hero-v2::after {
  position: absolute;
  z-index: -1;
  content: "";
  border-radius: 50%;
  pointer-events: none;
}

.bj-hero-v2::before {
  width: 560px;
  height: 560px;
  right: -250px;
  top: -270px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 74px rgba(255, 255, 255, 0.025),
    0 0 0 154px rgba(255, 255, 255, 0.018);
}

.bj-hero-v2::after {
  width: 230px;
  height: 230px;
  left: -110px;
  bottom: -120px;
  background: rgba(117, 208, 255, 0.1);
  filter: blur(2px);
}

.bj-hero-copy-v2 {
  position: relative;
  z-index: 1;
}

.bj-hero-v2 .nb-eyebrow-v2 {
  color: #c7e8ff;
}

.bj-hero-copy-v2 h1 {
  max-width: 830px;
  margin: 1rem 0 1.35rem;
  color: #fff;
  font-size: clamp(3.35rem, 7.2vw, 6.8rem);
  line-height: 0.91;
  letter-spacing: -0.078em;
}

.bj-hero-copy-v2 h1 span {
  color: #a9dcff;
}

.bj-hero-copy-v2 > p {
  max-width: 710px;
  margin: 0;
  color: #dcddf8;
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  line-height: 1.66;
}

.bj-hero-v2 .nb-button-v2 {
  color: #282462;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 13, 54, 0.22);
}

.bj-hero-v2 .nb-button-v2:hover {
  color: #25215d;
  background: #eaf6ff;
}

.bj-hero-v2 .nb-button-secondary-v2 {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.27);
  background: rgba(255, 255, 255, 0.08);
}

.bj-hero-v2 .nb-button-secondary-v2:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.14);
}

.bj-trust-list-v2 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.25rem;
  margin: 1.5rem 0 0;
  padding: 0;
  color: #d5dcff;
  list-style: none;
}

.bj-trust-list-v2 li {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  font-weight: 750;
}

.bj-trust-list-v2 li::before {
  width: 0.55rem;
  height: 0.55rem;
  content: "";
  border-radius: 50%;
  background: #73d1ff;
  box-shadow: 0 0 0 5px rgba(115, 209, 255, 0.13);
}

.bj-compass-card-v2 {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 30px;
  padding: clamp(1.25rem, 3vw, 1.8rem);
  color: #131333;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 26px 60px rgba(15, 13, 54, 0.25);
  backdrop-filter: blur(14px);
}

.bj-compass-card-head-v2 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: center;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(85, 83, 207, 0.14);
}

.bj-compass-mark-v2 {
  position: relative;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background:
    radial-gradient(circle, #fff 0 27%, transparent 28%),
    conic-gradient(from 45deg, #5653cf 0 25%, #a7ddff 25% 50%, #5653cf 50% 75%, #a7ddff 75%);
  box-shadow:
    inset 0 0 0 9px #f0efff,
    0 8px 22px rgba(62, 58, 157, 0.2);
}

.bj-compass-mark-v2::before {
  width: 34px;
  height: 34px;
  content: "";
  background: #37328f;
  clip-path: polygon(50% 0, 62% 39%, 100% 50%, 62% 61%, 50% 100%, 38% 61%, 0 50%, 38% 39%);
}

.bj-compass-mark-v2 span {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
}

.bj-compass-card-head-v2 small,
.bj-route-item-v2 small,
.bj-suggestion-v2 > span,
.bj-route-overview-v2 > div > span,
.bj-choice-results-head-v2 span {
  display: block;
  color: #7776a3;
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.bj-compass-card-head-v2 h2 {
  margin: 0.14rem 0 0;
  color: #25245c;
  font-size: 1.26rem;
  letter-spacing: -0.03em;
}

.bj-status-chip-v2,
.bj-route-state-v2 {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 0.35rem 0.68rem;
  color: #6e6d82;
  background: #f0f0f5;
  font-size: 0.72rem;
  font-weight: 850;
  white-space: nowrap;
}

.bj-status-chip-v2.is-ready,
.bj-route-state-v2.is-ready {
  color: #38348e;
  background: #ecebff;
}

.bj-route-state-v2.is-progress {
  color: #176485;
  background: #e1f5ff;
}

.bj-route-state-v2.is-strong {
  color: #116b54;
  background: #e2f7f0;
}

.bj-route-list-v2 {
  display: grid;
  gap: 0;
  padding: 1rem 0 0.8rem;
}

.bj-route-item-v2 {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  min-height: 72px;
}

.bj-route-item-v2:not(:last-child)::after {
  position: absolute;
  top: 52px;
  bottom: -20px;
  left: 18px;
  width: 1px;
  content: "";
  background: linear-gradient(#c9c8f5, transparent);
}

.bj-route-number-v2 {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border: 1px solid #d8d7f4;
  border-radius: 50%;
  color: #4946af;
  background: #f5f4ff;
  font-size: 0.78rem;
  font-weight: 950;
}

.bj-route-item-v2 strong {
  display: block;
  margin-top: 0.16rem;
  overflow: hidden;
  color: #28275a;
  font-size: 0.94rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bj-hero-progress-v2 {
  padding: 1rem 0 0.45rem;
  border-top: 1px solid rgba(85, 83, 207, 0.12);
}

.bj-hero-progress-v2 > div:first-child {
  display: flex;
  justify-content: space-between;
  color: #56557d;
  font-size: 0.78rem;
  font-weight: 850;
}

.bj-hero-progress-v2 > div:first-child strong {
  color: #39358f;
}

.bj-progress-track-v2 {
  height: 8px;
  margin-top: 0.55rem;
  overflow: hidden;
  border-radius: 999px;
  background: #e7e7f1;
}

.bj-progress-track-v2 span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5653cf, #56b9ef);
  transition: width 360ms ease;
}

.bj-hero-progress-v2 > small {
  display: block;
  margin-top: 0.5rem;
  color: #7a7992;
}

.bj-compass-link-v2 {
  display: flex;
  justify-content: space-between;
  margin-top: 0.6rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(85, 83, 207, 0.12);
  color: #4542a5;
  font-weight: 900;
  text-decoration: none;
}

.bj-section-v2,
.bj-tools-section-v2,
.bj-paths-section-v2 {
  padding-block: clamp(5rem, 9vw, 8.2rem);
}

.bj-section-heading-v2 {
  max-width: 780px;
  margin-bottom: 2.2rem;
}

.bj-section-heading-v2 h2 {
  margin: 0.72rem 0 0.9rem;
  color: #1d1c49;
  font-size: clamp(2.35rem, 5.4vw, 4.75rem);
  line-height: 0.99;
}

.bj-section-heading-v2 > p,
.bj-heading-row-v2 p {
  max-width: 730px;
  margin: 0;
  color: #65647c;
  font-size: 1.04rem;
  line-height: 1.67;
}

.bj-intent-grid-v2 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.bj-intent-card-v2 {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  border: 1px solid rgba(85, 83, 207, 0.13);
  border-radius: 25px;
  padding: 1.45rem;
  color: inherit;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 34px rgba(43, 39, 112, 0.08);
  text-decoration: none;
  transition:
    transform var(--nb-transition),
    border-color var(--nb-transition),
    box-shadow var(--nb-transition);
}

.bj-intent-card-v2::after {
  position: absolute;
  right: 1.2rem;
  bottom: 1.15rem;
  width: 54px;
  height: 54px;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(85, 83, 207, 0.08) 0 34%, transparent 35%);
  box-shadow: 0 0 0 10px rgba(85, 83, 207, 0.025);
}

.bj-intent-card-v2:hover {
  z-index: 1;
  transform: translateY(-6px);
  border-color: rgba(85, 83, 207, 0.32);
  box-shadow: 0 22px 52px rgba(43, 39, 112, 0.14);
}

.bj-intent-icon-v2,
.bj-tool-icon-v2 {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  color: #4440a5;
  background: linear-gradient(145deg, #f1f0ff, #e8f6ff);
  font-weight: 950;
}

.bj-intent-card-v2 small,
.bj-tool-card-v2 small,
.bj-path-grid-v2 small {
  display: block;
  margin-top: 1.2rem;
  color: #6967ae;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.085em;
}

.bj-intent-card-v2 h3 {
  margin: 0.55rem 0 0.65rem;
  color: #242353;
  font-size: 1.3rem;
}

.bj-intent-card-v2 p {
  margin: 0;
  color: #6a697e;
  line-height: 1.62;
}

.bj-intent-card-v2 strong {
  margin-top: auto;
  padding-top: 1.2rem;
  color: #4542a5;
  font-size: 0.9rem;
}

.bj-dashboard-section-v2 {
  position: relative;
  isolation: isolate;
  border-radius: 42px;
  padding: clamp(2rem, 5vw, 4.2rem);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(87, 190, 241, 0.16), transparent 28rem),
    radial-gradient(circle at 0 100%, rgba(140, 113, 235, 0.16), transparent 30rem),
    linear-gradient(145deg, #1d1b49, #2d296d 58%, #25255f);
  box-shadow: 0 30px 80px rgba(31, 28, 78, 0.22);
}

.bj-dashboard-section-v2::before {
  position: absolute;
  z-index: -1;
  top: -260px;
  right: -230px;
  width: 560px;
  height: 560px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(255, 255, 255, 0.018),
    0 0 0 140px rgba(255, 255, 255, 0.012);
}

.bj-section-heading-light-v2 {
  max-width: none;
}

.bj-section-heading-light-v2 .nb-eyebrow-v2 {
  color: #a9dcff;
}

.bj-section-heading-light-v2 h2 {
  color: #fff;
}

.bj-section-heading-light-v2 > p,
.bj-section-heading-light-v2 .bj-heading-row-v2 p {
  color: #c8c8e5;
}

.bj-heading-row-v2 {
  display: flex;
  gap: 2rem;
  align-items: flex-end;
  justify-content: space-between;
}

.bj-heading-row-v2 > div:first-child {
  max-width: 780px;
}

.bj-data-actions-v2 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
}

.bj-data-actions-v2 button,
.bj-import-label-v2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  color: #e8e8fa;
  background: rgba(255, 255, 255, 0.055);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 850;
  cursor: pointer;
}

.bj-data-actions-v2 button:hover,
.bj-import-label-v2:hover {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.1);
}

.bj-import-label-v2 input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.bj-dashboard-grid-v2 {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.72fr);
  gap: 1rem;
  margin-top: 2rem;
}

.bj-panel-v2 {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  padding: clamp(1.25rem, 3vw, 1.8rem);
  color: #ececfa;
  background: rgba(255, 255, 255, 0.075);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
}

.bj-panel-heading-v2 {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.35rem;
}

.bj-panel-heading-v2 > div {
  display: flex;
  gap: 0.72rem;
  align-items: center;
}

.bj-panel-heading-v2 h3 {
  margin: 0;
  color: #fff;
  font-size: 1.22rem;
}

.bj-panel-heading-v2 > small,
.bj-decision-count-v2,
.bj-panel-heading-v2 > strong {
  color: #b8b8d6;
  font-size: 0.76rem;
  font-weight: 800;
}

.bj-panel-number-v2 {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(153, 211, 255, 0.25);
  border-radius: 50%;
  color: #b9e6ff;
  background: rgba(86, 185, 239, 0.09);
  font-size: 0.72rem;
  font-weight: 950;
}

.bj-form-v2,
.bj-choice-form-v2 {
  display: grid;
  gap: 0.85rem;
}

.bj-form-v2 label,
.bj-choice-form-v2 label,
.bj-action-form-v2 label {
  display: grid;
  gap: 0.38rem;
}

.bj-form-v2 label > span,
.bj-choice-form-v2 label > span,
.bj-action-form-v2 label > span {
  color: #d3d3e9;
  font-size: 0.78rem;
  font-weight: 800;
}

.bj-form-v2 input,
.bj-form-v2 select,
.bj-choice-form-v2 input,
.bj-choice-form-v2 select,
.bj-action-form-v2 input {
  width: 100%;
  min-height: 47px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 13px;
  padding: 0.72rem 0.82rem;
  color: #fff;
  background: rgba(10, 9, 38, 0.24);
  font: inherit;
  color-scheme: dark;
}

.bj-form-v2 input::placeholder,
.bj-choice-form-v2 input::placeholder,
.bj-action-form-v2 input::placeholder {
  color: #9695b2;
}

.bj-form-v2 input:focus,
.bj-form-v2 select:focus,
.bj-choice-form-v2 input:focus,
.bj-choice-form-v2 select:focus,
.bj-action-form-v2 input:focus {
  border-color: rgba(124, 205, 255, 0.58);
  outline: none;
  box-shadow: 0 0 0 3px rgba(86, 185, 239, 0.12);
}

.bj-primary-action-v2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 49px;
  border: 0;
  border-radius: 14px;
  padding: 0.78rem 1rem;
  color: #25215e;
  background: linear-gradient(135deg, #eef8ff, #bde9ff);
  box-shadow: 0 10px 24px rgba(5, 6, 30, 0.15);
  font: inherit;
  font-weight: 930;
  cursor: pointer;
  transition:
    transform var(--nb-transition),
    box-shadow var(--nb-transition);
}

.bj-primary-action-v2:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(5, 6, 30, 0.22);
}

.bj-form-status-v2 {
  min-height: 1.4em;
  margin: 0;
  color: #aeaecb;
  font-size: 0.78rem;
}

.bj-form-status-v2.is-success {
  color: #8fe6cb;
}

.bj-form-status-v2.is-error {
  color: #ffb8c2;
}

.bj-suggestion-v2 {
  margin-top: 1.2rem;
  border: 1px solid rgba(133, 210, 255, 0.15);
  border-radius: 16px;
  padding: 1rem;
  background: rgba(91, 190, 242, 0.075);
}

.bj-suggestion-v2 > span {
  color: #9ad9ff;
}

.bj-suggestion-v2 p {
  margin: 0.4rem 0 0;
  color: #e3e3f2;
  line-height: 1.55;
}

.bj-route-overview-v2 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.2rem;
  align-items: center;
}

.bj-route-ring-v2 {
  --bj-progress: 0;
  position: relative;
  display: grid;
  place-items: center;
  width: 126px;
  height: 126px;
  flex: 0 0 126px;
  border-radius: 50%;
  background:
    radial-gradient(circle, #2a2866 0 57%, transparent 58%),
    conic-gradient(#72caf8 calc(var(--bj-progress) * 1%), rgba(255, 255, 255, 0.09) 0);
}

.bj-route-ring-v2::after {
  position: absolute;
  inset: 7px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: inherit;
}

.bj-route-ring-v2 strong,
.bj-route-ring-v2 span {
  position: absolute;
  z-index: 1;
}

.bj-route-ring-v2 strong {
  margin-top: -0.55rem;
  color: #fff;
  font-size: 1.65rem;
  letter-spacing: -0.04em;
}

.bj-route-ring-v2 span {
  margin-top: 1.9rem;
  color: #aaaac8;
  font-size: 0.68rem;
  font-weight: 800;
}

.bj-route-overview-v2 > div > span {
  color: #9bdcff;
}

.bj-route-overview-v2 h3 {
  margin: 0.3rem 0 0.45rem;
  color: #fff;
}

.bj-route-overview-v2 p {
  margin: 0;
  color: #b8b8d0;
  line-height: 1.55;
}

.bj-route-metrics-v2 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 1.3rem;
}

.bj-route-metrics-v2 > div {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 0.8rem;
  background: rgba(6, 6, 30, 0.12);
}

.bj-route-metrics-v2 span,
.bj-route-metrics-v2 small {
  display: block;
  color: #aaaac4;
  font-size: 0.68rem;
  font-weight: 750;
}

.bj-route-metrics-v2 strong {
  display: block;
  margin-block: 0.1rem;
  color: #fff;
  font-size: 1.5rem;
}

.bj-privacy-note-v2 {
  display: flex;
  gap: 0.5rem;
  margin: 1.1rem 0 0;
  color: #aaaac4;
  font-size: 0.72rem;
}

.bj-privacy-note-v2 span {
  color: #6fd3ff;
}

.bj-decision-panel-v2,
.bj-actions-panel-v2 {
  margin-top: 1rem;
}

.bj-decision-layout-v2 {
  display: grid;
  grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1fr);
  gap: 1rem;
}

.bj-choice-form-v2 {
  align-content: start;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 19px;
  padding: 1.1rem;
  background: rgba(4, 4, 29, 0.12);
}

.bj-form-intro-v2 strong {
  color: #fff;
}

.bj-form-intro-v2 p {
  margin: 0.25rem 0 0;
  color: #aaaac4;
  font-size: 0.78rem;
}

.bj-score-grid-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.bj-choice-results-v2 {
  min-width: 0;
}

.bj-choice-results-head-v2 {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.bj-choice-results-head-v2 span {
  color: #9edcff;
}

.bj-choice-results-head-v2 strong {
  display: block;
  margin-top: 0.2rem;
  color: #fff;
}

.bj-choice-results-head-v2 a {
  color: #b8e6ff;
  font-size: 0.78rem;
  font-weight: 850;
  text-decoration: none;
}

.bj-choice-list-v2 {
  display: grid;
  gap: 0.62rem;
}

.bj-choice-card-v2 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 0.9rem;
  background: rgba(7, 7, 33, 0.15);
}

.bj-choice-card-v2.is-leading {
  border-color: rgba(120, 210, 255, 0.35);
  background: rgba(77, 173, 225, 0.1);
}

.bj-choice-rank-v2 {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #bfe9ff;
  background: rgba(86, 185, 239, 0.12);
  font-size: 0.75rem;
  font-weight: 950;
}

.bj-choice-copy-v2 {
  min-width: 0;
}

.bj-choice-copy-v2 strong {
  display: block;
  overflow: hidden;
  color: #fff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bj-choice-copy-v2 small {
  display: block;
  margin-top: 0.16rem;
  color: #aaaac5;
  font-size: 0.7rem;
}

.bj-choice-score-v2 {
  min-width: 62px;
  text-align: right;
}

.bj-choice-score-v2 strong {
  display: block;
  color: #aee3ff;
  font-size: 1.35rem;
}

.bj-choice-score-v2 small {
  display: block;
  color: #9999b7;
  font-size: 0.64rem;
}

.bj-choice-remove-v2,
.bj-action-remove-v2 {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #bdbdd2;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.bj-choice-card-v2 .bj-choice-remove-v2 {
  grid-column: 3;
  justify-self: end;
}

.bj-choice-remove-v2:hover,
.bj-action-remove-v2:hover {
  color: #fff;
  border-color: rgba(255, 177, 190, 0.36);
  background: rgba(200, 60, 90, 0.12);
}

.bj-method-note-v2 {
  margin: 0.85rem 0 0;
  color: #9f9fbd;
  font-size: 0.72rem;
  line-height: 1.55;
}

.bj-method-note-v2 strong {
  color: #cfcfe4;
}

.bj-empty-v2 {
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 1.2rem;
  color: #aaaac5;
  background: rgba(3, 3, 27, 0.1);
  text-align: center;
}

.bj-empty-v2 strong {
  display: block;
  color: #dedeee;
}

.bj-empty-v2 p {
  margin: 0.3rem 0 0;
}

.bj-actions-layout-v2 {
  display: grid;
  grid-template-columns: minmax(260px, 0.5fr) minmax(0, 1fr);
  gap: 1rem;
}

.bj-action-form-v2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.36fr) auto;
  gap: 0.7rem;
  align-items: end;
}

.bj-action-form-v2 .bj-primary-action-v2 {
  padding-inline: 1.2rem;
  white-space: nowrap;
}

.bj-action-list-v2 {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.7rem;
}

.bj-action-item-v2 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 0.78rem;
  background: rgba(5, 5, 30, 0.13);
}

.bj-action-item-v2.is-done {
  opacity: 0.72;
}

.bj-action-check-v2 {
  position: relative;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.bj-action-check-v2::after {
  width: 9px;
  height: 5px;
  content: "";
  transform: rotate(-45deg) translateY(-1px);
  border-bottom: 2px solid transparent;
  border-left: 2px solid transparent;
}

.bj-action-item-v2.is-done .bj-action-check-v2 {
  border-color: #6fd6b6;
  background: rgba(74, 188, 151, 0.2);
}

.bj-action-item-v2.is-done .bj-action-check-v2::after {
  border-color: #92f1d4;
}

.bj-action-copy-v2 {
  min-width: 0;
}

.bj-action-copy-v2 strong {
  display: block;
  color: #fff;
  font-size: 0.88rem;
}

.bj-action-copy-v2 small {
  display: block;
  margin-top: 0.15rem;
  color: #9e9eb8;
  font-size: 0.68rem;
}

.bj-action-item-v2.is-done .bj-action-copy-v2 strong {
  text-decoration: line-through;
}

.bj-tools-section-v2 {
  padding-bottom: 4rem;
}

.bj-tool-controls-v2 {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.bj-tool-search-v2 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
  width: min(560px, 100%);
  min-height: 54px;
  border: 1px solid rgba(85, 83, 207, 0.15);
  border-radius: 16px;
  padding: 0.55rem 0.75rem;
  color: #6a68a4;
  background: #fff;
  box-shadow: var(--nb-shadow-sm);
}

.bj-tool-search-v2 input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #26254d;
  background: transparent;
  font: inherit;
}

.bj-tool-search-v2 input::placeholder {
  color: #8b8a9d;
}

.bj-tool-search-v2 kbd {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 27px;
  border: 1px solid #e0dff1;
  border-radius: 7px;
  color: #77768f;
  background: #f6f5fb;
  font: inherit;
  font-size: 0.72rem;
}

.bj-filter-row-v2 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

.bj-filter-row-v2 button {
  min-height: 39px;
  border: 1px solid rgba(85, 83, 207, 0.13);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  color: #616078;
  background: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 850;
  cursor: pointer;
}

.bj-filter-row-v2 button:hover,
.bj-filter-row-v2 button.is-active {
  color: #fff;
  border-color: #504dbf;
  background: #504dbf;
}

.bj-result-count-v2 {
  margin: 0 0 0.8rem;
  color: #77768d;
  font-size: 0.8rem;
  font-weight: 750;
}

.bj-tool-grid-v2 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.bj-tool-card-v2 {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  border: 1px solid rgba(85, 83, 207, 0.13);
  border-radius: 23px;
  padding: 1.35rem;
  color: inherit;
  background: rgba(255, 255, 255, 0.87);
  box-shadow: 0 12px 30px rgba(40, 37, 95, 0.065);
  text-decoration: none;
  transition:
    transform var(--nb-transition),
    border-color var(--nb-transition),
    box-shadow var(--nb-transition);
}

.bj-tool-card-v2:hover {
  transform: translateY(-5px);
  border-color: rgba(85, 83, 207, 0.34);
  box-shadow: 0 20px 48px rgba(40, 37, 95, 0.12);
}

.bj-tool-card-v2 small {
  margin-top: 1rem;
}

.bj-tool-card-v2 h3 {
  margin: 0.46rem 0 0.55rem;
  color: #24234e;
  font-size: 1.17rem;
}

.bj-tool-card-v2 p {
  margin: 0;
  color: #6c6b80;
  line-height: 1.58;
}

.bj-tool-card-v2 strong {
  margin-top: auto;
  padding-top: 1rem;
  color: #4744aa;
  font-size: 0.82rem;
}

.bj-tool-card-v2[hidden] {
  display: none !important;
}

.bj-no-results-v2 {
  border: 1px dashed rgba(85, 83, 207, 0.25);
  border-radius: 22px;
  padding: 2rem;
  color: #68677c;
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.bj-no-results-v2 strong {
  display: block;
  color: #252451;
  font-size: 1.2rem;
}

.bj-no-results-v2 p {
  margin: 0.35rem 0 1rem;
}

.bj-no-results-v2 button {
  border: 0;
  border-radius: 999px;
  padding: 0.65rem 1rem;
  color: #fff;
  background: #504dbf;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.bj-paths-section-v2 {
  padding-top: 3rem;
}

.bj-path-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.bj-path-grid-v2 > a {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  border: 1px solid rgba(85, 83, 207, 0.15);
  border-radius: 27px;
  padding: 1.6rem;
  overflow: hidden;
  color: inherit;
  background:
    radial-gradient(circle at 100% 0, rgba(79, 167, 232, 0.11), transparent 15rem),
    #fff;
  box-shadow: 0 16px 40px rgba(40, 37, 95, 0.075);
  text-decoration: none;
}

.bj-path-grid-v2 > a::after {
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 150px;
  height: 150px;
  content: "";
  border: 1px solid rgba(85, 83, 207, 0.11);
  border-radius: 50%;
  box-shadow: 0 0 0 25px rgba(85, 83, 207, 0.025);
}

.bj-path-grid-v2 h3 {
  max-width: 340px;
  margin: 0.7rem 0 1rem;
  color: #24234e;
  font-size: 1.55rem;
}

.bj-path-grid-v2 ol {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  counter-reset: bj-path;
  list-style: none;
}

.bj-path-grid-v2 li {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  color: #66657a;
  counter-increment: bj-path;
}

.bj-path-grid-v2 li::before {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  content: counter(bj-path);
  border-radius: 50%;
  color: #4c49b3;
  background: #eeedff;
  font-size: 0.7rem;
  font-weight: 900;
}

.bj-path-grid-v2 strong {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 1.4rem;
  color: #4946ad;
}

.bj-free-banner-v2 {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  margin-block: clamp(3rem, 7vw, 6rem);
  border: 1px solid rgba(85, 83, 207, 0.18);
  border-radius: 30px;
  padding: clamp(1.7rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 92% 5%, rgba(86, 185, 239, 0.16), transparent 16rem),
    linear-gradient(135deg, #f1f0ff, #edf8ff);
}

.bj-free-banner-v2 > div {
  max-width: 800px;
}

.bj-free-banner-v2 h2 {
  margin: 0.6rem 0 0.75rem;
  color: #28265c;
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.bj-free-banner-v2 p {
  margin: 0;
  color: #62617a;
}

.bj-free-banner-v2 .nb-button-secondary-v2 {
  flex: 0 0 auto;
  color: #39358f;
  border-color: rgba(85, 83, 207, 0.22);
  background: #fff;
}

.bj-home-v2 .source-note {
  margin-bottom: clamp(4rem, 7vw, 7rem);
}

html[data-nb-theme="dark"] .bj-home-v2 {
  background:
    radial-gradient(circle at 92% 8%, rgba(69, 166, 237, 0.09), transparent 26rem),
    linear-gradient(180deg, #101021, #141427 46rem, #10111e);
}

html[data-nb-theme="dark"] .bj-section-heading-v2 h2 {
  color: #f0f0fb;
}

html[data-nb-theme="dark"] .bj-section-heading-v2 > p {
  color: #aaa9bf;
}

html[data-nb-theme="dark"] .bj-intent-card-v2,
html[data-nb-theme="dark"] .bj-tool-card-v2,
html[data-nb-theme="dark"] .bj-path-grid-v2 > a {
  border-color: rgba(151, 148, 233, 0.18);
  background-color: rgba(28, 28, 49, 0.94);
  box-shadow: none;
}

html[data-nb-theme="dark"] .bj-intent-card-v2 h3,
html[data-nb-theme="dark"] .bj-tool-card-v2 h3,
html[data-nb-theme="dark"] .bj-path-grid-v2 h3 {
  color: #eeeefa;
}

html[data-nb-theme="dark"] .bj-intent-card-v2 p,
html[data-nb-theme="dark"] .bj-tool-card-v2 p,
html[data-nb-theme="dark"] .bj-path-grid-v2 li {
  color: #aaa9bd;
}

html[data-nb-theme="dark"] .bj-intent-icon-v2,
html[data-nb-theme="dark"] .bj-tool-icon-v2 {
  color: #bcbaff;
  background: linear-gradient(145deg, #2b294f, #233848);
}

html[data-nb-theme="dark"] .bj-tool-search-v2 {
  border-color: rgba(151, 148, 233, 0.2);
  color: #aaa9c5;
  background: #1b1b31;
  box-shadow: none;
}

html[data-nb-theme="dark"] .bj-tool-search-v2 input {
  color: #eeeeFA;
}

html[data-nb-theme="dark"] .bj-tool-search-v2 kbd {
  border-color: #393852;
  color: #aaa9bd;
  background: #24233c;
}

html[data-nb-theme="dark"] .bj-filter-row-v2 button {
  color: #bbb9cb;
  border-color: rgba(151, 148, 233, 0.18);
  background: #1d1d33;
}

html[data-nb-theme="dark"] .bj-filter-row-v2 button.is-active,
html[data-nb-theme="dark"] .bj-filter-row-v2 button:hover {
  color: #fff;
  background: #5b57c9;
}

html[data-nb-theme="dark"] .bj-result-count-v2 {
  color: #9998ae;
}

html[data-nb-theme="dark"] .bj-no-results-v2 {
  color: #aaa9bd;
  border-color: rgba(151, 148, 233, 0.22);
  background: #1b1b31;
}

html[data-nb-theme="dark"] .bj-no-results-v2 strong {
  color: #eeeefa;
}

html[data-nb-theme="dark"] .bj-free-banner-v2 {
  border-color: rgba(151, 148, 233, 0.2);
  background:
    radial-gradient(circle at 92% 5%, rgba(86, 185, 239, 0.1), transparent 16rem),
    linear-gradient(135deg, #24223f, #1f2d3a);
}

html[data-nb-theme="dark"] .bj-free-banner-v2 h2 {
  color: #f0f0fb;
}

html[data-nb-theme="dark"] .bj-free-banner-v2 p {
  color: #aaa9bd;
}

html[data-nb-theme="dark"] .bj-free-banner-v2 .nb-button-secondary-v2 {
  color: #e7e6ff;
  border-color: rgba(151, 148, 233, 0.25);
  background: #302e51;
}

@media (max-width: 1120px) {
  .bj-intent-grid-v2,
  .bj-tool-grid-v2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bj-intent-card-v2 {
    min-height: 270px;
  }

  .bj-tool-card-v2 {
    min-height: 260px;
  }

  .bj-tool-controls-v2 {
    align-items: flex-start;
    flex-direction: column;
  }

  .bj-filter-row-v2 {
    justify-content: flex-start;
  }
}

@media (max-width: 980px) {
  .bj-hero-v2 {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 2.3rem;
  }

  .bj-compass-card-v2 {
    width: min(640px, 100%);
  }

  .bj-dashboard-grid-v2,
  .bj-decision-layout-v2,
  .bj-actions-layout-v2 {
    grid-template-columns: 1fr;
  }

  .bj-action-form-v2 {
    grid-template-columns: minmax(0, 1fr) minmax(160px, 0.4fr) auto;
  }

  .bj-path-grid-v2 {
    grid-template-columns: 1fr;
  }

  .bj-path-grid-v2 > a {
    min-height: 300px;
  }
}

@media (max-width: 820px) {
  .bj-hero-v2,
  .bj-dashboard-section-v2 {
    width: min(100% - 20px, 1180px);
    border-radius: 30px;
  }

  .bj-hero-v2 {
    margin-top: 0.7rem;
  }

  .bj-heading-row-v2,
  .bj-free-banner-v2 {
    align-items: flex-start;
    flex-direction: column;
  }

  .bj-data-actions-v2 {
    justify-content: flex-start;
  }

  .bj-free-banner-v2 .nb-button-secondary-v2 {
    flex: auto;
  }

  .bj-section-v2,
  .bj-tools-section-v2,
  .bj-paths-section-v2 {
    padding-block: 4.5rem;
  }
}

@media (max-width: 650px) {
  .bj-hero-v2,
  .bj-dashboard-section-v2 {
    padding: 1.25rem;
  }

  .bj-hero-copy-v2 h1 {
    font-size: clamp(3rem, 14vw, 4.6rem);
  }

  .bj-compass-card-v2 {
    padding: 1rem;
    border-radius: 22px;
  }

  .bj-compass-card-head-v2 {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .bj-status-chip-v2 {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .bj-route-item-v2 strong {
    white-space: normal;
  }

  .bj-intent-grid-v2,
  .bj-tool-grid-v2 {
    grid-template-columns: 1fr;
  }

  .bj-intent-card-v2,
  .bj-tool-card-v2 {
    min-height: 0;
  }

  .bj-route-overview-v2 {
    grid-template-columns: 1fr;
  }

  .bj-route-ring-v2 {
    width: 112px;
    height: 112px;
    justify-self: center;
  }

  .bj-route-metrics-v2 {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .bj-score-grid-v2 {
    grid-template-columns: 1fr;
  }

  .bj-choice-results-head-v2 {
    flex-direction: column;
  }

  .bj-action-form-v2 {
    grid-template-columns: 1fr;
  }

  .bj-filter-row-v2 {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.35rem;
    scrollbar-width: thin;
  }

  .bj-filter-row-v2 button {
    flex: 0 0 auto;
  }

  .bj-path-grid-v2 > a {
    min-height: 330px;
  }
}

@media (max-width: 430px) {
  .bj-hero-copy-v2 h1 {
    font-size: 2.85rem;
  }

  .bj-route-metrics-v2 {
    grid-template-columns: 1fr;
  }

  .bj-panel-heading-v2 {
    align-items: flex-start;
  }

  .bj-panel-heading-v2 > div {
    align-items: flex-start;
  }

  .bj-choice-card-v2 {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .bj-choice-score-v2 {
    grid-column: 2;
    justify-self: start;
    text-align: left;
  }

  .bj-choice-card-v2 .bj-choice-remove-v2 {
    grid-column: 1;
    grid-row: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bj-progress-track-v2 span,
  .bj-intent-card-v2,
  .bj-tool-card-v2,
  .bj-primary-action-v2 {
    transition: none;
  }
}
