.ns-swa-wizard-root,
.ns-swa-wizard-root * {
    box-sizing: border-box;
}

.ns-swa-wizard-root {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: stretch;
    justify-content: center;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #f5f8ff;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.32s ease, visibility 0.32s ease;
}

.ns-swa-wizard-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.ns-swa-wizard-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 16% 18%, rgba(88, 224, 255, 0.12), transparent 32%),
        radial-gradient(circle at 82% 14%, rgba(138, 125, 255, 0.14), transparent 30%),
        linear-gradient(180deg, #0b0f14 0%, #0c1015 58%, #080a0f 100%);
}

.ns-swa-wizard-shell {
    position: relative;
    z-index: 2;
    width: min(1360px, calc(100vw - 42px));
    min-height: min(880px, calc(100vh - 42px));
    margin: 21px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 30px;
    background: rgba(9, 13, 18, 0.78);
    box-shadow:
        0 28px 90px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(22px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    outline: none;
}

.ns-swa-wizard-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
}

.ns-swa-wizard-brand,
.ns-swa-wizard-topbar-actions,
.ns-swa-wizard-progress,
.ns-swa-wizard-actions,
.ns-swa-wizard-actions--stack,
.ns-swa-wizard-hero,
.ns-swa-wizard-section-head,
.ns-swa-wizard-module-top,
.ns-swa-wizard-module-footer,
.ns-swa-wizard-dock-card,
.ns-swa-wizard-inline-warning,
.ns-swa-wizard-finale {
    display: flex;
}

.ns-swa-wizard-brand {
    flex-direction: column;
    gap: 6px;
}

.ns-swa-wizard-brand-chip,
.ns-swa-wizard-kicker,
.ns-swa-wizard-module-tier {
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ns-swa-wizard-brand-chip {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 11px;
    color: #d5ebff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.ns-swa-wizard-brand-sub {
    font-size: 13px;
    color: #8ea0b5;
}

.ns-swa-wizard-topbar-actions {
    align-items: center;
    gap: 16px;
}

.ns-swa-wizard-progress {
    align-items: center;
    gap: 10px;
}

.ns-swa-wizard-progress-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
    transition: transform 0.24s ease, background 0.24s ease, box-shadow 0.24s ease;
}

.ns-swa-wizard-progress-dot.is-active,
.ns-swa-wizard-progress-dot.is-complete {
    background: linear-gradient(135deg, #58e0ff, #8a7dff);
    box-shadow: 0 0 20px rgba(88, 224, 255, 0.35);
}

.ns-swa-wizard-progress-dot.is-active {
    transform: scale(1.24);
}

.ns-swa-wizard-skip,
.ns-swa-wizard-button {
    appearance: none;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    font: inherit;
}

.ns-swa-wizard-skip {
    padding: 10px 14px;
    border-radius: 999px;
    color: #cfdae7;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.ns-swa-wizard-stage {
    position: relative;
    flex: 1;
    min-height: 0;
    padding: clamp(24px, 3.2vw, 38px);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
}

.ns-swa-wizard-step {
    min-height: 100%;
    display: none;
    flex-direction: column;
    gap: 28px;
    animation: ns-swa-wizard-fade-in 0.3s ease;
    padding-bottom: 28px;
}

.ns-swa-wizard-step.is-active {
    display: flex;
}

.ns-swa-wizard-hero {
    align-items: center;
    justify-content: center;
    gap: min(7vw, 72px);
    flex: 1;
}

.ns-swa-wizard-logo-orb {
    position: relative;
    width: clamp(190px, 24vw, 280px);
    aspect-ratio: 1;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 50% 50%, rgba(88, 224, 255, 0.22), rgba(88, 224, 255, 0.02) 60%, transparent 72%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.06), transparent 64%);
    box-shadow:
        0 0 40px rgba(88, 224, 255, 0.18),
        inset 0 0 30px rgba(255, 255, 255, 0.05);
    animation: ns-swa-wizard-pulse 3.4s ease-in-out infinite;
}

