.nsd-field label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-sub);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.nsd-field input:focus {
    border-color: #9ca3af;
    box-shadow: 0 0 0 3px rgba(17,24,39,0.06);
    background: #fff;
}

.nsd-field .description {
    font-size: 12px;
    color: var(--text-sub);
    margin-top: 5px;
    font-style: normal;
}

/*   SECTION LABEL*/
.nsd-section-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-sub);
    text-transform: uppercase;
    margin: 0 0 10px;
}

/*   BENTO GRID*/
.nsd-setting-block-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.nsd-setting-block-wrapper .submit {
    grid-column: 1 / -1;
    background: none;
    border: none;
    box-shadow: none;
    padding: 4px 0 0;
    margin: 0;
}

/* ── Card top row: icon + toggle ── */
.nsd-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 14px;
}

/* ── Icon bubble ── */
.nsd-icon {
    width: 36px;
    height: 36px;
    background: #f3f4f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background var(--transition);
}

.nsd-setting-block:has(input:checked) .nsd-icon {
    background: var(--accent);
}

.nsd-icon svg {
    width: 18px;
    height: 18px;
    stroke: #6b7280;
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke var(--transition);
    overflow: visible;
}

.nsd-setting-block:has(input:checked) .nsd-icon svg {
    stroke: #ffffff;
}

/* ── Card text ── */
.nsd-card-body {
    flex: 1;
}

.nsd-setting-block h2 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 4px;
    line-height: 1.3;
}

.nsd-card-desc {
    font-size: 12px;
    color: var(--text-sub);
    line-height: 1.5;
    margin-bottom: 20px;
}

/* ── Toggle switch ── */
.nsd-switch {
    position: relative;
    display: inline-block;
    flex-shrink: 0;
    margin-top: 2px;
}

.nsd-switch input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.nsd-switch label {
    display: block;
    width: 38px;
    height: 21px;
    background: var(--toggle-off);
    border-radius: 11px;
    cursor: pointer;
    position: relative;
    transition: background var(--transition);
}