.nle-tool {
  background: #fff;
  border: 1px solid var(--nbp-line, #e7e2d8);
  border-radius: 6px;
  color: var(--nbp-ink, #171717);
  overflow: hidden;
}

.nle-loading {
  min-height: 220px;
  display: grid;
  place-items: center;
  color: var(--nbp-muted, #65605a);
}

.nle-card {
  padding: 22px;
}

.nle-card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

.nle-card p {
  margin: 8px 0 0;
  color: var(--nbp-muted, #65605a);
}

.nle-progress {
  height: 8px;
  margin: 18px 0 20px;
  background: #f3eee5;
  border-radius: 999px;
  overflow: hidden;
}

.nle-progress span {
  display: block;
  height: 100%;
  width: 25%;
  background: var(--nbp-moss, #0f6b56);
  transition: width 180ms ease;
}

.nle-options {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.nle-option,
.nle-check {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--nbp-line, #e7e2d8);
  border-radius: 6px;
  background: #fbfaf7;
  color: var(--nbp-ink, #171717);
  cursor: pointer;
  text-align: left;
}

.nle-option:hover,
.nle-option.is-selected,
.nle-check:has(input:checked) {
  border-color: rgba(15, 107, 86, 0.55);
  background: #eefaf5;
}

.nle-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--nbp-moss, #0f6b56);
  flex: 0 0 auto;
}

.nle-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.nle-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--nbp-ink, #171717);
  color: #fff;
  font-weight: 760;
  cursor: pointer;
}

.nle-button--ghost {
  background: #fff;
  color: var(--nbp-ink, #171717);
  border-color: var(--nbp-line, #e7e2d8);
}

.nle-result {
  margin-top: 18px;
  padding: 18px;
  background: #eefaf5;
  border: 1px solid rgba(15, 107, 86, 0.25);
  border-radius: 6px;
}

.nle-result strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.nle-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.nle-field {
  display: grid;
  gap: 6px;
}

.nle-field label {
  font-size: 13px;
  font-weight: 760;
}

.nle-field input,
.nle-field select,
.nle-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--nbp-line, #e7e2d8);
  border-radius: 6px;
  background: #fff;
  color: var(--nbp-ink, #171717);
}

.nle-field textarea {
  min-height: 96px;
  resize: vertical;
}

.nle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.nle-total {
  display: grid;
  gap: 4px;
  padding: 18px;
  margin-top: 16px;
  background: var(--nbp-ink, #171717);
  color: #fff;
  border-radius: 6px;
}

.nle-total span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.nle-total strong {
  font-size: 34px;
  line-height: 1.1;
}

.nle-disclaimer,
.nle-status {
  color: var(--nbp-muted, #65605a);
  font-size: 13px;
}

.nle-status {
  min-height: 20px;
  margin-top: 10px;
}

.nle-status.is-success {
  color: var(--nbp-moss, #0f6b56);
  font-weight: 760;
}

.nle-status.is-error {
  color: #a33a24;
  font-weight: 760;
}

.nle-hidden {
  display: none !important;
}

@media (max-width: 680px) {
  .nle-grid {
    grid-template-columns: 1fr;
  }
}