.ns-swa-wizard-logo {
    width: 58%;
    max-width: 168px;
    height: auto;
    filter: drop-shadow(0 0 22px rgba(88, 224, 255, 0.16));
}

.ns-swa-wizard-copy {
    max-width: 680px;
}

.ns-swa-wizard-kicker {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 11px;
    color: #8ea0b5;
}

.ns-swa-wizard-kicker--small {
    margin-bottom: 8px;
}

.ns-swa-wizard-title {
    margin: 0;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: #eee;
}

.ns-swa-wizard-title--section {
    font-size: clamp(28px, 4vw, 42px); color: #eee;
}

.ns-swa-wizard-subtitle {
    margin: 0;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #eee;
}

.ns-swa-wizard-text,
.ns-swa-wizard-hint,
.ns-swa-wizard-module-sub,
.ns-swa-wizard-style-sub,
.ns-swa-wizard-finale-hint,
.ns-swa-wizard-status {
    color: #9fb0c4;
}

.ns-swa-wizard-text {
    margin: 16px 11px 0;
    font-size: 17px;
    line-height: 1.7;
    max-width: 760px;
}

.ns-swa-wizard-text--small {
    margin-top: 12px;
    font-size: 15px;
}

.ns-swa-wizard-section-head {
    flex-direction: column;
    gap: 0;
}

.ns-swa-wizard-actions {
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
}

.ns-swa-wizard-actions--center {
    justify-content: center;
}

.ns-swa-wizard-actions--stack {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-top: 24px;
}

.ns-swa-wizard-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 999px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.ns-swa-wizard-button:hover,
.ns-swa-wizard-skip:hover {
    transform: translateY(-1px);
}

