.nfbuts {display:flex; flex-direction:column; min-width:200px; row-gap:16px;}
.nfbuts, .nfbuts * {box-sizing:border-box;}

	.nfbuts .grid {display:flex; flex-direction:column; row-gap:8px;}
		.nfbuts .grid .row {display:flex; flex-direction:row; column-gap:16px;}
			.nfbuts .grid .row .cells {display:flex; flex-direction:row; column-gap:8px; width:100%;}
				.nfbuts .grid .row .cells .row_del {width:100%; padding:8px; cursor:pointer;}
				.nfbuts .grid .row .cells .row_del:after {content:"X"; display:block; text-align:center; font-size:16px; font-weight:600; line-height:100%; color:#dd0000;}

				.nfbuts .grid .row .cells .cell {background:#eeeeee; display:flex; flex-direction:row; column-gap:4px; min-width:120px; width:100%;}
					.nfbuts .grid .row .cells .cell .in {display:grid; grid-template-columns: 80px auto; column-gap:4px; row-gap:4px; padding:4px; width:100%;}
					.nfbuts .grid .row .cells .cell .in > *:nth-child(1) {grid-area: 1/1/3/3;}
						.nfbuts .grid .row .cells .cell .in input {background:none; padding:2px; margin:0px; border:0px;}
						.nfbuts .grid .row .cells .cell .in input:hover {background:#ffffff;}
						.nfbuts .grid .row .cells .cell .in input:focus {background:#ffffff;}

						.nfbuts .grid .row .cells .cell .in select {background:none; padding:2px; margin:0px; border:0px;}
						.nfbuts .grid .row .cells .cell .in select:hover {background:#ffffff;}
						.nfbuts .grid .row .cells .cell .in select:focus {background:#ffffff;}


					.nfbuts .grid .row .cells .cell .cell_del {padding:8px; cursor:pointer;}
					.nfbuts .grid .row .cells .cell .cell_del:after {content:"X"; display:block; text-align:center; font-size:16px; font-weight:600; line-height:100%; color:#dd0000;}


			.nfbuts .grid .row .cell_add {background:#cccccc; padding:8px; cursor:pointer;}
			.nfbuts .grid .row .cell_add:after {content:"+"; display:block; text-align:center; font-size:16px; font-weight:600; line-height:100%;}

	.nfbuts .row_add {background:#cccccc; width:100%; padding:8px; cursor:pointer;}
	.nfbuts .row_add:after {content:"+"; display:block; text-align:center; font-size:16px; font-weight:600; line-height:100%;}