
@media (max-width: 960px) {
  .nc-block-wrap {
        margin-bottom: 30px !important;
    }

  .nc-block-stack .nc-block-wrap {
        margin-bottom: 0 !important;
    }

  .nc-block-stack {
        margin-bottom: 30px;
    }
}

.nc-block-wrap {
    margin: 0;
    max-width: 540px;
    width: 100%;
    position: relative;
    line-height: 0;
    font-size: 0;
    overflow: visible;
}

.nc-block-wrap:first-child {
    margin-top: 10px;
}

.nc-block-wrap:last-child {
    margin-bottom: 10px;
}

.markdown-body > .nc-block-wrap,
.markdown-body p + .nc-block-wrap,
.markdown-body .nc-block-wrap {
    margin-bottom: 28px;
}

.markdown-body .nc-block-stack + p,
.markdown-body .nc-block-stack + h1,
.markdown-body .nc-block-stack + h2,
.markdown-body .nc-block-stack + h3,
.markdown-body .nc-block-stack + h4,
.markdown-body .nc-block-wrap + p,
.markdown-body .nc-block-wrap + h1,
.markdown-body .nc-block-wrap + h2,
.markdown-body .nc-block-wrap + h3,
.markdown-body .nc-block-wrap + h4 {
    margin-top: 18px;
}

.nc-block-stack {
    margin: 10px 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: 0;
    line-height: 0;
    font-size: 0;
    max-width: 540px;
    display: block;
}

.nc-block-stack .nc-block-wrap {
    margin: 0 !important;
    line-height: 0;
    font-size: 0;
    display: block;
}

.nc-block-stack .nc-block-wrap:first-child,
.nc-block-stack .nc-block-wrap:last-child {
    margin: 0 !important;
}

.markdown-body .nc-block-wrap + .nc-block-wrap {
    margin-top: 0 !important;
}

.nc-block-missing {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 540px;
    margin: 8px 0;
    padding: 6px 12px 6px 10px;
    background: transparent;
    border: 1px dashed rgba(148, 163, 184, 0.35);
    border-radius: 6px;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.4;
    font-family: inherit;
    font-weight: 500;
    letter-spacing: 0.01em;
    user-select: none;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.nc-block-missing:hover {
    border-color: rgba(148, 163, 184, 0.55);
    color: #cbd5e1;
}

.nc-block-missing svg {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    opacity: 0.7;
}

.nc-block-missing code {
    background: rgba(148, 163, 184, 0.12);
    color: inherit;
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 11px;
    font-family: 'JetBrains Mono', ui-monospace, 'Cascadia Code', Consolas, monospace;
}

.nc-block-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    user-select: none;
    overflow: visible;
}

.nc-block-svg .nc-border {
    stroke: #1a1e23;
    stroke-width: 2.2;
    stroke-linejoin: round;
}

.nc-block-svg .nc-hl {
    fill: none;
    stroke: #ffffff;
    stroke-width: 1.5;
    opacity: 0.35;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nc-block-svg .nc-grips line {
    stroke: #1a1a1a;
    stroke-width: 1.5;
    opacity: 0.35;
    stroke-linecap: round;
}

.nc-block-svg .nc-txt {
    font-family: 'Inter', 'Roboto', 'Segoe UI', sans-serif;
    font-size: 21px;
    font-weight: 700;
    fill: #ffffff;
    dominant-baseline: central;
    text-anchor: start;
}

.nc-block-svg .nc-val {
    font-weight: 400;
    text-anchor: middle;
}

.nc-block-svg .nc-drop {
    font-weight: 400;
}

.nc-block-svg .nc-dropdown {
    cursor: pointer;
    transition: opacity .12s;
}

.nc-block-svg .nc-dropdown:hover {
    opacity: 0.85;
}

.nc-popup {
  position: absolute;
  background: rgb(0, 0, 0);
  color: #ffffff;
  font-family: 'Roboto', 'Inter', 'Segoe UI', Arial, sans-serif;
  border-radius: 3px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 2px 6px rgba(0, 0, 0, 0.35);
  z-index: 9999;
  padding: 0;
  overflow: hidden;
  animation: nc-popup-in 0.14s ease-out;
  user-select: none;
  min-width: 140px;
  max-height: 360px;
  overflow-y: auto;
}

.nc-popup-item {
    display: block;
    width: 100%;
    padding: 12px 22px;
    background: transparent;
    border: 0;
    color: #ffffff;
    font-family: inherit;
    font-size: 17px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: background .1s;
}

.nc-popup-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.nc-popup-item.active {
    background: rgba(255, 255, 255, 0.12);
}

.nc-popup-item:active {
    background: rgba(255, 255, 255, 0.18);
}

.nc-block-svg .nc-underline {
    stroke: #ffffff;
    stroke-width: 1.5;
    stroke-linecap: round;
}