.ns-swa-wizard-button--primary {
    color: #071019;
    background: linear-gradient(135deg, #58e0ff, #8a7dff);
    box-shadow: 0 12px 34px rgba(88, 224, 255, 0.24);
}

.ns-swa-wizard-button--ghost {
    color: #e8f1ff;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ns-swa-wizard-button--launch {
    min-height: 72px;
    font-size: clamp(18px, 2.4vw, 26px);
    letter-spacing: -0.03em;
    color: #071019;
    background: linear-gradient(135deg, #58e0ff, #8effc1);
    box-shadow:
        0 20px 50px rgba(88, 224, 255, 0.28),
        0 0 44px rgba(88, 224, 255, 0.18);
}

.ns-swa-wizard-module-grid,
.ns-swa-wizard-style-grid {
    display: grid;
    gap: 18px;
}

.ns-swa-wizard-module-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.ns-swa-wizard-style-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.ns-swa-wizard-module-card,
.ns-swa-wizard-style-card,
.ns-swa-wizard-launch-card,
.ns-swa-wizard-dock-card,
.ns-swa-wizard-inline-warning {
    position: relative;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(19, 28, 38, 0.88), rgba(10, 15, 21, 0.88));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ns-swa-wizard-module-card {
    padding: 18px 18px 16px;
    flex-direction: column;
    gap: 18px;
    min-height: 176px;
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.ns-swa-wizard-module-card.is-enabled {
    border-color: rgba(88, 224, 255, 0.28);
    box-shadow:
        0 0 0 1px rgba(88, 224, 255, 0.14),
        0 18px 36px rgba(0, 0, 0, 0.18),
        inset 0 0 34px rgba(88, 224, 255, 0.06);
}

.ns-swa-wizard-module-card:hover,
.ns-swa-wizard-style-card:hover {
    transform: translateY(-2px);
}

.ns-swa-wizard-module-top,
.ns-swa-wizard-module-footer {
    align-items: center;
    justify-content: space-between;
}

.ns-swa-wizard-module-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #e6f6ff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ns-swa-wizard-module-icon .dashicons,
.ns-swa-wizard-module-fallback {
    font-size: 22px;
    width: 22px;
    height: 22px;
    line-height: 22px;
}

.ns-swa-wizard-module-tier {
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 10px;
    color: #88dfff;
    background: rgba(88, 224, 255, 0.08);
}

.ns-swa-wizard-module-copy {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ns-swa-wizard-module-title,
.ns-swa-wizard-style-title {
    font-size: 18px;
    color: #f4f8ff;
}

.ns-swa-wizard-module-sub,
.ns-swa-wizard-style-sub {
    font-size: 14px;
    line-height: 1.6;
}

.ns-swa-wizard-style-card {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.ns-swa-wizard-style-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ns-swa-wizard-style-card.is-selected {
    border-color: rgba(88, 224, 255, 0.32);
    box-shadow: 0 0 0 1px rgba(88, 224, 255, 0.14), inset 0 0 34px rgba(88, 224, 255, 0.05);
}

.ns-swa-wizard-style-media {
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.ns-swa-wizard-style-image,
.ns-swa-wizard-dock-preview {
    display: block;
    width: 100%;
    height: auto;
}

.ns-swa-wizard-style-copy {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ns-swa-wizard-dock-card {
    align-items: center;
    gap: 24px;
    padding: 20px;
    min-height: 200px;
}

.ns-swa-wizard-dock-copy {
    flex: 0 0 min(360px, 32%);
}

.ns-swa-wizard-dock-preview-wrap {
    flex: 1 1 auto;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.ns-swa-wizard-dock-preview {
    aspect-ratio: 16 / 6;
    object-fit: cover;
}

.ns-swa-wizard-switch {
    position: relative;
    width: 62px;
    height: 36px;
    display: inline-flex;
    align-items: center;
}

.ns-swa-wizard-switch--dock {
    flex: 0 0 auto;
}

.ns-swa-wizard-switch input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.ns-swa-wizard-switch-ui {
    width: 100%;
    height: 100%;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.22s ease, box-shadow 0.22s ease;
    position: relative;
}

.ns-swa-wizard-switch-ui::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f8fbff;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.28);
    transition: transform 0.22s ease;
}

.ns-swa-wizard-switch input:checked + .ns-swa-wizard-switch-ui {
    background: linear-gradient(135deg, #58e0ff, #8a7dff);
    box-shadow: 0 0 20px rgba(88, 224, 255, 0.24);
}

.ns-swa-wizard-switch input:checked + .ns-swa-wizard-switch-ui::after {
    transform: translateX(26px);
}

.ns-swa-wizard-inline-warning {
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    color: #ffd79d;
    background: linear-gradient(180deg, rgba(88, 58, 18, 0.36), rgba(33, 20, 5, 0.36));
    border-color: rgba(255, 171, 79, 0.22);
}

.ns-swa-wizard-launch-card {
    padding: clamp(24px, 4vw, 40px);
}

.ns-swa-wizard-hint {
    margin: 0;
    text-align: center;
    font-size: 13px;
}

.ns-swa-wizard-status {
    min-height: 26px;
    padding: 0 28px 20px;
    font-size: 13px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.ns-swa-wizard-status.is-visible {
    opacity: 1;
}

.ns-swa-wizard-status.is-error {
    color: #ff9f9f;
}

.ns-swa-wizard-finale {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 34px;
    background: rgba(0, 0, 0, 0.92);
    text-align: center;
}

.ns-swa-wizard-finale-copy {
    max-width: 940px;
}

.ns-swa-wizard-finale-text {
    margin: 0;
    font-size: clamp(30px, 5vw, 60px);
    line-height: 1.14;
    letter-spacing: -0.04em;
    color: #f4f8ff;
    text-shadow:
        0 0 14px rgba(88, 224, 255, 0.24),
        0 0 46px rgba(138, 125, 255, 0.18);
    animation: ns-swa-wizard-breathe 3.2s ease-in-out infinite;
}

.ns-swa-wizard-finale-hint {
    margin: 16px 0 0;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ns-swa-wizard-root.ns-swa-wizard-finale-active .ns-swa-wizard-shell {
    background: rgba(0, 0, 0, 0.96);
}

.ns-swa-wizard-root.ns-swa-wizard-finale-active .ns-swa-wizard-finale {
    display: flex;
    cursor: pointer;
}

.ns-swa-wizard-finale[hidden] {
    display: none !important;
}

.ns-swa-wizard-button.is-disabled,
.ns-swa-wizard-button:disabled {
    opacity: 0.5;
    pointer-events: none;
    box-shadow: none;
}

.ns-swa-wizard-diagnostics-card {
    position: relative;
    border-radius: 26px;
    border: 1px solid rgba(88, 224, 255, 0.12);
    background: linear-gradient(180deg, rgba(5, 10, 8, 0.96), rgba(2, 5, 5, 0.98));
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

.ns-swa-wizard-diagnostics-terminal {
    position: relative;
    min-height: 430px;
    padding: 24px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(4, 8, 8, 0.96), rgba(1, 4, 4, 0.98)),
        radial-gradient(circle at top right, rgba(88, 224, 255, 0.06), transparent 34%);
    border-radius: 26px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
}

.ns-swa-wizard-diagnostics-rain,
.ns-swa-wizard-diagnostics-overlay,
.ns-swa-wizard-diagnostics-lines {
    position: absolute;
    inset: 0;
}

.ns-swa-wizard-diagnostics-rain {
    padding: 16px 22px;
    color: rgba(92, 255, 189, 0.28);
    pointer-events: none;
    overflow: hidden;
}

.ns-swa-wizard-diagnostics-rain-line {
    display: block;
    white-space: nowrap;
    font-size: 12px;
    line-height: 1.42;
    letter-spacing: 0.14em;
    text-shadow: 0 0 10px rgba(92, 255, 189, 0.22);
}

.ns-swa-wizard-diagnostics-overlay {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.26)),
        radial-gradient(circle at center, transparent 54%, rgba(0, 0, 0, 0.34) 100%);
    pointer-events: none;
}

.ns-swa-wizard-diagnostics-lines {
    position: relative;
    z-index: 2;
    padding: 4px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ns-swa-wizard-diagnostics-line {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 1.6;
    color: #c8fff1;
    text-shadow: 0 0 10px rgba(92, 255, 189, 0.08);
}

.ns-swa-wizard-diagnostics-prompt {
    flex: 0 0 auto;
    color: rgba(92, 255, 189, 0.92);
}

.ns-swa-wizard-diagnostics-label {
    flex: 1 1 auto;
    min-width: 0;
}

.ns-swa-wizard-diagnostics-status {
    flex: 0 0 auto;
    padding-left: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.ns-swa-wizard-diagnostics-meta {
    flex: 0 1 auto;
    color: rgba(175, 255, 241, 0.66);
}

.ns-swa-wizard-diagnostics-line.is-ok .ns-swa-wizard-diagnostics-status {
    color: #73ffd6;
}

.ns-swa-wizard-diagnostics-line.is-ready .ns-swa-wizard-diagnostics-status {
    color: #58e0ff;
}

.ns-swa-wizard-diagnostics-line.is-warn .ns-swa-wizard-diagnostics-status {
    color: #ffd79d;
}

.ns-swa-wizard-diagnostics-line.is-error .ns-swa-wizard-diagnostics-status {
    color: #ff9f9f;
}

.ns-swa-wizard-root.ns-swa-wizard-diagnostics-running .ns-swa-wizard-diagnostics-card {
    box-shadow: 0 34px 66px rgba(0, 0, 0, 0.34), inset 0 0 0 1px rgba(88, 224, 255, 0.08);
}

.ns-swa-wizard-root.ns-swa-wizard-diagnostics-complete .ns-swa-wizard-diagnostics-card {
    border-color: rgba(115, 255, 214, 0.18);
}

.ns-swa-wizard-root.ns-swa-wizard-is-busy .ns-swa-wizard-shell {
    cursor: progress;
}

@keyframes ns-swa-wizard-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow:
            0 0 34px rgba(88, 224, 255, 0.14),
            inset 0 0 30px rgba(255, 255, 255, 0.05);
    }
    50% {
        transform: scale(1.03);
        box-shadow:
            0 0 52px rgba(88, 224, 255, 0.22),
            inset 0 0 38px rgba(255, 255, 255, 0.06);
    }
}

@keyframes ns-swa-wizard-breathe {
    0%, 100% {
        opacity: 0.78;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.018);
    }
}

@keyframes ns-swa-wizard-fade-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1080px) {
    .ns-swa-wizard-diagnostics-terminal {
        min-height: 360px;
    }

    .ns-swa-wizard-shell {
        width: calc(100vw - 24px);
        min-height: calc(100vh - 24px);
        margin: 12px;
        border-radius: 24px;
    }

    .ns-swa-wizard-hero,
    .ns-swa-wizard-dock-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .ns-swa-wizard-dock-copy {
        flex-basis: auto;
        width: 100%;
    }
}

@media (max-width: 782px) {
    .ns-swa-wizard-topbar,
    .ns-swa-wizard-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .ns-swa-wizard-topbar-actions {
        width: 100%;
        justify-content: space-between;
    }

    .ns-swa-wizard-stage {
        padding: 18px;
    }

    .ns-swa-wizard-diagnostics-terminal {
        min-height: 320px;
        padding: 18px;
    }

    .ns-swa-wizard-diagnostics-line {
        flex-wrap: wrap;
        gap: 6px 10px;
    }

    .ns-swa-wizard-title {
        font-size: clamp(30px, 9vw, 44px); color: #eee;
    }

    .ns-swa-wizard-title--section {
        font-size: clamp(24px, 7vw, 34px); color: #eee;
    }

    .ns-swa-wizard-module-grid,
    .ns-swa-wizard-style-grid {
        grid-template-columns: 1fr;
    }

    .ns-swa-wizard-module-card,
    .ns-swa-wizard-style-card,
    .ns-swa-wizard-dock-card,
    .ns-swa-wizard-launch-card {
        border-radius: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ns-swa-wizard-root,
    .ns-swa-wizard-shell,
    .ns-swa-wizard-button,
    .ns-swa-wizard-module-card,
    .ns-swa-wizard-style-card,
    .ns-swa-wizard-progress-dot,
    .ns-swa-wizard-logo-orb,
    .ns-swa-wizard-finale-text {
        animation: none !important;
        transition: none !important;
    }
}

/* Setup Wizard professional workspace selector. Presentation-only layer. */
.ns-swa-wizard-backdrop {
    background:
        radial-gradient(circle at 18% 12%, rgba(74, 124, 168, 0.12), transparent 34%),
        radial-gradient(circle at 86% 8%, rgba(96, 103, 128, 0.10), transparent 30%),
        linear-gradient(180deg, #080b0f 0%, #0b0f14 52%, #07090d 100%);
}

.ns-swa-wizard-shell {
    background: rgba(10, 14, 19, 0.9);
    border-color: rgba(238, 244, 255, 0.11);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.54),
        inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.ns-swa-wizard-step[data-ns-swa-wizard-step="2"] {
    gap: 22px;
}

.ns-swa-wizard-step[data-ns-swa-wizard-step="2"] .ns-swa-wizard-section-head {
    max-width: 960px;
    gap: 9px;
}

.ns-swa-wizard-step[data-ns-swa-wizard-step="2"] .ns-swa-wizard-title--section {
    max-width: 900px;
    font-size: clamp(29px, 3.1vw, 46px);
    line-height: 1.08;
    font-weight: 620;
    letter-spacing: -0.035em;
    color: #f5f7fb;
}

.ns-swa-wizard-step[data-ns-swa-wizard-step="2"] .ns-swa-wizard-text {
    max-width: 840px;
    color: #b7c0cb;
}

.ns-swa-wizard-module-grid {
    display: flex !important;
    flex-direction: column;
    gap: 28px;
    width: 100%;
}

.ns-swa-wizard-workspace-group {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.ns-swa-wizard-workspace-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #edf2f7;
    font-size: 13px;
    font-weight: 650;
    letter-spacing: 0.11em;
    line-height: 1.2;
    text-transform: uppercase;
}

.ns-swa-wizard-workspace-heading::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #79bff2;
    box-shadow: 0 0 0 4px rgba(121, 191, 242, 0.08);
}

.ns-swa-wizard-workspace-note {
    max-width: 820px;
    margin: -5px 0 4px;
    color: #9ca8b6;
    font-size: 14px;
    line-height: 1.6;
}

.ns-swa-wizard-workspace-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ns-swa-wizard-category-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(260px, 0.34fr) minmax(0, 1fr);
    gap: 22px;
    align-items: stretch;
    width: 100%;
    padding: 19px;
    border-radius: 22px;
    border: 1px solid rgba(230, 238, 250, 0.11);
    background:
        linear-gradient(180deg, rgba(21, 26, 33, 0.96), rgba(12, 16, 22, 0.96));
    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.045);
    overflow: hidden;
}

.ns-swa-wizard-category-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, rgba(121, 191, 242, 0.82), rgba(121, 191, 242, 0.08));
}

.ns-swa-wizard-category-card--professional {
    border-color: rgba(204, 221, 240, 0.16);
    background:
        linear-gradient(180deg, rgba(24, 30, 38, 0.98), rgba(12, 16, 22, 0.98));
}

.ns-swa-wizard-category-identity {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-areas:
        "icon label"
        "summary summary"
        "count count";
    gap: 12px 14px;
    min-width: 0;
    padding: 2px 3px 2px 5px;
}

.ns-swa-wizard-category-icon {
    grid-area: icon;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    color: #e8f2fb;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(230, 238, 250, 0.10);
}

.ns-swa-wizard-category-icon .dashicons {
    width: 23px;
    height: 23px;
    font-size: 23px;
    line-height: 23px;
}

.ns-swa-wizard-category-label {
    grid-area: label;
    min-width: 0;
}

.ns-swa-wizard-category-title {
    margin: 0 0 6px;
    color: #f4f7fb;
    font-size: 17px;
    font-weight: 640;
    line-height: 1.18;
    letter-spacing: 0.04em;
}

.ns-swa-wizard-category-audience,
.ns-swa-wizard-category-summary,
.ns-swa-wizard-category-count {
    margin: 0;
}

.ns-swa-wizard-category-audience {
    color: #d0d8e2;
    font-size: 14px;
    font-weight: 520;
    line-height: 1.35;
}

.ns-swa-wizard-category-summary {
    grid-area: summary;
    color: #a9b4c1;
    font-size: 13px;
    line-height: 1.55;
}

.ns-swa-wizard-category-count {
    grid-area: count;
    display: inline-flex;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    color: #c4ceda;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(230, 238, 250, 0.08);
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ns-swa-wizard-category-apps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    align-content: start;
    min-width: 0;
}

.ns-swa-wizard-module-card {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 76px;
    min-width: 0;
    padding: 13px 14px;
    border-radius: 16px;
    border: 1px solid rgba(230, 238, 250, 0.09);
    background: rgba(7, 10, 14, 0.42);
    box-shadow: none;
    cursor: pointer;
    transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.ns-swa-wizard-module-card:hover {
    transform: translateY(-1px);
    border-color: rgba(230, 238, 250, 0.16);
    background: rgba(18, 23, 30, 0.82);
}

.ns-swa-wizard-module-card.is-enabled {
    border-color: rgba(121, 191, 242, 0.28);
    background: rgba(14, 20, 27, 0.92);
    box-shadow: inset 0 0 0 1px rgba(121, 191, 242, 0.08);
}

.ns-swa-wizard-module-card.is-disabled {
    opacity: 0.78;
}


.ns-swa-wizard-module-card.is-locked-preview {
    cursor: default;
    opacity: 0.62;
    border-color: rgba(230, 238, 250, 0.075);
    background:
        linear-gradient(135deg, rgba(9, 12, 17, 0.72), rgba(18, 22, 29, 0.46));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.ns-swa-wizard-module-card.is-locked-preview:hover {
    transform: none;
    border-color: rgba(230, 238, 250, 0.10);
    background:
        linear-gradient(135deg, rgba(11, 14, 19, 0.78), rgba(20, 24, 31, 0.52));
}

.ns-swa-wizard-module-card.is-locked-preview .ns-swa-wizard-module-title {
    color: #d8e0ea;
}

.ns-swa-wizard-module-card.is-locked-preview .ns-swa-wizard-module-sub {
    color: #7f8b99;
}

.ns-swa-wizard-pro-lock {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    padding: 8px 10px;
    border-radius: 12px;
    border: 1px solid rgba(183, 198, 218, 0.16);
    color: #aeb9c8;
    background: rgba(255, 255, 255, 0.04);
    font-size: 10px;
    font-weight: 720;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.ns-swa-wizard-module-card .ns-swa-wizard-module-copy {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.ns-swa-wizard-module-card .ns-swa-wizard-module-title {
    display: block;
    max-width: 100%;
    color: #f1f4f8;
    font-size: 14px;
    font-weight: 590;
    line-height: 1.3;
    letter-spacing: -0.005em;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    word-break: normal;
}

.ns-swa-wizard-module-card .ns-swa-wizard-module-sub {
    display: block;
    color: #98a4b2;
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.35;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
}

.ns-swa-wizard-module-card .ns-swa-wizard-switch {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: auto;
    height: 30px;
}

.ns-swa-wizard-module-card .ns-swa-wizard-switch-ui {
    width: 52px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid rgba(230, 238, 250, 0.12);
    background: rgba(102, 112, 124, 0.32);
    box-shadow: none;
}

.ns-swa-wizard-module-card .ns-swa-wizard-switch-ui::after {
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: #e9eef4;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.28);
}

.ns-swa-wizard-module-card .ns-swa-wizard-switch input:checked + .ns-swa-wizard-switch-ui {
    background: linear-gradient(135deg, #3478b8, #5fa8dc);
    border-color: rgba(157, 209, 247, 0.42);
    box-shadow: none;
}

.ns-swa-wizard-module-card .ns-swa-wizard-switch input:checked + .ns-swa-wizard-switch-ui::after {
    transform: translateX(22px);
}

.ns-swa-wizard-switch-state {
    min-width: 25px;
    color: #8f9aa7;
    font-size: 11px;
    font-weight: 680;
    line-height: 1;
    letter-spacing: 0.08em;
}

.ns-swa-wizard-module-card.is-enabled .ns-swa-wizard-switch-state {
    color: #cfe8fa;
}

@media (max-width: 1180px) {
    .ns-swa-wizard-category-card {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .ns-swa-wizard-category-identity {
        grid-template-columns: 48px minmax(0, 1fr) auto;
        grid-template-areas:
            "icon label count"
            "summary summary summary";
        align-items: center;
    }
}

@media (max-width: 782px) {
    .ns-swa-wizard-step[data-ns-swa-wizard-step="2"] .ns-swa-wizard-title--section {
        font-size: clamp(25px, 8vw, 34px);
    }

    .ns-swa-wizard-category-card {
        padding: 16px;
        border-radius: 18px;
    }

    .ns-swa-wizard-category-identity {
        grid-template-columns: 42px minmax(0, 1fr);
        grid-template-areas:
            "icon label"
            "summary summary"
            "count count";
        gap: 10px 12px;
    }

    .ns-swa-wizard-category-icon {
        width: 42px;
        height: 42px;
        border-radius: 13px;
    }

    .ns-swa-wizard-category-apps {
        grid-template-columns: 1fr;
    }

    .ns-swa-wizard-module-card {
        align-items: flex-start;
    }
}
