.editor-styles-wrapper {
    --nlb-body-bg: #0f172a;
    --nlb-content-wrapper-max: 1240px;
    --nlb-page-bg-start: #060c1a;
    --nlb-page-bg-mid: #0a1730;
    --nlb-page-bg-end: #052338;
    --nlb-page-spot-1: rgba(74, 222, 128, 0.24);
    --nlb-page-spot-2: rgba(34, 197, 94, 0.2);
    --nlb-page-spot-3: rgba(56, 189, 248, 0.18);
}

body.editor-styles-wrapper,
.editor-styles-wrapper {
    background-color: var(--nlb-body-bg);
    background-image:
        radial-gradient(1200px 700px at 8% 0%, var(--nlb-page-spot-1), transparent 72%),
        radial-gradient(980px 620px at 92% 12%, var(--nlb-page-spot-3), transparent 70%),
        radial-gradient(1100px 680px at 50% 90%, var(--nlb-page-spot-2), transparent 74%),
        linear-gradient(160deg, var(--nlb-page-bg-start), var(--nlb-page-bg-mid) 52%, var(--nlb-page-bg-end));
    background-repeat: no-repeat;
    color: #ffffff;
}

.editor-styles-wrapper .is-root-container {
    max-width: var(--nlb-content-wrapper-max);
    margin: 0 auto;
}

.nlb-block-editor-preview .components-placeholder {
    min-height: 80px;
}

.editor-styles-wrapper .nlb-plugin-sections,
.editor-styles-wrapper .nlb-plugin-section,
.nlb-plugin-sections,
.nlb-plugin-section {
    color: #ffffff;
}

.nlb-plugin-sections {
    max-width: var(--nlb-content-wrapper-max);
    width: 100%;
    margin: 10px auto 24px;
}

.nlb-plugin-section {
    position: relative;
    margin-bottom: 22px;
    padding: 30px 28px;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(7, 15, 33, 0.52), rgba(6, 64, 60, 0.36));
    backdrop-filter: blur(5px);
    overflow: hidden;
}

.nlb-plugin-section a {
    text-decoration: none;
}

