[hidden] {
  display: none !important;
}
.nl-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 1160px;
  margin: 20px auto 0;
  padding: 0 32px;
  flex-wrap: wrap;
  font-size: 12px;
}
.nl-nav a {
  color: inherit;
}
.nl-nav select {
  width: auto;
  max-width: 230px;
  padding: 8px;
  margin: 0;
}
.nl-tag {
  border: 1px solid #bacbbf;
  border-radius: 30px;
  padding: 5px 11px;
  font-size: 10px;
}
.nl-panel {
  background: #fffefa;
  border: 1px solid #d1dcd0;
  border-radius: 18px;
  padding: 26px;
  margin: 25px 0;
  color: #28483c;
}
.nl-panel > summary {
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}
.nl-panel h2 {
  font-size: 24px;
}
.nl-panel h3 {
  font-size: 17px;
}
.nl-panel p {
  font-size: 13px;
}
.nl-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin: 15px 0;
}
.nl-btn {
  border: 1px solid #aec6b7;
  background: #edf3e8;
  color: #254e39;
  border-radius: 8px;
  padding: 11px 16px;
  font-size: 12px;
  cursor: pointer;
}
.nl-btn:hover {
  background: #e0ead8;
}
.nl-btn:disabled {
  opacity: 0.5;
  cursor: default;
}
.nl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.nl-field {
  display: block;
  font-size: 12px;
  margin: 14px 0;
}
.nl-panel input:not([type="checkbox"]):not([type="range"]),
.nl-panel textarea,
.nl-panel select {
  width: 100%;
  margin-top: 8px;
  padding: 11px;
  border: 1px solid #b9ccbd;
  border-radius: 8px;
  background: #fff;
  color: #254636;
  font-size: 13px;
}
.nl-panel textarea {
  min-height: 130px;
  font-family: ui-monospace, monospace;
  line-height: 1.6;
  resize: vertical;
}
.nl-result {
  background: #edf3e8;
  border-radius: 10px;
  padding: 17px;
  white-space: pre-wrap;
  line-height: 1.7;
  font-size: 13px;
  margin: 15px 0;
  overflow-wrap: anywhere;
}
.nl-muted {
  color: #617968;
  font-size: 11px !important;
}
.nl-metrics {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.nl-metrics strong {
  display: block;
  font-size: 28px;
}
.nl-metrics small {
  font-size: 11px;
}
.nl-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.nl-table td,
.nl-table th {
  text-align: left;
  padding: 11px 6px;
  border-bottom: 1px solid #e0e7da;
}
.nl-card {
  border: 1px solid #d3dfce;
  padding: 20px;
  border-radius: 12px;
  background: #f6f8f0;
  min-height: 110px;
}
.nl-progress {
  height: 7px;
  background: #e0e7d7;
  border-radius: 5px;
  margin: 6px 0 12px;
}
.nl-progress span {
  display: block;
  background: #6c8d50;
  height: 100%;
  border-radius: 5px;
}
.nl-saved {
  font-size: 11px;
  min-height: 18px;
  color: #4f6d59;
}
.nl-panel canvas {
  max-width: 100%;
  height: auto;
}
.nl-danger {
  background: #f6e7dd;
  border-color: #d2a78c;
}
.nl-badge {
  font-size: 10px;
  padding: 4px 9px;
  border-radius: 20px;
  background: #e3ebd6;
}
.nl-timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.nl-timeline button {
  border: 1px solid #c5d5bd;
  background: #f1f6e9;
  padding: 7px;
  border-radius: 5px;
  cursor: pointer;
}
.nl-timeline button[aria-pressed="true"] {
  background: #264e3b;
  color: #fff;
}
.nl-graph {
  display: grid;
  gap: 10px;
}
.nl-graph p {
  padding: 13px;
  border-left: 4px solid #87a767;
  background: #eef3e6;
}
.nl-panel pre {
  white-space: pre-wrap;
  background: #1c3027;
  color: #e3eedb;
  padding: 18px;
  border-radius: 9px;
  overflow-wrap: anywhere;
}
.nl-status {
  padding: 9px;
  background: #e9efe2;
  border-radius: 6px;
  font-size: 11px;
}
.nl-panel code {
  font-family: ui-monospace, monospace;
}
.nl-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
@media (max-width: 650px) {
  .nl-grid {
    grid-template-columns: 1fr;
  }
  .nl-panel {
    padding: 20px;
  }
  .nl-nav {
    padding: 0 18px;
  }
  .nl-metrics {
    gap: 18px;
  }
  .nl-table {
    font-size: 11px;
  }
  .nl-panel h2 {
    font-size: 22px;
  }
}

/* Comfortable controls in phone portrait/landscape and on touch screens. */
@media (max-width: 900px), (pointer: coarse) {
  main button,
  main select,
  main summary,
  .nl-nav select,
  .nl-nav a {
    min-height: 44px;
    min-width: 44px;
  }
  main button,
  main summary,
  .nl-nav a {
    touch-action: manipulation;
  }
  .nl-nav a {
    display: inline-flex;
    align-items: center;
  }
  main input,
  main textarea,
  main select,
  .nl-nav select,
  .nl-panel input:not([type="checkbox"]):not([type="range"]),
  .nl-panel textarea,
  .nl-panel select {
    font-size: 16px;
  }
  main input:not([type="checkbox"]),
  main textarea {
    min-height: 44px;
  }
  main input[type="range"] {
    width: 100%;
    margin-inline: 0;
  }
  .nl-panel input[type="checkbox"] {
    width: 24px;
    height: 24px;
    margin: 10px 8px;
    vertical-align: middle;
  }
  .nl-btn {
    font-size: 14px;
    line-height: 1.4;
  }
  .nl-field {
    font-size: 14px;
  }
  .nl-actions {
    align-items: stretch;
    gap: 12px;
  }
  .nl-panel button {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .nl-table {
    table-layout: fixed;
    overflow-wrap: anywhere;
  }
}
@media (max-width: 420px) {
  .nl-nav select {
    width: 100%;
    max-width: 100%;
  }
}