.nlb-plugin-section a:not(.download-btn):not(.btn):not(.nlb-plugin-ghost-btn) {
    color: var(--nlb-accent-end, #4ade80);
}

.nlb-plugin-section a:not(.download-btn):not(.btn):not(.nlb-plugin-ghost-btn):hover,
.nlb-plugin-section a:not(.download-btn):not(.btn):not(.nlb-plugin-ghost-btn):focus-visible {
    color: var(--nlb-accent-start, #22c55e);
    text-decoration: none;
}

.nlb-plugin-section .download-btn,
.nlb-plugin-section .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 22px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.15;
    text-align: center;
    border-radius: 20px;
    border: none;
    background: linear-gradient(135deg, var(--nlb-accent-start, #22c55e), var(--nlb-accent-end, #4ade80));
    color: var(--nlb-accent-text, #022c22);
    text-decoration: none;
    box-sizing: border-box;
}

.nlb-media-control {
    margin: 0 0 14px;
}

.nlb-media-control__label {
    display: block;
    margin: 0 0 6px;
    font-weight: 600;
}

.nlb-media-control__preview {
    display: block;
    width: 100%;
    max-width: 280px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.14);
    margin-bottom: 8px;
}

.nlb-media-control__placeholder {
    width: 100%;
    max-width: 280px;
    min-height: 96px;
    margin: 0 0 8px;
    padding: 10px;
    border: 1px dashed rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 12px;
    color: #374151;
    background: #f8fafc;
}

.nlb-repeater-control {
    margin: 10px 0 18px;
}

.nlb-repeater-label {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 600;
}

.nlb-repeater-item {
    margin: 0 0 12px;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #ffffff;
}

.nlb-repeater-item__head {
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.nlb-repeater-item__actions {
    display: flex;
    gap: 6px;
}

.nlb-plugin-section h2 {
    margin: 0 0 10px;
    font-size: 34px;
    color: var(--nlb-banner-title, #4ade80);
    line-height: 1.2;
}

.nlb-plugin-section h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.nlb-plugin-subtitle {
    margin: 0;
    color: var(--nlb-menu-text, #cbd5f5);
    line-height: 1.6;
}

.nlb-plugin-badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 5px 12px;
    border-radius: 999px;
    border: 0;
    background: var(--nlb-badge-bg, #22c55e);
    color: var(--nlb-badge-text, #022c22);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

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

.nlb-plugin-btn {
    min-width: 170px;
    text-align: center;
}

.nlb-plugin-ghost-btn {
    display: inline-block;
    min-width: 170px;
    padding: 9px 22px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    color: #ffffff;
    text-decoration: none;
}

.nlb-plugin-section .nlb-plugin-ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    line-height: 1.15;
}

.nlb-plugin-hero .nlb-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(260px, 0.88fr);
    gap: 24px;
    align-items: stretch;
}

.nlb-plugin-hero .nlb-hero-left {
    position: relative;
    z-index: 2;
}

.nlb-plugin-hero {
    padding: 24px 24px;
}

.nlb-plugin-hero .nlb-hero-visuals {
    --nlb-hero-visual-height: clamp(170px, 20vw, 250px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 14px;
    height: var(--nlb-hero-visual-height);
    align-self: stretch;
    align-items: stretch;
}

.nlb-plugin-hero .nlb-hero-shot {
    width: fit-content;
    max-width: 100%;
    max-height: 100%;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(2, 6, 23, 0.62);
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.4);
    overflow: hidden;
    display: flex;
    justify-content: center;
    padding: 8px;
    box-sizing: border-box;
}

.nlb-plugin-hero .nlb-hero-shot img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(var(--nlb-hero-visual-height) - 16px);
    object-fit: contain;
}

.nlb-plugin-hero .nlb-hero-shot--graph {
    place-self: start center;
    align-items: flex-start;
}

.nlb-plugin-hero .nlb-hero-shot--result {
    place-self: end center;
    align-items: flex-end;
}

.nlb-plugin-hero .nlb-hero-shot-placeholder {
    width: 100%;
    height: 100%;
    min-height: 120px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 13px;
    color: var(--nlb-menu-text, #cbd5f5);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.62), rgba(2, 6, 23, 0.75));
}

.nlb-plugin-points {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.nlb-plugin-points li {
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(12, 23, 44, 0.4);
    border: 0;
    font-size: 13px;
}

.nlb-plugin-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.nlb-plugin-card {
    padding: 16px;
    border: 0;
    border-radius: 14px;
    background: rgba(12, 23, 44, 0.44);
}

.nlb-plugin-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--nlb-menu-text, #cbd5f5);
}

.nlb-feature-item .nlb-feature-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.nlb-feature-item .nlb-feature-head h3 {
    margin-bottom: 4px;
}

.nlb-feature-icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 0;
    background: rgba(15, 30, 56, 0.52);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.nlb-feature-icon img {
    width: 75%;
    height: 75%;
    object-fit: contain;
}

.nlb-plugin-pricing-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.nlb-pricing-card {
    padding: 18px 16px;
    border-radius: 14px;
    border: 0;
    background: rgba(11, 22, 42, 0.46);
}

.nlb-pricing-card.is-featured {
    box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.22), 0 10px 24px rgba(34, 197, 94, 0.18);
}

.nlb-plan-chip {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.25);
    color: var(--nlb-accent-end, #4ade80);
    font-size: 11px;
    font-weight: 700;
}

.nlb-plan-price {
    margin: 0 0 12px;
    display: flex;
    align-items: flex-end;
    gap: 6px;
}

.nlb-plan-currency,
.nlb-plan-period {
    color: var(--nlb-menu-text, #cbd5f5);
    font-size: 13px;
}

.nlb-plan-value {
    font-size: 36px;
    line-height: 1;
    font-weight: 800;
}

.nlb-pricing-card ul {
    margin: 0 0 16px;
    padding-left: 18px;
}

.nlb-pricing-card li {
    margin-bottom: 6px;
    font-size: 14px;
    color: var(--nlb-menu-text, #cbd5f5);
}

.nlb-plan-btn {
    width: 100%;
}

.nlb-faq-list {
    margin-top: 14px;
    display: grid;
    gap: 8px;
}

.nlb-faq-item {
    border-radius: 12px;
    border: 0;
    background: rgba(11, 22, 42, 0.46);
    padding: 0 12px;
}

.nlb-faq-item summary {
    cursor: pointer;
    padding: 12px 0;
    font-weight: 700;
}

.nlb-faq-answer {
    padding: 0 0 12px;
    color: var(--nlb-menu-text, #cbd5f5);
    line-height: 1.55;
}

.nlb-plugin-docs .nlb-docs-layout {
    margin-top: 16px;
    display: grid;
    grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.nlb-docs-toc {
    padding: 14px 12px;
    border-radius: 12px;
    border: 0;
    background: rgba(11, 22, 42, 0.46);
}

.nlb-docs-toc h3 {
    margin: 0 0 10px;
    font-size: 15px;
}

.nlb-docs-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

.nlb-docs-list a {
    display: block;
    padding: 8px 10px;
    border-radius: 9px;
    background: rgba(2, 6, 23, 0.52);
    color: var(--nlb-menu-text, #cbd5f5);
    font-size: 13px;
    text-decoration: none;
}

.nlb-docs-list a:hover,
.nlb-docs-list a:focus-visible {
    color: var(--nlb-menu-hover, #22c55e);
    background: rgba(2, 6, 23, 0.72);
}

.nlb-docs-content {
    display: grid;
    gap: 10px;
}

.nlb-docs-article {
    padding: 14px 14px 12px;
    border-radius: 12px;
    border: 0;
    background: rgba(11, 22, 42, 0.46);
}

.nlb-docs-article h3 {
    margin: 0 0 10px;
    font-size: 18px;
}

.nlb-docs-body p {
    margin: 0 0 10px;
    color: var(--nlb-menu-text, #cbd5f5);
    line-height: 1.6;
}

.nlb-docs-body p:last-child {
    margin-bottom: 0;
}

.nlb-docs-body ul,
.nlb-docs-body ol {
    margin: 0 0 10px;
    padding-left: 20px;
    color: var(--nlb-menu-text, #cbd5f5);
}

.nlb-docs-body li {
    margin-bottom: 5px;
    line-height: 1.55;
}

.nlb-doc-node-groups {
    display: grid;
    gap: 12px;
}

.nlb-doc-node-group h4 {
    margin: 0 0 10px;
    font-size: 16px;
    color: var(--nlb-banner-title, #4ade80);
}

.nlb-doc-node-cards {
    display: grid;
    gap: 10px;
}

.nlb-doc-node-card {
    padding: 12px;
    border-radius: 12px;
    border: 0;
    background: rgba(2, 6, 23, 0.46);
}

.nlb-doc-node-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: start;
}

.nlb-doc-node-copy h5 {
    margin: 0;
    font-size: 15px;
}

.nlb-doc-node-copy p {
    margin: 6px 0 0;
    color: var(--nlb-menu-text, #cbd5f5);
    line-height: 1.55;
}

.nlb-doc-node-image {
    width: 108px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(2, 6, 23, 0.72);
}

.nlb-doc-node-image img {
    width: 100%;
    height: auto;
    display: block;
}

.nlb-doc-node-meta {
    margin-top: 10px;
    display: grid;
    gap: 8px;
}

.nlb-doc-node-meta-block {
    border-radius: 10px;
    background: rgba(11, 22, 42, 0.42);
    padding: 10px;
}

.nlb-doc-node-meta-block strong {
    display: block;
    margin: 0 0 8px;
    font-size: 13px;
}

.nlb-doc-pin-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

.nlb-doc-pin-list li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.nlb-doc-pin-name {
    font-weight: 700;
    font-size: 13px;
}

.nlb-doc-type-badges {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 5px;
}

.nlb-doc-type-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.2);
    color: var(--nlb-accent-end, #4ade80);
    font-size: 11px;
    font-weight: 700;
}

.nlb-doc-node-empty,
.nlb-doc-node-note {
    margin: 0;
    color: var(--nlb-menu-text, #cbd5f5);
    font-size: 13px;
}

.nlb-doc-node-note {
    margin-top: 8px;
}

.nlb-doc-graph-flow {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
}

.nlb-doc-graph-step {
    display: inline-block;
    padding: 7px 10px;
    border-radius: 10px;
    background: rgba(2, 6, 23, 0.62);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
}

.nlb-doc-graph-arrow {
    color: var(--nlb-menu-text, #cbd5f5);
    font-size: 16px;
    line-height: 1;
}

.nlb-doc-graph-image {
    margin-top: 14px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(2, 6, 23, 0.72);
}

.nlb-doc-graph-image img {
    width: 100%;
    height: auto;
    display: block;
}

.nlb-doc-problem-list,
.nlb-doc-example-list {
    display: grid;
    gap: 10px;
}

.nlb-doc-problem-card,
.nlb-doc-example-card {
    padding: 12px;
    border-radius: 12px;
    border: 0;
    background: rgba(2, 6, 23, 0.46);
}

.nlb-doc-problem-card h4,
.nlb-doc-example-card h4 {
    margin: 0 0 7px;
    font-size: 15px;
}

.nlb-doc-problem-card p,
.nlb-doc-example-card p {
    margin: 0 0 8px;
    color: var(--nlb-menu-text, #cbd5f5);
    line-height: 1.55;
}

.nlb-doc-problem-card p:last-child,
.nlb-doc-example-card p:last-child {
    margin-bottom: 0;
}

.nlb-doc-example-actions {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nlb-doc-preset-btn,
.nlb-doc-demo-btn {
    min-width: 160px;
}

.nlb-contact-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 12px;
}

.nlb-contact-card {
    padding: 16px;
    border-radius: 14px;
    border: 0;
    background: rgba(11, 22, 42, 0.46);
}

.nlb-contact-card p {
    margin: 0 0 8px;
    color: var(--nlb-menu-text, #cbd5f5);
}

.nlb-contact-form code {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 8px;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.75);
    color: #ffffff;
    font-size: 12px;
}

.nlb-contact-native-form {
    display: grid;
    gap: 10px;
}

.nlb-contact-native-form .nlb-form-field {
    margin: 0;
}

.nlb-contact-native-form label {
    display: block;
    margin-bottom: 6px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
}

.nlb-contact-native-form input,
.nlb-contact-native-form textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(2, 6, 23, 0.55);
    color: #ffffff;
    box-sizing: border-box;
}

.nlb-contact-native-form textarea {
    resize: vertical;
    min-height: 110px;
}

.nlb-contact-native-form .nlb-plugin-btn {
    width: 100%;
    margin-top: 2px;
}

.nlb-form-notice {
    margin-bottom: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
}

.nlb-form-notice.is-success {
    border: 1px solid rgba(74, 222, 128, 0.5);
    background: rgba(34, 197, 94, 0.15);
    color: #bbf7d0;
}

.nlb-form-notice.is-error {
    border: 1px solid rgba(248, 113, 113, 0.45);
    background: rgba(239, 68, 68, 0.14);
    color: #fecaca;
}

.nlb-plugin-cta {
    text-align: center;
}

.nlb-plugin-cta .nlb-plugin-btn {
    margin-top: 16px;
}

@media (max-width: 1024px) {
    .nlb-plugin-pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nlb-plugin-hero .nlb-hero-layout {
        grid-template-columns: 1fr;
    }

    .nlb-plugin-hero .nlb-hero-visuals {
        --nlb-hero-visual-height: clamp(160px, 24vw, 220px);
    }

    .nlb-contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nlb-plugin-section {
        padding: 20px 16px;
    }

    .nlb-plugin-section h2 {
        font-size: 28px;
    }

    .nlb-plugin-points,
    .nlb-plugin-grid,
    .nlb-plugin-pricing-grid {
        grid-template-columns: 1fr;
    }

    .nlb-plugin-docs .nlb-docs-layout {
        grid-template-columns: 1fr;
    }

    .nlb-doc-node-head {
        grid-template-columns: 1fr;
    }

    .nlb-doc-node-image {
        width: 100%;
        max-width: 220px;
    }

    .nlb-doc-example-actions {
        flex-direction: column;
    }

    .nlb-doc-preset-btn,
    .nlb-doc-demo-btn {
        width: 100%;
    }

    .nlb-plugin-btn,
    .nlb-plugin-ghost-btn {
        width: 100%;
    }

    .nlb-plugin-hero .nlb-hero-shot,
    .nlb-plugin-hero .nlb-hero-shot--result {
        width: 100%;
        max-height: none;
    }

    .nlb-plugin-hero .nlb-hero-visuals {
        grid-template-columns: 1fr;
        --nlb-hero-visual-height: auto;
        height: auto;
        row-gap: 10px;
    }

    .nlb-plugin-hero .nlb-hero-shot img {
        width: 100%;
        height: auto;
        max-width: 100%;
        max-height: none;
        object-fit: contain;
    }

    .nlb-plugin-hero .nlb-hero-shot--result {
        place-self: start stretch;
        align-items: flex-start;
    }
}
